• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to footer

Tech Library TV

Self-publishing, WordPress, Genesis Framework, and more....

  • Blog
  • Self-publishing
  • KDP
  • Resources
  • Info
    • About
    • Contact
Home » Blog » Solved: How to Create a Submenu in Authority Pro Theme

Solved: How to Create a Submenu in Authority Pro Theme

December 24, 2020 by Arun Leave a Comment

Authority Pro is one of the premium StudioPress themes and it’s secondary menu structure, by default, doesn’t allow creating sub-menus.

Not even after customizing our WordPress menu like this (pushed slightly to the right to create sub-menus):

Here’s how to fix this issue:

Go to your Theme Editor.

Click on Functions.php

Click inside the editor and search for ‘secondary_menu‘.

Within this code, ‘comment out’ the second line – as shown below.

	if ( 'secondary' === $args['theme_location'] ) {
		//$args['depth'] = 1;
	}

That’s it, click on ‘Update File‘ button.

The sub-menu problem in your Authority Pro theme should be solved now.

Post Views: 127

Share this post:

Twitter Facebook WhatsApp

Filed Under: Blog Posts

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

9 + three =

Primary Sidebar

Follow us!

  • Facebook
  • Twitter
  • YouTube

Footer

Archives

  • January 2021
  • December 2020
  • October 2020
  • September 2020
  • July 2020
  • April 2020
  • March 2020
  • February 2020
  • December 2019
  • September 2019
  • August 2019
  • December 2018
  • November 2018
  • September 2018
  • August 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • November 2017
  • Privacy Policy
  • Terms of Use
  • Affiliate Disclaimer
  • DMCA Policy
DMCA.com Protection Status

Copyright © 2021 · News Pro on Genesis Framework · WordPress · Log in