• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to conditionally remove the social menu in Authority Pro

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to conditionally remove the social menu in Authority Pro

This topic is: resolved

Tagged: authority pro, nav menu, third menu

  • This topic has 3 replies, 2 voices, and was last updated 4 years, 4 months ago by wolfman66.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 12, 2018 at 2:42 am #224298
    wolfman66
    Participant

    Hi

    I need to conditionally remove / hide the Social Menu (along left hand side of page) for a specific page. The conditional argument is no problem, however I cannot find the hook for the social menu and the do_action argument for the social menu.

    I have found some snippets on Brad Dalton's site which relate to the main and secondary nav menus but cannot find anything to remove the social menu conditionally.

    As you are aware, Authority Pro has this third menu position.

    I hope someone can help me here.

    Thanks in advance.

    https://www.theadamwolfson.com
    November 12, 2018 at 3:26 am #224299
    Brad Dalton
    Participant

    Hey Adam.

    You can find the code for the social menu in the Authority Pro themes functions file between lines 276 - 293 and add a conditional check after the function name in the code so it doesn't load on a specific slug or id.


    Tutorials for StudioPress Themes.

    November 12, 2018 at 11:02 am #224306
    Brad Dalton
    Participant

    Like this


    Tutorials for StudioPress Themes.

    November 12, 2018 at 2:38 pm #224317
    wolfman66
    Participant

    Hey Brad

    Thanks so much for pointing that out. I normally look in functions.php - silly me!

    I have now sorted this out and again, thanks for your kind help.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to conditionally remove the social menu in Authority Pro’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble