WordPress.org

Support

Support » Plugins and Hacks » Posts in Page » [Resolved] [Plugin: Posts in Page] Posts from Tags

[Resolved] [Plugin: Posts in Page] Posts from Tags

  • Hi,

    I just wanted to see how to add posts to a page with a specific Tag. For instance my website covers video games, so the way I want to use the plugin is to show posts on a page for a specific title that a relevant to that title. For example, the Halo 4 page will display posts that have something to do with Halo 4.

    I’ve combed through the short codes and I don’t see how to do this yet. Please let me know if this is a possibility.

    -Russ.

    http://wordpress.org/extend/plugins/posts-in-page/

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

    @sewmyheadon

    Volunteer Moderator

    Great catch, Russ.

    You can use tags, but we neglected to give an example. I’ll update the plugin readme.txt right away to show this, but in the meantime, here’s how you do it:

    [ic_add_posts tag='cooltag1']

    . . . where ‘cooltag1’ is the slug of the tag you’d like to pull into the page.

    Hope that helps.

    Eric

    I have an issue where when using the shortcode above to display posts by tag onto a page it gives me an error. I am running 3.5 so that may or may not be an issue. Any ideas? I have not edited any page template with code and am trying to use shortcodes to display with the plugin activated

    Plugin Author Eric Amundson

    @sewmyheadon

    Volunteer Moderator

    rhettobis,

    I’m checking into this on my end.

    What error are you seeing?

    Eric

    My mistake, I had an input error on my tag slug adn it caused it to malfunction.

    Plugin Author Eric Amundson

    @sewmyheadon

    Volunteer Moderator

    rhettobis,

    I ran tests here with WordPress 3.5 and the Posts in Page plugin and everything seems to be working fine.

    I have a tag called cooltag1 and am able to copy and paste the shortcode from earlier in this post directly into a page and it’s pulling them in fine.

    Questions:

    1. I’d like to know what error you’re seeing.
    2. I’m also interested to know if it was working for you on 3.4.2 and then stopped after you upgraded to 3.5
    3. Finally, depending on the site, you may try disabling all other plugins and seeing if one might be interfering in some way
    4. Let me know what you find out.

      Eric

    I started on 3.5 and it was my issue, it works great!!! http://thelibertycaucus.com/watchdog/slc to see it working if you need to.

    Plugin Author Eric Amundson

    @sewmyheadon

    Volunteer Moderator

    Right on; glad to hear you got it working.

    Have a great day!

    Hi,

    when I use multiple tags I get bthe following error:

    Warning: preg_match() expects parameter 2 to be string, array given in /mnt/web1/a3/10/51938310/htdocs/WordPress_01/wp-includes/query.php on line 1793

    Warning: preg_match() expects parameter 2 to be string, array given in /mnt/web1/a3/10/51938310/htdocs/WordPress_01/wp-includes/formatting.php on line 609

    The posts are not shown.

    Here ist my shortcode:

    [ic_add_posts tag=’Studium,Wissenschaft’]

    I am using WordPress 3.5.1 (just updated it, and that did not help)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: Posts in Page] Posts from Tags’ is closed to new replies.
Skip to toolbar