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!
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
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.
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