Tagged: Codeblock
Hi,
We added some codeblocks to be anchor links but get this output in the frontend: [avia_codeblock_placeholder uid=”0″]
In the codeblock we added this kind of html:
<a name="xxxxx"></a><a name="xxxxx"></a>
Any idea what is causing this?
Hi hotspot!
What happens if you type some text to actually display the links?
Best regards,
Rikard
Hi Rikard,
No matter what we place inside a code block (even empty) we get the same result. Being:
[avia_codeblock_placeholder uid="0"]
[avia_codeblock_placeholder uid="1"]
[avia_codeblock_placeholder uid="2"]
[avia_codeblock_placeholder uid="3"]
Any idea what is going on?
This happens also in the most recent version of the theme.
Hey!
Can you please post the link to your page where we can see the issue and a screenshot from backend showing the element?
Best regards,
Yigit
Hey!
Do you mind creating a temporary admin login and posting it here privately?
Regards,
Yigit
Hi!
Can you please try de-activating all active plugins and check if that helps?
Regards,
Yigit
Hi Yigit,
Unfortunately that does not solve the issue.
Hey!
It works fine when I created a test page.
Use the id attribute instead of the name attribute.
Cheers!
Ismael
Hey!
It’s because you’re setting a Page Template (page-team.php) to the ALB-built Team page, i’ve change it now to the Default Template and you can see the code blocks are working
Cheers!
Josue
Page Templates and pages with ALB activated don’t play nice together, use this instead (it will attach the page slug to the body_class).
http://www.wpbeginner.com/wp-themes/how-to-add-page-slug-in-body-class-of-your-wordpress-themes/
Best regards,
Josue
Hi Josue,
I have a similar issue. I don’t understand what ALB is. How do you disactivate it?
The page were I have the issue is this one:
I have already posted the problem here
Thanks!!!
I’ll reply you there.
Regards,
Josue