Support » Plugins and Hacks » Articles plugin – failure to display categories/articles

Articles plugin – failure to display categories/articles

  • I’ve run into a problem using the “articles” plugin from Alex King, and I’m hoping someone can help me out. This is on WP 2.3 with the latest version of the plugin. I have done an upgrade on my WP install, as well as a complete wipe and reinstall to troubleshoot this issue.

    As long as I leave all my categories alone, and never delete or modify them, the plugin works as expected. As soon as I delete a category, I get some major weirdness:

    1. Categories fail to display. For example, I have a category named “My Lists”, with one post in it containing the article property. That category never shows up on my articles listing. I can tag articles with multiple categories (My Lists and uncategorized) and the article will show up under any added categories EXCEPT “My Lists” on the articles page. This is not limited to a single category.

    2. Articles show up under the wrong category. I have seen articles that are not a member of a specific category show up under that category.

    Any ideas, or any additional information I can provide?

Viewing 15 replies - 1 through 15 (of 28 total)
  • I have exactly the same problem. The plugin was working beautifully before I upgraded to 2.3.

    I have tags and categories.

    When I publish the page where I want the articles to be listed, some show up and some don’t. The ones that are there are listed under the wrong heading.

    Alex said the plugin was ready for 2.3. It obviously isn’t. I tried uninstalling and reinstalling it after adding tags to every post . . . no difference.

    I’m baffled and any assistance would be appreciated because I really like this plugin and the list it generates.


    Alex King


    Funny, the person who started this thread contacted me again and said that he no longer has any problems…

    I can’t reproduce this issue and I’ve never seen it, so I don’t know what to tell you.

    I was actually going to close this issue tonight. I can’t tell you what fixed the issue, but I can tell you what I did that caused it to no longer happen.

    Initially, I deleted all of my categories, wiped my database and restored everything from a WP XML dump. This did not have any effect. As soon as I deleted a new category, it refused to show up in the article list.

    After an inadvertent deletion of my backup file and a second wipe of the database, I found a copy of a SQL dump generated by the WP Automatic Upgrade plugin (which I have not reinstalled), and restored it via my SQL admin tool. I then went through the upgrade process again, and reloaded all my plugins. The problem has not cropped up since.

    Essentially, I:

    1. Wiped the database
    2. deleted my entire web root
    3. Installed 2.2 series
    4. Restored from a SQL dump, NOT a WP backup
    5. Resinstalled all plugins
    6. Configured site back to normal.

    It’s a royal PITA, but at least the problem hasn’t shown up again. I’ve tested every scenario that I could think of to make it break, and it just doesn’t.


    I have the same issues on a completely new, clean install of 2.3. A new database was created for it and Articles is the only plugin. Alex, I will contact you privately, so that you can see an example of the problem.



    I am running WP 2.3, no tags just categories. I had a stray link category that meant my term ID’s didn’t exactly match the taxonomy ID’s.

    After a little digging, I think the join to find the categories may be incorrect. Here is a patch that fixed it for me.

    Don’t bother telling me this isn’t pure mySQL syntax. I work for Oracle and that’s the way I write my SQL joins 🙂

    Hope this helps.

    $ diff articles.php.orig articles.php
    < FROM $wpdb->term_relationships
    < LEFT JOIN $wpdb->terms
    < ON $wpdb->term_relationships.term_taxonomy_id = $wpdb->terms.term_id
    < LEFT JOIN $wpdb->term_taxonomy
    < ON $wpdb->term_taxonomy.term_id = $wpdb->terms.term_id
    < WHERE $wpdb->term_relationships.object_id IN (“.implode(‘,’, $post_ids).”)

    > FROM $wpdb->term_relationships, $wpdb->terms, $wpdb->term_taxonomy
    > WHERE $wpdb->term_relationships.term_taxonomy_id = $wpdb->term_taxonomy.term_taxonomy_id
    > AND $wpdb->term_taxonomy.term_id = $wpdb->terms.term_id
    > AND $wpdb->term_relationships.object_id IN (“.implode(‘,’, $post_ids).”)

    Unfortunately, applying this SQL change made no difference for me. I still have posts appearing in the wrong categories and posts added to a new category not appearing at all.

    I am also getting an error when switching between one column and two column display, on the Options|Articles page. When I click the Update Articles Setting button, it returns the error “Cannot load articles.php”. However, the column format of the articles page does change.

    This plugin does exactly what I need (and I have not found any others that do), so I really hope that these issues can be resolved.

    I would love it if someone would explain the problem to me in ENGLISH. I have no idea what any of those explanations mean.



    I tagged a blog post as an article by adding the custom field ‘article’. The original blog post was posted in the categories ‘UK’ (ID=32) and ‘Humour’ (ID=43).

    The Articles page was displayed and included the blog post. However, the categories associated with the blog post were incorrectly displayed on the articles pages as ‘Gadget’ (ID=31) and ‘Podcast’ (ID=42) in my case.



    I am having the same problem… this is on a totally clean install of the new WP version.

    When I add a post to my articles page it is adding a heading from random (it seems) from my cat list. Since this was a clean install I am using the tags more than the cats but it still shows up wrong?

    I would love to use this plugin, it looks great, but I can’t with headings that look this bad 🙂

    Well, it happened again – the list broke. I edited a post which was showing up as an article, added a category, assigned the post to the new category, and removed the post from the previously assigned category.

    The new category will not show up in the articles list. If I assign the article its original category, it will show up on the articles page as before, but only in the 1st category. Nothing assigned to the new category will show up on the articles page.

    the article plugin was working until WP 2.3

    both methods of inserting articles aren’t working
    the token or the php code, no articles are showing up

    something i’ve been finding out, the plugin works on one wp 2.3 install but not another, i think it has to do with old plugins leaving their junk in the database, am cleaning it out but have yet to figure out what the heck is preventing the plugin from working

    I had this problem — posts showing up in the wrong categories. Andycowl’s fix worked for me!

    Andy Cowl’s suggested fix has worked for me as well.

    I was just having all kinds of strange issues with certain categories working and others wouldn’t show on my article page. Andycowls fix worked here too.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Articles plugin – failure to display categories/articles’ is closed to new replies.