My Account functionality

This topic contains 6 replies, has 3 voices, and was last updated by  Giri 7 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #365836
    #365974

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I’m not sure if there are hooks there to add it safely without editing some theme’s files.

    I asked to the developers to let us know,

    Thanks

    #365976

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    I have just added a hook for extra links. This is the hook I added.

    
    
    
    <?php do_action('sd_my_account_logged_in_extras'); ?>

    This hook will be available in next version. But you can apply the patch by yourself.

    https://github.com/mistergiri/supreme-directory/commit/c1e2db5bc6b494a5f5d9c6a5294ab8a6957750cc

    Once thats done, next step add the follow code in your code snippets.

    
    
    add_action('sd_my_account_logged_in_extras', 'sd_my_account_logged_in_extras');
    function sd_my_account_logged_in_extras() {
       ?>
    <ul class="sd-my-account-dd-menu-group sd-my-account-dd-menu-bp-group">
                            <li class="sd-my-account-dd-menu-link">
                                <a href="#">
                                    <i class="fa fa-user"></i> Link1
                                </a>
                            </li>
                            <li class="sd-my-account-dd-menu-link">
                                <a href="#">
                                    <i class="fa fa-user"></i> Link2
                                </a>
                            </li>
                        </ul>
      <?php
    }
    
    #369248

    Sieko Skrzypczak
    Expired Member
    Post count: 92
    This reply has been marked as private.
    #369258

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    #369273

    Sieko Skrzypczak
    Expired Member
    Post count: 92

    Hey Giri

    Thanks ! Somehow I missed the activate part …lol

    You’re a star. Works like a charm

    Regards

    Sieko

    #369274

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket