How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support Latest News shortcode

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2377
    Jon Gordon
    Participant

    Even with the cat=”” filter being used the latest news shortcode is displaying all posts, even draft ones. Any ideas how to fix?

    Also, the text shown is including shortcode text so users will see it.

    • This topic was modified 5 years, 8 months ago by Jon Gordon. Reason: More info
    #2383
    admin
    Keymaster

    Hi!

    For the the parameter “cat” in order to work you must pass the category ID. For example cat=6
    Not the category name or the category slug.

    About the short description of each post by default is used a truncated version of the content but if your are using shortcodes or iframes in this text you can use the excerpt instead. You can use the excerpt with this parameter : descr_excerpt=”true”.

    Also the length of this description can be changed with the parameter “descr_length” (default:15 words)

    For a complete list of the specs for the shortcodes of the theme visit: https://pokatheme.com/documentation-poka-theme-v2/#sect5

    #2386
    Jon Gordon
    Participant

    Thanks very much for your help!! 🙂

    #2407
    Jon Gordon
    Participant

    Is it possible to include multiple category IDs in the “cat” filter?

    Thanks

    #2411
    admin
    Keymaster

    Yes you can add multiple categories by separating them with comma.
    For example cat=”2,6,17,38″

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.