Support » Plugin: Posts in Page » Post not showing in page

  • Hello,

    I’ve tried to insert a post into a page using both this:

    [ic_add_posts category=’category-slug’]

    and this:

    [ic_add_posts tag=’tag-slug’]

    (but of course with my own category and tag names) and neither one is working for me.

    I went to the page I wanted the post to show under, entered the shortcodes above with my custom category and tag names, clicked update and nothing happened.

    What am I missing?

    https://wordpress.org/plugins/posts-in-page/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Patrick Jackson

    (@pjackson1972)

    Hi kristifof,

    Have you looked at your shortcodes in Text mode in the visual editor? Sometimes when you add a shortcode in Visual mode (usually when you paste it), extra characters can be inserted behind the scenes and cause errors. Viewing in text mode makes those characters visible, and you can fix the shortcode.

    If that doesn’t help, can you provide a link to the page you’re talking about? Maybe I’ll see something in the HTML that will help.

    Hope that helps!

    Thread Starter kristifof

    (@kristifof)

    Hi Patrick,

    I didn’t see any difference in that part of the code when I switched to text mode, so I’m not sure what the problem is.

    Here is one of the pages: http://www.findingourfeet.org/faithful/

    I’m hoping to have posts for that section show below the introduction to that section or to create a page just for posts that belong to that section and I’m not sure how to do either besides just adding a link on a page.

    Thank you so much for your help!

    Kristi

    Hi, I seem to be having the same issue, nothing shows on the page. This is the code I have used and checked both text and visual

    [ic_add_posts category=’category-nutrition’]

    both with and without the category- and my page has no post at all.

    this is the page I am wanting my post to appear on.

    http://www.pozinoz.com.au/?page_id=81

    thanks

    Alli

    Plugin Contributor Patrick Jackson

    (@pjackson1972)

    Hi Kristi,

    I looked at the page you posted, and didn’t see any evidence that the shortcode is running on it, so that’s a piece of the puzzle.

    If the shortcode is used, but doesn’t find any posts to list, then there are still some tags inserted into the page that look like the following.

    <div class="post hentry ivycat-post">
        <code>
            <span class="pip-not-found"></span>
        </code>
    </div>

    So, unless the shortcode wasn’t used on that page after all, then my next suspicion would be a theme or plugin conflict. Sometimes there can be code in your theme or another plugin that interferes with this one.

    You can test for this by turning off all other plugins, switching to a default theme (such as twenty fourteen, or whichever came with your version of WordPress), and seeing if the issue persists.

    Plugin Contributor Patrick Jackson

    (@pjackson1972)

    pozinoz, I looked at the link you posted, and would give you the same advice. I didn’t see evidence of the shortcode working on that page.

    Also, when you’re using the tag or category attributes, you only need to use the slug as the value. You don’t need to prepend a “category-” or anything unless that’s actually part of the slug.

    You can find the slug by navigating to Posts->Tags or Posts->Categories, and looking in the table. You should be able to simply copy the value in the Slug column and paste it in to the shortcode.

    Hi Patrick,

    I went back to edit it and the code had just up and disappeared.

    I followed your directions and made a specific slug for that post and it worked.. thank you very much

    Now I will read through the other posts and see how to make it remove the leave a comment link 🙂

    Alli

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post not showing in page’ is closed to new replies.