Solved: How to Create a Submenu in Authority Pro Theme

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):

image

Here’s how to fix this issue:

Go to your Theme Editor.

image 1

Click on Functions.php

image 2

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.

image 3

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

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

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

9 + seven =