If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I would like to add another link to the ‘My Account’ submenu (My Account | Shopping Cart | Checkout). The link I would like to add is “My Rewards” how can I do this?
Open wp-content/themes/abundance/woocommerce-config/config.php and find this line of code(line 152):
$output .= "<li class='checkout_link'><a href='".$url['checkout']."'>".__('Checkout', 'avia_framework')."</a></li>";
add this code below it:
$output .= "<li class='rewards_link'><a href='url_here'>".__('My Rewards', 'avia_framework')."</a></li>";
Just replace “url_here” with the url of the link. Hope this helps. :)
The topic ‘Adding a link to the submenu’ is closed to new replies.