This topic has 2 replies, 2 voices, and was last updated 10 years by uxue.

  • Author
  • #8895
     uxue
    Participant

    Hi;
    I tried all the things you said in this topic
    https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image

    But I can’t add any tabs.
    First of all; I went to Appearence and Editor. I clicked on functions.php.
    Then, I added the code you said and I have this result;

    <?php
    /**
    * @package WordPress
    * @subpackage Sweetdate
    * @author SeventhQueen <themesupport@seventhqueen.com>
    * @since Sweetdate 1.0
    */

    /**
    * Sweetdate Child Theme Functions
    * Add extra code or replace existing functions
    */

    add_action(‘after_setup_theme’,’kleo_my_actions’);

    function kleo_my_actions()
    {
    global $bp_tabs;
    $bp_tabs[‘myself_summary’] = array(
    ‘type’ => ‘regular’,
    ‘name’ => __(‘Myself Summary’, ‘kleo_framework’),
    ‘group’ => ‘Myself Summary’,
    ‘class’ => ‘regulartab
    );

    }
    ?>

    Then, I clicked on upload files and I have in the top of my webssite in all pages this text:
    < ?php add_action(‘after_setup_theme’,’kleo_my_actions’); function kleo_my_actions() { global $bp_tabs; $bp_tabs[‘myself_summary’] = array( ‘type’ => ‘regular’, ‘name’ => __(‘Myself Summary’, ‘kleo_framework’), ‘group’ => ‘Myself Summary’, ‘class’ => ‘regulartab ); } ?>

    Do you have any solution for me?

    #8950
     Abe
    Keymaster

    I have edited your code above. Try again with it

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #8971
     uxue
    Participant

    Thanks a lot. It works. Nice support as always. 😉

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

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?