You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use multiple of the same shortcode in the same article (thanks for this repo, by the way, it's saved me a ton of time). Of course we need unique ids for the elements:
add_shortcode("SHORTCODE_CODE", function ($attributes, $content) {
$element_num = rand(1000,2000);
I'm using that variable to assign the ids. However, how do I pass this number to my code, i.e. my sveltekit app? Otherwise I can't get the attributes ...
The text was updated successfully, but these errors were encountered:
I'm trying to use multiple of the same shortcode in the same article (thanks for this repo, by the way, it's saved me a ton of time). Of course we need unique ids for the elements:
I'm using that variable to assign the ids. However, how do I pass this number to my code, i.e. my sveltekit app? Otherwise I can't get the attributes ...
The text was updated successfully, but these errors were encountered: