Forum Replies Created

Viewing 14 replies - 46 through 59 (of 59 total)
  • narchives.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?

    I 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 posts

    Sounds 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 the mod_rewrite rule so that an esoteric URI like https://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.

    I’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. ??

    You 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

    Looks 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.

    I 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/5662

    Forum: Plugins
    In reply to: Acronym Replacer

    Valid 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.

    1) 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.

    atmasphere,
    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.

    When 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/4993

    Well, 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 the markys_get_links_list function instead of the hacked get_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.

    I’m an id10t. It was the stylesheet. Thanks for the great plugins MtDewVirus.

    Sorry 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?

Viewing 14 replies - 46 through 59 (of 59 total)