Support » Plugin: Content Randomizer » Multiple shortcodes on one page?

  • Resolved sneader

    (@sneader)


    First, thank you for creating and maintaining this plugin. I have tried MANY random text plugins over the years and they either don’t work, force the title to be used, or have been abandoned and don’t work with PHP 7. So, thanks!

    I have three text boxes on a page and I want to put random text into each one. To make sure that no text is duplicated, I have created three Categories (Box 1, Box 2, Box 3). I have assigned various texts to these three categories and I have used the shortcode to pull text from each category into the respective box:

    Text box 1: [elm_random category=”5″]
    Text box 2: [elm_random category=”7″]
    Text box 3: [elm_random category=”9″]

    Unfortunately, while the short code brings in texts, it is not respecting the category. Each short code is pulling texts from any category.

    Am I finding the category number correctly? I am going to Randomizer > Categories and hovering my mouse over each category and seeing a TagID — is that the category number?

    Any other ideas?

    – Scott

Viewing 1 replies (of 1 total)
  • Thread Starter sneader

    (@sneader)

    I solved my own problem, but maybe this will help others.

    I got the shortcode from one of your other posts here in Support, and pasted it into the WP Editor. It carried over the ‘smart quotes’. I went into Text mode in the WP editor and changed the quotes to normal double quotes and now it’s working great!

    – Scott

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple shortcodes on one page?’ is closed to new replies.