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

Tech Library TV

Books, Productivity, and Design

  • Blog
  • Books
    • Self-publishing
  • Productivity
    • Excel Tips
    • Mobile Tips
    • Google Docs Tips
    • Tech Haiku
    • Windows Tips
  • Design
  • Listicles
  • Resources
  • Info
    • About
    • Contact
You are here: Home / Blog Posts / 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.

Filed Under: Blog Posts Tagged With: guides

Reader Interactions

Leave a Reply Cancel reply

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

15 + 8 =

Primary Sidebar

  • Canva Embed – Remove Canva Footer from the Embedded Design?April 22, 2022
  • How to Format eBook for Kindle (5 simple DIY tips)March 9, 2022
  • Remove Weather from Taskbar Easily – Windows 10January 14, 2022
  • 3 Simple Tools to Check Tech Stack a Website is Built WithJanuary 7, 2022
  • How to Crop Pictures into Custom Shapes in CanvaNovember 29, 2021
  • How to Disable Samsung Discover Feature (Video)November 27, 2021
  • How to Download Wistia Videos (2021)September 21, 2021

Follow us!

  • Facebook
  • Twitter
  • YouTube

Footer

Archives

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