I'd like to use the gallery feature of toolset to create custom galleries.
After that I'd like to write a shortcode in the Themify builder to include these galleries in my theme layout.
How can I do that bec cause if I don't use blocs, I can't include easily the content template item ?
Hello. Thank you for contacting the Toolset support.
Do you mean that you want to build a content template using block mode where you want to add gallery block for your custom repeating image field and later you want to add this content template within the custom shortcode to render the output of the content template?
For this little project I'm not using Blocs, but the Themify Builder.
I want to use toolset to create a few pictures galleries using the custom layout function.
I thought creating them with content template and include these content templates inside the Themify builder using shortcake to link these content templates...
I want to use toolset to create a few pictures galleries using the custom layout function.
I thought creating them with content template and include these content templates inside the Themify builder using shortcake to link these content templates...
==>
Yes, if you build content template using classic mode and add the shortcodes to it to build the gallery and then later add the content template inside the Themify builder it should work.
if I switch to the classic editor, I can't use the custom gallery templates right ?
If I switch to the classic editor, where can I find the shortcode ?
You should try to create a content template in block mode and add the gallery block to it, for your desired field and then later on try to add this content template using the your desired shortcode.
Where:
- 9999 is the content template ID, or you can even use content template slug
- 111 is the post Id for which you want to display the gallery
- you should display the $content
This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.