This topic has 5 replies, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #135394
     karmatiger
    Participant

    I’m trying to rename one of the profile nav menu items, since yours has a typo in it (weird for a theme that’s been for sale for so long); remove another menu item (orders – there’s already a link to that stuff in the header menu making this redundant), and remove the words “profile group” from the section headers.

    However, I can’t find the text strings in the .PO files or anywhere else. Where can they be edited?

    About removing ‘orders’, I’m trying the following code:

    function my_remove_em_nav() {

    global $bp;

    bp_core_remove_subnav_item($bp->groups->slug,’group-orders’);

    bp_core_remove_nav_item( ‘orders’ );

    }

    add_action( ‘bp_setup_nav’, ‘my_remove_em_nav’ );
    …but ‘orders’ doesn’t seem to be a slug that buddypress recognises.

    Attachments:
    You must be logged in to view attached files.
    #135520
     Radu
    Moderator

    Hi,

    You can hide the orders tab from wp-admin -> theme options -> woocommerce -> Manage account in Buddypress* -> OFF

    Let me know

    Cheers
    R.

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

    Thanks, that worked. How do I fix the typo in Articles(s), and change the names of tabs? Or remove “Profile group” when editing a profile group?

    #135612
     Radu
    Moderator

    Hi,

    You can modify these by using translation method but you will change the strings names

    Theme strings and plugins strings can easily be changed by using Loco Translate plugin https://wordpress.org/plugins/loco-translate/

    A small introduction on how translations work

    Translatable strings can come from the theme or from the installed plugins. You need to translate the theme or the plugin depending on what section of the site your string is found.

    For example if your string is on your BuddyPress profile then most probably you will need to translate BuddyPress plugin. If you are on the Forums section of your site then bbPress plugin should be the one that needs to be translated. Another example is the rtMedia plugin that adds the Media links to BuddyPress and if you want to translate it then this plugin will contain the string.

    Follow these steps to get you started:

    • Install Loco Translate plugin
    • Go to the plugin dashboard: WP Admin – Tools – Manage translations
    • Find the theme or plugin in the list.
    • If the language isn’t already in the list then click Add new language, choose your language and if you are asked where you want to save the language files choose global language directory ( wp-content/languages/ ).
    • Press SYNC button to synchronise your translation with the provided .pot file
    • Search for the string you want to translate and add your translated string.
    • Press Save when you finished your translation.

    Note: You will have to set the language for your blog from WP-admin – Settings – General – Site Language – Choose your language

    With this css you can remove that hr line

    COPY CODE
    
    .profile-edit .profile .hr-title.hr-full.hr-double {
        display: none !important;
    }
    

    the CSS will be added to wp-admin -> theme options -> general settings- > quick css

    Cheers

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

    The typo in “My Articless” was generated by the Social Articles plugin, not by your theme. My apologies.

    #135840
     Radu
    Moderator

    No problem

    Cheers
    R.

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

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?