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

  • Author
  • #131564
     adamsking
    Participant

    Hi,

    kindly advice on these requests.

    1. I would like to make email as the only required login criteria for users instead of user name, on the register and login page.

    2. How can I change both the meta font color and size on a post.

    attached are snips of what I am trying to achieve.

    Regards,

    #131672
     Radu
    Moderator
    Hi, The user field it's required by buddypres... but you can remove the required text from there by using translation method to can rename the strings, i will post here the translation method at the bottom of the post, practically you should search for username(required) and to rename it to username. Same case in the pop-up login, use 'translation method' Selector to customize the meeta
    article .article-meta small,article .article-meta small a,article .article-meta small time {
        color: red !important;
    }
    
    Css can be added to wp-admin -> theme options -> general settings -> quick css 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 Cheers
    #134159
     adamsking
    Participant
    Not marked as solution
    #134196
     Radu
    Moderator
    Not marked as solution
    #134210
     adamsking
    Participant
    Not marked as solution
    #134282
     Radu
    Moderator
    Hi again, The rest of the css
    .post-footer small a,.post-footer small a span {
        color: red !important;
    }
    
    Cheers R.
Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?