I need some more details here.
You mention PHP?
I am confused.
I thought you display this thru a WYSIWYG Field of Types, which in turn most likely is displayed in a Content Template applied to a post?
In any case; I replicated your site and navigated to "wp-admin/post.php?post=632&action=edit".
There, In the post body I inserted:
THIS:
[juicebox gallery_id="2"]
:THIS
The Front-end shows only what you see in the ScreenShot:
I do not assume this is expected. As you see the order of the strings has been inverted and the gallery is not displayed where I want it.
This is all happening without Toolset.
Hence I already know that this ShortCode ([juicebox gallery_id="2"]) most likely either echos it's contents or does some other unexpected things since this is not how I coded it in the Post Body.
Then I saw that in your WYSIWYG Field you inserted our Post Body ShortCode.
This is wrong.
The WYSIWYG Field will be displayed in the Post body, but not vice-versa.
Moreover, there are several JS errors on the site:
GET <em><u>enlace oculto</u></em> net::ERR_ABORTED
Uncaught ReferenceError: juicebox is not defined
When I insert the ShortCode in our WYSIWYG and then the WYSIWYG into the Body, nothing is displayed.
Hence, currently, the best solution is to insert the shortcode in the Post Body directly, and then style this Post Body with Content Templates.
This works fine, as I tested locally.
But, you will not be able to control the position of this gallery very much, for the issue elaborated above (which does not depend on the Toolset).
The final solution for you is:
- Add the [juicebox gallery_id="2"] ShortCodes to your Post Body(s).
- Create a Content Template
- Assign it to this post type
- Add the Post Body ShortCode like this in the Content Template:
[wpv-post-body view_template="None" ]
- then, also add any other data you want to add (fields, etc) to this Content Template
- Now the front end will show the gallery.