• Resolved Uzair Ahmed

    (@ahmeduzair)


    Hello Support,

    I have created a single post page and added the table of contents in the sidebar using shortcode but when clicking on the heading(link) in table of content it redirect to top instead of the heading.

    When I remove the shortcode and try to auto insert the TOC it also did not add the TOC.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Magazine3

    (@magazine3)

    Hi there, Thank you for contacting us. Could you please confirm if you are using the TOC plugin without combining it with other plugins? Mixing plugins can lead to conflicts, which might be causing that kind of issue you mentioned.

    Thread Starter Uzair Ahmed

    (@ahmeduzair)

    Hi @magazine3,
    Thanks for the response,
    I am just using Table of contents plugin for the Table of contents. I am using some other plugins also but not for this context.
    Thanks

    Thread Starter Uzair Ahmed

    (@ahmeduzair)

    @magazine3

    Is there any update regarding the issue?

    Plugin Author Magazine3

    (@magazine3)

    Hi, Thanks for reaching out to us, and we apologize for the delayed response.

    @ahmeduzair : Could you please verify if you are using “Grow Social Pro by Mediavine”? If so, kindly enable that option in the TOC plugin settings, Clear the cache once and try again. If the issue still persists please let us know.

    @amirhossein7 : Could you please share the website URL and confirm the current theme you’re using?

    Plugin Author Magazine3

    (@magazine3)

    @ahmeduzair : Usually, auto-insertion works fine. Could you please double-check your settings? Sometimes, certain settings can cause issues like this. Additionally, please manually add the below code:

    add_filter( ‘ez_toc_sidebar_has_toc_filter’, ‘__return_true’ ); in the theme’s functions.php, after that clear all the cache once and then retry. Give this a try and let us know if the issue still persists.

    Thread Starter Uzair Ahmed

    (@ahmeduzair)

    @magazine3,
    I am not using the “Grow Social Pro by Mediavine” plugin.
    Plugin used on the website:

    Advanced Custom Fields PRO	Version 6.0.4 by WP Engine (Latest version: 6.2.1.1)
    Classic Editor	Version 1.6.3 by WordPress Contributors
    Custom Fonts	Version 2.1.0 by Brainstorm Force
    Custom Post Type UI	Version 1.14.0 by WebDevStudios
    Database Management tool - Adminer	Version 2.1.0 by Pexle Chris
    Donorbox Donation Form	Version 7.1.8 by rebelidealist
    Easy Table of Contents	Version 2.0.55 by Magazine3
    Font Awesome	Version 4.4.0 by Font Awesome
    LearnDash Licensing & Management	Version 1.1.2 by LearnDash
    LearnDash LMS	Version 4.3.1.2 by LearnDash
    Limit Login Attempts Reloaded	Version 2.25.25 by Limit Login Attempts Reloaded
    Pilgrim	Version 1.0 by thepilgrim
    Posts Like Dislike	Version 1.1.2 by WP Happy Coders
    Simple Custom CSS and JS	Version 3.44 by SilkyPress.com
    WP Extra File Types	Version 0.5.2 by Davide Airaghi
    WP File Manager	Version 7.2 by mndpsingh287

    Server Information:

    Server architecture	Linux 2.6.32-954.3.5.lve1.4.92.el6.x86_64 x86_64
    Web server	Apache
    PHP version	7.4.33 (Supports 64bit values)
    PHP SAPI	litespeed
    PHP max input variables	3000
    PHP time limit	30
    PHP memory limit	128M
    PHP memory limit (only for admin screens)	256M
    Max input time	-1
    Upload max filesize	32M
    PHP post max size	32M
    cURL version	7.87.0 OpenSSL/1.1.1p
    Is SUHOSIN installed?	No
    Is the Imagick library available?	Yes
    Are pretty permalinks supported?	Yes
    .htaccess rules	Custom rules have been added to your .htaccess file.
    Current time	2023-10-04T17:05:13+00:00
    Current UTC time	Wednesday, 04-Oct-23 17:05:13 UTC
    Current Server time	2023-10-04T17:05:11+00:00

    I have tried the above provided filter but that didn’t work.

    Also I have tried auto insertion that didn’t worked also I have added the TOC manually by shortcode.

    • This reply was modified 2 years, 8 months ago by Uzair Ahmed.
    Plugin Author Magazine3

    (@magazine3)

    @ahmeduzair : Hi, Could you please share the TOC exported plugin settings with us? By implementing them on our end, we can check the issue.

    Thread Starter Uzair Ahmed

    (@ahmeduzair)

    Hi @magazine3,

    Here is the link of the settings file:
    https://file.io/thmwnnZQctBs

    Plugin Author Magazine3

    (@magazine3)

    Hi, thanks for sharing this. We have released a new version, 2.0.56. Kindly update the plugin and navigate to the TOC settings. Inside the Advanced options, you will find “Generate TOC link ids.” For a better understanding, please refer to this screenshot: https://prnt.sc/P7EcVIlNeUUV. Give it a try, and let us know if you still encounter the same issue.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Table of contents is not creating links in headings.’ is closed to new replies.