1. Home
  2. Docs
  3. Administration Guide
  4. Tips, Tricks & Useful Information
  5. Header Menu Custom Links

Header Menu Custom Links

Modify your theme’s functions.php file with the following code to create custom links in the header menu:

function my_menu() {
  echo '<a href="https://example.com">Example</a>';
}
add_action('asgarosforum_custom_header_menu', 'my_menu');