How can we help?

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

Home Forums Poka v2 support Latest News shortcode

Tagged: 

This topic contains 4 replies, has 2 voices, and was last updated by  admin 3 months, 2 weeks ago.

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 3 months, 2 weeks 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.

WordPress 5.0 is released with the new Gutenberg editor. Check out here about the compatibility with Poka theme!