Need help on changing the Anchor Links of RankMath FAQ Block

#719979
  • Resolved Danukaprasad
    Rank Math free

    I use RankMath FAQ block and RankMath TOC Block. When I use them on my articles, the TOC block adds anchor links for the FAQ block but the links it inserts don’t have any meaning at all. Here is an example: #faq-question-1704987617703

    I want the question as the anchor link, not some random numbers. How can I resolve this issue?

Viewing 1 replies (of 1 total)
  • Hello,

    I’m sorry to hear that you’re facing issues with the anchor links in the Rank Math FAQ block. To change the anchor links of the FAQ block, you can use the following steps:

    1. Open your theme’s functions.php file.
    2. Add the provided code snippet to the file to convert the Rank Math FAQ Block into an Accordion.
    3. Save the changes to the functions.php file.
    4. Open your theme’s style.css file and add the provided CSS code to it.
    5. Save the changes to the style.css file.

    After following these steps, the Rank Math FAQ block should have meaningful anchor links based on the questions instead of random numbers.

    If you have any further questions or need additional assistance, please feel free to ask.

    Sources:
    How to Add Rank Math’s Table of Contents Block » Rank Math
    How to Use Rank Math’s Content AI for SEO » Rank Math

    This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Need help on changing the Anchor Links of RankMath FAQ Block’ is closed to new replies.