Skip to:
Content
Pages
Categories
Search
Top
Bottom

rtmedia change headings


  • inderatech
    Participant

    @inderatech

    On my buddypress profile page, I have rtmedia installed, so it has the heading ‘Media’. I want to change it to ‘Photos’, or anything else really. Please see the attached image:
    Buddypress rtmedia image

    How can I change this?

Viewing 4 replies - 1 through 4 (of 4 total)

  • Anonymous User 18187419
    Inactive

    @anonymized-18187419

    Try this.
    Add code to functions.php or use Code Snippets plugin (easier)

    
    function rename_rtmedia_profile_tab() {
    
    buddypress()->members->nav->edit_nav( array( 'name' => __( 'Photos', 'textdomain' ) ), 'media' );
    
    }
    add_action( 'bp_actions', 'rename_rtmedia_profile_tab' );
    

    inderatech
    Participant

    @inderatech

    Thanks for your response. When viewing my functions.php file, it shows it is empty right now. I am new to WP, so just making sure that’s supposed to be like that before I add anything in? Not sure if you’d know but thought id ask! Thanks mate


    Anonymous User 18187419
    Inactive

    @anonymized-18187419

    Hi, I’m not sure about that, reach out to your theme developer for advice.

    Meantime, easiest & safest way for you to add code snippets to your site would be to use the free plugin Code Snippets, get it from the wordpress.org plugins page.


    inderatech
    Participant

    @inderatech

    You know, I’ve been searching for a solution for nearly 2 weeks, including contacting WP directly, and no one has been able to help me. It worked, thank you for this, huge help mate.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar