WordPress.org

Ready to get started?Download WordPress

Forums

TPG Get Posts
[resolved] Selecting from a category (4 posts)

  1. hf.zakaria
    Member
    Posted 2 years ago #

    when selecting from a particular category it ignore numberofposts but when not selecting category name or number it works perfectly...

    hope my poor english makes sense

    http://wordpress.org/extend/plugins/tpg-get-posts/

  2. cswaim
    Member
    Plugin Author

    Posted 2 years ago #

    Will you post the short code you are using so I can test with the same parameters that are causing the problem.

    I will look at this after the shortcode is posted.

    thanks

  3. hf.zakaria
    Member
    Posted 2 years ago #

    without category [tpg_get_posts numberposts=1 more_link_text=" " show_meta="false" show_excerpt="true" fields="post_title, post_content"]

    with content doesnt wrk...[tpg_get_posts numberposts=1 more_link_text=" " show_meta="false" show_excerpt="true" fields="post_title, post_content" category_name="news"]
    or
    [tpg_get_posts numberposts=1 more_link_text=" " show_meta="false" show_excerpt="true" fields="post_title, post_content" category=3]
    ^^^doesnt wrk either

  4. cswaim
    Member
    Plugin Author

    Posted 2 years ago #

    hf.zakaria

    I have set up a test case on my system and have run through several cases with using the numberposts option. In all cases it works on my system.

    So....try this
    (1) check the short-code in html view and make sure there are not embedded characters in the short-code text. The visual editor will add code esp if something is copied.

    sometimes it is best to delete the short-code and re-enter

    (2) verify the category_name and id are correct and have posts

    then I am at a loss. I am on WP 3.3.2 and using the suffusion or Twenty-ten themes for my test environments.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic