OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
      • Basic Version
        • Documenation
        • Usage
        • Developer Docs
      • PRO Version
        • Demo
        • Usage
        • Developer Docs
    • Go Live Update Urls
      • Basic Version
        • Documenation
        • Usage
        • Troubleshooting
      • PRO Version
        • Demo
        • Usage
        • URL History
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Anchor ID menu styling

Resolved

Requested: 5 years and 5 months ago

I have a menu with anchor ids. Each item is to scroll to that section of the page. The ‘current’ item is styling all of the anchors instead of just the one anchor. 

Plugin: Advanced Sidebar Menu

  1. Avatar for OnPoint PluginsOnPoint Plugins

    5 years and 5 months ago

    You may accomplish this by adding the following filter to your active theme’s functions.php file:

    Afterward, the widget setting will be ignored and be automatically set depending if you are on a child page or not.

     

  2. Avatar for Holly ButlerHolly Butler

    5 years and 5 months ago

    Getting this error when adding after other function in file.

    syntax error, unexpected ‘<‘, expecting end of file

  3. Avatar for OnPoint PluginsOnPoint Plugins

    5 years and 5 months ago

    This is mostly likely caused if there is an extra <?php tag being added because it’s after a previous one.

    Please try adding it without the <?php line.

« Older Responses

New Response Cancel reply

You must be logged in to respond. Only PRO members are allowed to respond to support requests.

© 2025 · WordPress Development · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact