How to Create Page Scroll to ID Elements in WordPress Print

  • Page Scroll, WordPress, Scroll to ID, Elements, Create.
  • 0

To create page scroll to ID elements in WordPress, follow these steps:

  1. Install and activate the "Page scroll to id" plugin in your WordPress site.

  2. Navigate to the page or post where you want to add the page scroll to ID element.

  3. Add the content that you want to link to the page scroll to ID element.

  4. Highlight the content and click on the "anchor" icon in the WordPress editor.

  5. Enter a unique ID for the element in the "ID" field and click on "Add."

  6. Next, add the link that will point to the page scroll to ID element. You can add a custom link using the text or image block or use the "Custom HTML" block to add an HTML link.

  7. In the HTML link, add the ID of the page scroll to ID element to the "href" attribute. For example, if your ID is "myid", your HTML link should look like this:

    lessCopy code
    <a href="#myid">Link text</a>
  8. Update or publish your page or post to make the changes live on your site.

That's it! Your page scroll to ID element is now set up and ready to use. When visitors click on the link, the page will scroll smoothly to the linked content on the page.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution