(sorry, I've posted this thread into a wrong section. Re-posting it here).
Hello.
I'm using WebRotate's Wordpress plugin and I'm going to use expanded mode of shortcode:
[wr360expand name="view4" browserfs="false" config="url-of-the-viewer-config.xml"]thumbnail or text[/wr360expand]
And instead of adding just a picture for thumbnail, in functions.php of Wordpress theme I created my custom shortcode [spin360_icon] (with pre-adjusted css) which I want to add to "thumbnail or text" of your shortcode. However Wordpress doesn't allow to use shortcode inside of shortcode, it requires to create so called "nested shortcode" which means that I have to include my shortcode [spin360_icon] into the php code of your one. In plugin folder I've found the file class-wr360-shortcodes.php with wr360expand shortcode - what should I change in there to include my [spin360_icon] code so Wordpress would allow me to use it as a thumbnail inside of your shortcode [wr360expand]?
Thanks.
Kind regards,
Oleksiy Kardash
Hello.
I'm using WebRotate's Wordpress plugin and I'm going to use expanded mode of shortcode:
[wr360expand name="view4" browserfs="false" config="url-of-the-viewer-config.xml"]thumbnail or text[/wr360expand]
And instead of adding just a picture for thumbnail, in functions.php of Wordpress theme I created my custom shortcode [spin360_icon] (with pre-adjusted css) which I want to add to "thumbnail or text" of your shortcode. However Wordpress doesn't allow to use shortcode inside of shortcode, it requires to create so called "nested shortcode" which means that I have to include my shortcode [spin360_icon] into the php code of your one. In plugin folder I've found the file class-wr360-shortcodes.php with wr360expand shortcode - what should I change in there to include my [spin360_icon] code so Wordpress would allow me to use it as a thumbnail inside of your shortcode [wr360expand]?
Thanks.
Kind regards,
Oleksiy Kardash