Forums
-
- Forum
- Posts
-
- Installation
- 28,528
- Troubleshooting
- 62,959
- Themes
- 10,453
- Plugins
- 15,405
- Requests & Feedback
- 15,045
- Showcase
- 3,250
-
no, we can carry on here !
I have to say I’m not sure whether it can take two, the codex seems to think it can be passed 2in the examples.
https://codex.wordpress.org/Function_Reference/add_shortcode
However you are passing an array $attr to the function, so why cant you just pass two elemenstb within that array
$attr[‘id’]
and
$attr[‘id2’]