Viewing 1 replies (of 1 total)
  • Plugin Author Eric Amundson

    (@sewmyheadon)

    Howdy sdjain,

    Easy peasy. The reason for this is simply styles in your CSS that rely on markup (HTML) that’s in your default templates to format the posts.

    By default, the loop we’re using in Posts in Page doesn’t contain all of the same classes and IDs that your site is using to apply styles to posts. So here’s what you do:

    1. Follow the instructions on this page in the “How do I change the output template” section to copy the template to your main theme directory.
    2. Once you have copied this template file into your theme, you can customize it.
    3. The specific change you’ll need to make is to add a class to Line 5 of the posts_loop_template.php file (or whatever you rename it to be). You’ll want to add the class post-article to line # 5 like so

    Current line #5 of posts_loop_template:

    <div class="post hentry ivycat-post">

    Change it to:

    <div class="post hentry ivycat-post post-article">

    Tried this out using Firebug/Chrome Dev tools and it worked like a charm. 🙂

    Hope this helps.
    Eric

Viewing 1 replies (of 1 total)

The topic ‘short code for displaying particular category not formatting’ is closed to new replies.