• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Add YouTube Subcribe Button to Nav Menu Using PHP Code

This code works in any WordPress theme and adds your YouTube subscribe button to any nav menu location.

youtube-subscribe-button

You can change the menu location simply by changing primary in the code to secondary or any other menu location your theme includes.

You can also add conditional tags to the code so your YouTube button only displays based on specific conditions.

The code also includes a custoim class so you can position the subscribe button anywhere in your menu.

Register for full access

Related Tutorials

  • Show Twitter Button In Nav Menu

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.