Tagged: Shortcodes
I am running into an issue where on a custom post-type, I have added some of the av_ shortcodes in the content area and they are not being rendered. The post type in question is not set up to use the avia builder.
Example shortcode:
[av_hr class='invisible' height='5' shadow='no-shadow' position='center']
On the front-end, when viewing the post, these short codes are not displayed.
From what I can tell by walking through the script execution, this is because the avia shortcode tree does not get built for posts that do not have the avia builder enabled.
Is there a hook/filter way to get the avia shortcode tree to get built and saved for a post type that is not using the builder?
Even better, is there a way to generate a shortcode tree at runtime? My actual use case it trying to use avia shortcodes inside of Toolset Views, which replaces the post content on a “the_content”filter call. In this implementation, the shortcode tree is also absent when the aviaShortcodeTemplate class goes to parse the shortcodes in the content string.
Hey UpUp,
Please refer to our docs on the issue:
If you need further assistance please let us know.
Best regards,
Victoria