• Resolved tmanx4wp

    (@tmanx4wp)


    hello,
    this is my short code, however the posts are always full length and there are always 5 posts no matter what number i use and it pulls in the last 5 posts not the specified category. please advise thank you.

    [tpg_get_posts cat=”jeweler” show_excerpt=250 fields=”title,byline,content,metadata” posts_per_page=21
    field_classes=”post_title=tpg-title-class,post_content=tpg-content-class,post_metadata=tpg-metadata-class, post_byline=tpg-byline-class”]

    https://www.ads-software.com/plugins/tpg-get-posts/

Viewing 1 replies (of 1 total)
  • Plugin Author Criss Swaim

    (@cswaim)

    from your command: show_excerpt=250

    from the doc:
    show_excerpt
    This option show_excerpt=”true” will use the custom excerpt, if it exists, instead of the post content. It will use the entire excerpt entry. Default is “false”.

    start simple and only add options as they are needed:

    [tpg_get_posts cat="jeweler" show_excerpt=true posts_per_page=21]

    also, be sure to read the doc to understand the difference between numberposts and posts_per_page.

Viewing 1 replies (of 1 total)
  • The topic ‘short code specs not working’ is closed to new replies.