• Resolved charlie0412

    (@charlie0412)


    Hello, I would like to add an item to my account page, something like a go back link, or with some custom url, I have already looked in the plugin files, templates/myaccount , but I have not been able to find the file where those fields are defined.

    https://pasteboard.co/ZWEQRp6Vklc3.png

    • This topic was modified 10 months, 1 week ago by charlie0412.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Ali Akbar Reyad

    (@alireyad)

    Hi,
    Where do you want to add it? In sidebar menu item or in content area?

    Thank you

    Plugin Support Ali Akbar Reyad

    (@alireyad)

    Hi,
    Add following code in child theme functions.php file to add extra information after list item –

    add_action( 'rtcl_after_account_navigation_list', function () {
    	?>
        <a href="#">add link here</a>
    	<?php
    } );
    Thread Starter charlie0412

    (@charlie0412)

    Hello, thanks for your reply, the code works well and adds the item to the menu, but how could I give it the same style as the other menus, font size, color, on hover effect, set an icon, etc. I have tried with the rtcl-MyAccount-navigation-link class but nothing happens.

    https://pasteboard.co/PuoTXqT83Cuw.png

    Thread Starter charlie0412

    (@charlie0412)

    I found the solution for the new menu item style by editing the file in templates/myaccount/navigation.php

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add item to my account menu’ is closed to new replies.