[toc] shortcode not working with elementor page
-
I have experienced in new pages that uses the [toc] shortcode does not work propertly with elementor.
As you can see on url attached, in its source code, you can find:
<div class=”elementor-shortcode”></div>
Created by the shortcode block. In that shortcode block, I have “[toc]” in order to insert the table of contents (without quotes).
But nothing is generated inside div by the plugin.
Also, in the page configuration, I have marked the checkbox to enable table of contents and I have also checked H2 to be included on TOC. The page is published with that info.
I am using last versions of wordpress and all plugins. The elementor is the pro version.
Also, I see:
<script type=”application/ld+json”>[{“@context”:”https:\/\/schema.org”,”@type”:”Article”,”headline”:”…”,”description”:”[toc]…
I am using rankmath plugin. I think is an error, I suppose related to the first issue, that in the description of the schema tag appears the shortcode in the description text.
Please, help me to get toc working on my sites. I have that problem in other sites with same configurations.
The page I need help with: [log in to see the link]
- The topic ‘[toc] shortcode not working with elementor page’ is closed to new replies.