• Basically, I’m looking to have a random picture generated on the left side of the page and a random quotation generated on the right (I’m using Divi theme). The content randomizer allows me to assign categories to everything – e.g. images vs text.

    [elm_random] is the code that I use to display items from the randomizer.

    And the documentation reads: Display randomizer posts. Arguments: Type – text/image/video, Category – all or a specific category. Arguments are not required. Default type – text, category – all.

    Any idea how to use these category arguments so I can do what I explain above?

    Thanks!

Viewing 1 replies (of 1 total)
  • Generally, arguments for shortcodes would look like this:

    [elm_random type="video" category="selected_category"]

    As you’re using a commercial theme, you’ll need to contact the author/vendor for any more support than that as we don’t have access to the code used to create that shortcode, so we can’t see how it all works.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding arguments to shortcode?’ is closed to new replies.