Viewing 11 replies - 16 through 26 (of 26 total)
  • Try simply deactivating them first. Deactivate both, see what happens. If the problem is solved, then activate one and see what happens. If the problem remains solved, then you know it’s probably the other one….

    Do you think you can help?

    I wouldn’t have jumped in if I didn’t. ;/

    We can leave the plugins as is. I don’t like to play with the light switch when I don’t know where it leads to (actually I do, but only if it’s *my* light switch…).

    Let me look over your template and category posts list again.

    Note that with vkaryl’s suggestion, if anything on your site seems to ‘break’, you can always turn the plugins back on.

    Thread Starter davedelaney2006

    (@davedelaney2006)

    Thanks.

    Thread Starter davedelaney2006

    (@davedelaney2006)

    When I deactivated DC nicer archive, and hit one of the categories I saw this error:

    Archive for the ‘Podcast’ Category
    Fatal error: Call to undefined function cat_header_link() in C:\Sites\Single9\davemadethis\webroot\twoboobs\wp-content\themes\two-boobs-and-a-baby\category.php on line 9

    Dave

    Here’s my mod of your category.php template:

    https://wordpress.pastebin.ca/264282

    Main changes:

    1. query_posts() used to initialize the posts loop.

    <?php query_posts("cat=$cat&orderby=date&order=ASC&showposts=-1"); ?>

    That sets category to the current one ($cat being a global variable in WordPress holding the current category ID in a category query), ‘orderby’ to date in ASCending order (earliest posts first), and all posts in the category should be displayed. The ‘orderby’ structured here is based on my examination of your posts, where it appears you merely want to sort in the order they’re posted, but first to last instead of typical blog style.

    2. Changed out the loop structure to the standard WordPress one:

    <?php while(have_posts()) : the_post(); ?>

    3. Dropped the is_full() test and loading of the full.php template. I’ve no idea what these are intended for, so it could be breaking something. Break not, want not…

    Before testing this version I’d recommend making a backup copy of your present category.php. Always a smart thing.

    Thread Starter davedelaney2006

    (@davedelaney2006)

    First off, let me just say THANK YOU so much for your help on this. The Categories are now perfect in the blog.
    I really truly appreciate your help with this. Thanks a million.

    I have a couple of notes, but I’m not as concerned with this:
    – they are still not in order in the admin section.
    – they are still not in order in iTunes: itpc://feeds.feedburner.com/TwoBoobsAndABaby

    If you can still help me sort those two issues out, that would be awesome. But I understand if you’ve had enough of this too.

    Thanks either way!
    Dave

    Actually, I just looked at my feed, and the order of their appearance in the feed is wrong too: https://www.davemadethis.com/twoboobs/wp-rss2.php
    I believe this is being caused by the order of them in the ADMIN section.

    So if I can figure out how to get them in the correct order in the Admin section, it should appear properly in the feed.

    hmmm…

    I believe this is being caused by the order of them in the ADMIN section.

    It’s that darn old default blog order, which pops up all over the place. I’m not sure I can suggest a solution for tricking them into the sort order you want for the admin section, but for the syndication feed let me point to a plugin I brought up earlier:

    https://mattread.com/projects/wp-plugins/custom-query-string-plugin/

    With the plugin you can set up a query of ‘is_feed’ with -1 (all) for posts display, and orderby of ‘date’ ‘ASC’ (ascending).

    Note that will affect all feeds (both the main ones as well as those for your categories). If that’s a little too much I can probably whip up a quick plugin that does this for just category feeds. But again, I’m not sure if the admin section can be played with.

    Thread Starter davedelaney2006

    (@davedelaney2006)

    Thanks. I have 2 categories on there:
    1. podcast
    2. from the boobs
    From the boobs: are simply posts without podcasts.

    I’m not as concerned about those appearing in the feeds. It’s the podcast episodes that are most important.

    Perhaps I’ll give that plug-in a whirl and see how it goes. I’ll let ya know.

    Thanks again.
    Dave

    Thread Starter davedelaney2006

    (@davedelaney2006)

    Well I implemented and set up the plug-in as you explained, but I haven’t seen any change.

    The order is still weird.
    Screen shot here: https://www.davemadethis.com/twoboobs/plugin.jpg

    Feed here: https://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.davemadethis.com%2Ftwoboobs%2Fwp-rss2.php

    I’m wondering if I may be missing something with the plug-in. Hmmm…

    Thread Starter davedelaney2006

    (@davedelaney2006)

    I’m hoping this isn’t a dead topic. I really am stuck here.
    My podcast feed order is scrambled and new episodes aren’t being picked up by the feed.

    I know this is an RSS issue, but I believe it is being caused by something in WordPress.

    Please help.
    Thanks.
    Dave

    Thread Starter davedelaney2006

    (@davedelaney2006)

    Ha!
    I’m thrilled to say this topic is closed. I have solved the issue.

    First off, let me please thank Kafkaesqui for his time and patience working with me on this. Thank you!

    The plug-in he suggested did correct my problems with how the category was listed. That’s fine now.

    The feed issues were more complex. It took me a lot of time of testing to realize that it was another plug-in messing it up: DC nicer archive version: 1.1

    The moral of the story here folks is to test test test when you implement a new plug-in. And quite frankly, if your blog ain’t broken, don’t fix it. You’ll be better off that way.

    Cheers everyone.
    Dave

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Categories in wrong order – ID’ is closed to new replies.