• Hi.

    I’m new to word press and saw this plugin and am hoping it’ll do what I think it will do.

    I’m looking to display posts on a paged that are of a specific category, ie catA posts only go on catA page, catB on catB page etc etc. Is this plugin capable of this?

    I’ve installed the plugin. Set catA page to catA category on the drop down list and so on.

    I am using the responsive theme. It has no category.php file in the theme.

    I created one, and pasted in the following line of code:

    <?php do_shortcode('[showauto]'); ?>

    But it doesn’t display catA in catA page and catB in catB page. Where am I going wrong??


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author swergroup


    Hi TheJamesPorter

    I can’t see your theme’s code so I can only guess: it should have an archive.php template. If so, just duplicate it into category.php and place the shortcode somewhere between title and content, as you can see in this thread. This way the shortcode should work.

    I suggest you to duplicate archive.php because it usually works as a “catch-all” archive template, as you can see in the WP Template Hierarchy.

    Hope it helps!

    I found and duplicated archive.php to category.php.

    I’ve added the line:
    <?php do_shortcode('[showauto]'); ?>

    In the early part of it as shown here:

    <?php get_header(); ?>
    <?php do_shortcode('[showauto]'); ?>
            <div id="content-archive" class="grid col-620">
    <?php if (have_posts()) : ?>
            <?php $options = get_option('responsive_theme_options'); ?>
    		<?php if ($options['breadcrumb'] == 0): ?>
    		<?php echo responsive_breadcrumb_lists(); ?>

    But still no success. I have 2 pages that are set to blog template (full posts), one is set to catA the other is also a blog template (full posts) and set to catB. I have made several posts using either catA or catB, however, they turn up on both catA and catB pages.

    Where am I going wrong??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘n00b help’ is closed to new replies.