Support » Plugin: Content Randomizer » Shortcode to display a category

  • Resolved April

    (@virtualgirlnextdoor)


    I found this shortcode in the documentation on your site: elm_random

    That shortcode displays all of the random content I’ve created. What shortcode do I need to display content from only one category?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dominykas

    (@dominykasgel)

    Hi April,

    You should use the same shortcode, but you need to add the ID of the category to category=”” attribute.

    Example
    [elm_random category=”1″]

    Default is category=”all” (It gets all records from all categories).

    Do you know how to get the ID of the category for Content Randomizer?

    Plugin Author Dominykas

    (@dominykasgel)

    Closing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode to display a category’ is closed to new replies.