Hi @millonario,
The data-robot=”irobot” is not HTML tag so it does not work in section description.
thank you very much, it’s html5 I think .. it’s a shame for me it was important to insert that code ..
That is not HTML5 too. You can try this way:
1. Create a new page with content you want.
2. Install this plugin:
https://ww.wp.xz.cn/plugins/post-content-shortcodes/
3. Add shortcode to display page’s content in section description.
That’s all.
Let me know if it works!
Thank you so so so much 🙂
It works great, I’m very grateful I was allowed to throw the project forward ^^
I wish you every success in all your projects
@millonario:
You’re welcome 🙂
Please mark the topic is resolved. Thanks!
Hi!
I readed that it was solved, but I think the problem was the $allowedposttags variable.
Try to add this to your functions.php
if ( ! function_exists( 'extend_allowed_html_tags' ) ) {
function extend_allowed_html_tags() {
global $allowedposttags;
$allowedposttags['a']['data-robot'] = true;
}
}
add_action( 'init', 'extend_allowed_html_tags');
To allow “data-whatever” or any other attrs.