junesix
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Category-based Headline Pagenarchives.php is a pretty powerful filter. Are you looking for something that would let you output, say, the 2 most recent posts per category onto a page?
Forum: Requests and Feedback
In reply to: Put the latest version on the home pageI agree. I think it’s a bit confusing when there’s essentially 3 different packages you could get at any time (stable, RC, nightlies) but they don’t all appear on the same page and the difference between them isn’t spelled out. I’m not saying there shouldn’t be the 3 packages since that’s the nature of WP, but there should be links and descriptions for each of them.
Forum: Plugins
In reply to: members only postsSounds like you’d need something that involves a cookie. The session cookie is what allows you to access the WP interface when you log in correctly and keeps you out when the login/pass is incorrect. Theoretically you could use the cookie’s presence as an
if
condition for hiding/unhiding a certain category of posts (“members only”). A bit complex and beyond my scope…
I can offer an alternative though… You could create a new category of posts and hide it from index.php, date archives, category archives, and category list. Refer to the second to last post in this thread:
https://www.ads-software.com/support/5/5687
In your case, rather than creating an About page, you’d be creating a Members Only page under a “Members” category. Then modify themod_rewrite
rule so that an esoteric URI likehttps://yourdomain.com/membersonlyyou'llneverguessthis12345/
would redirect to an archive of that Members category. If you ever decide to change a post from Members to public, just change the category and it should disappear from the Members page onto the front page.
Let me know if you need help with the instructions if you decide to go with this.Forum: Requests and Feedback
In reply to: Links List ( a plea for proper category heading taI’m not entirely familiar with how the id and classes should be set up for these lists but format the example you gave in the first post and I’ll see if I can come up with some hacked code first (for early adopters) and then try my hand at a plugin. marky, you’re more than welcome to continue working on a plugin as well. ??
Forum: Fixing WordPress
In reply to: Omission of a categoryYou can only exclude one category of posts using the
$cat = -X
. With multiple values, only the first or last one is accepted, I forgot which. I haven’t seen a way around that yet.
As for the categories lists, if you’re using WP1.2, there’s a<?php wp_list_cats("exclude=X"); ?>
function that allows you to build a list of categories with exclusions. Just substitute X for the category ID. And this parameter does take multiple values, ie.exclude=1, 2, 3
Forum: Fixing WordPress
In reply to: Timestamp, logout and category bugs in RC1Looks like someone figured out a way to apply the posts per page setting to all pages, including archives.
https://www.ads-software.com/support/6/5670
Anon, you might want to check this out.Forum: Fixing WordPress
In reply to: Timestamp, logout and category bugs in RC1I apologize if I sounded criticizing, I didn’t mean it that way. I just wanted to point out that by default most blogs organize categories the same as date-based archives, that is, by listing all the posts in that category/month. The option in the admin panel for restricting the number of posts affects the index page only. Granted, it would be nice if there was an option to set the max posts value in the admin panel to affect just the index or to all archives but that hasn’t been implemented. But in that respect, it’s more of a feature/plugin/hack, rather than a bug, IMHO.
If you want to limit the number of posts, I suggest creating a separate template for category archives, and using the recent posts hack posted here:
https://www.ads-software.com/support/3/5662Forum: Plugins
In reply to: Acronym ReplacerValid complaints but I think the acronymizer was made to be simple. You should open up the source and edit the acronyms. Myself, I removed obvious acronyms and acronyms that might conflict with other words. The whole point of using an acronym replacer is to clarify acronyms for readers who might not know what you’re referring to. I think pretty much everyone knows what a CD is.. turning it into an acronym on a blog is just a hover nuisance, IMHO.
Forum: Fixing WordPress
In reply to: Timestamp, logout and category bugs in RC11) I think that’s how archives work. When you go to a category’s archive, it lists all the posts in that category. The alternative would be to implement pagination.
Forum: Fixing WordPress
In reply to: Can’t figure this out… (next/prev and single poatmasphere,
I visited your blog to see the Next/Previous implementation. It seemed to have turned out very nicely. Congrats on a beautiful WP blog.
I hope I’m not being too forward, but may I suggest you contain the links in a styled<div>
and use a smaller font size in the stylesheet? I noticed in a number of posts, the post titles used for Next/Previous spill into multiple lines.Forum: Installing WordPress
In reply to: When trying to access my InstallationWhen you edited the wp-config.php file before installation, it may have inserted an extra space before
<? php
tag or a space after?>
. Try re-uploading the wp files and running install again.
References:
https://www.ads-software.com/support/3/4769
https://www.ads-software.com/support/2/4993Forum: Requests and Feedback
In reply to: Link Category Output CustomizationWell, the best way to go about making it upgrade-proof it is to make it a plugin. To do that, I think you would copy that function into a new .php file, give it a new function name like
markys_get_links_list
, make the edits, and save it to the plugins directory. Then in your files, you would call themarkys_get_links_list
function instead of the hackedget_links_list
function.
I haven’t taken the time to read the WP plugins documentation but I think that’s really all there is to making a new plugin, short of credits, authorship, description, comments, etc.
Ideally, the WP dev team would catch on and rewrite the links functions to accept ‘before’ and ‘after’ parameters like other WP functions.Forum: Plugins
In reply to: Recent comments w/ portion of commentI’m an id10t. It was the stylesheet. Thanks for the great plugins MtDewVirus.
Forum: Plugins
In reply to: Recent comments w/ portion of commentSorry about resurrecting an older thread but I was wondering why all the post titles are stored in lowercase. Everything works fine except when I use $comment->post_title, the title is displayed in all lowercase. Something I missed?