WordPress.org

Ready to get started?Download WordPress

Forums

Posts in Page
[resolved] Posts from Tags (9 posts)

  1. AllanWoody5871
    Member
    Posted 1 year ago #

    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/

  2. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    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

  3. rhettobis
    Member
    Posted 1 year ago #

    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

  4. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    rhettobis,

    I'm checking into this on my end.

    What error are you seeing?

    Eric

  5. rhettobis
    Member
    Posted 1 year ago #

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

  6. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    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

  7. rhettobis
    Member
    Posted 1 year ago #

    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.

  8. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Right on; glad to hear you got it working.

    Have a great day!

  9. anbenham
    Member
    Posted 1 year ago #

    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)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags