This topic has 4 replies, 3 voices, and was last updated 9 years by Andrei.

  • Author
  • #44906
     odtene
    Participant

    Hello there! How are you doing? the theme is built with “My photos” tab is displaying the photos users are uploads through the rtmedia.

    I would like to achieve one of the two:

    *I want to to sync all the media (photos, videos, music) a user upload into one tab that called Portfolio

    *Other option (not my favorite) is to create tabs – My music, My videos that will sync the media. So user upload mp3 file it will go to the My music tab

    Thank you

    (:

    #45057
     Laura
    Moderator

    Hello, you can use the label option on Sweetdate > BP Profile tabs of rtmedia and add Portfolio

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #45718
     odtene
    Participant

    That’s not what I was asking. I didn’t ask how to change the name of the tab, I know how to do it.

    I’m asking how I can display the user uploads such as Photos, Videos, Music into one single tab.

    The theme Automatically displaying the user photos under My-photo.. I want also to display in the tabs music and videos.

    Please help!

    #45891
     odtene
    Participant

    Should I attach an image ?

    #46310
     Andrei
    Moderator

    Hi @odtene, sorry for the late reply.

    Unfortunately there’s no such easy option to do what you requested.
    I can offer you a start point, but you’ll have to work your own logic from there, and find the right plugins/shortcodes to work with.
    The available method it would be of linking the content of a page, to one tab, and in that page you can run shortcodes and whatever more you need. Please note that probably you will need to create some custom styling for elements you want to display there.

    Here is the piece of code with which you can link a tab to a page, place it in your functions.php file:

    COPY CODE
    
    function kleo_my_page_tab()
    {  
    	global $bp_tabs;
    	$bp_tabs[] = array(
    		'type' => 'page',
    		'name' => 'Test', // Here you should place the title of the page
    		'class' => 'pagetab'
    	);
    	return $bp_tabs;
    }
    add_action('after_setup_theme','kleo_my_page_tab');
    

    Let me know if I can help you with something else.
    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

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

Log in with your credentials

Forgot your details?