-
AuthorPosts
-
November 25, 2021 at 3:17 pm #1330490
Following up on this topic since it is still an existing issue. I have exactly the same issue with a shortcode placed in ALB. I checked the site link interstar007 posted above and the problem is still evident. I have the same issue using a mapping location plugin in a code block => [SUPER-STORE-FINDER]. It was placed within a code block on an ALB created page.
The text just prints and no shortcode execution within ALB. When I create a test page using the default editor, it works perfectly.
So it is apparent there is something seriously wrong with Enfold/ALB when using shortcodes now. I know I have some other sites where shortcodes are used within pages made using ALB, so this may have just cropped up recently. I have had no reports of other sites failing due to previously placed shortcodes not working.
===========
Hi manhattanctr,
Please open a new thread and include WordPress admin login details in private, so that we can have a closer look at your site.Best regards,
RikardNovember 26, 2021 at 5:20 am #1330534Hey Ralph,
Thanks for the login details. Your shortcode works when I put it in Text Block elements, could you try using that instead please?
Best regards,
RikardNovember 26, 2021 at 11:22 am #1330577Hi Rikard, thanks for the info. So is that the rule currently? Use a text block element and not a code element for shortcodes?
In the past, the code block always did work.November 30, 2021 at 10:42 am #1330966Hi,
I created a test page (see below) with an ALB button shortcode and your shortcode [SUPER-STORE-FINDER] in codeblocks.
The button shortcode works as expected.
Seem to be a problem with your shortcode. We have to call the standard WP function
do_shortcode( $codeblock )
at an early stage in
add_filter( 'avia_builder_precompile', array( $this, 'code_block_extraction' ), 10, 1 );
Could be that the plugin registers the shortcode too late so it is not found.
If it works in a normal textblock then please use it in this way.
Best regards,
GünterNovember 30, 2021 at 5:41 pm #1331033Hi Günter, thanks for the clarification. I’ll just use a normal text block.
December 3, 2021 at 5:42 pm #1331498 -
AuthorPosts
- The topic ‘Shortcodes in ALB’ is closed to new replies.