Multiple shortcodes on one page?
-
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
- The topic ‘Multiple shortcodes on one page?’ is closed to new replies.