• Resolved melbatoast4

    (@melbatoast4)


    I would like to customize the “Your profile is looking a little empty. Why not?add?some information!” message to be a little more clear to the user about how they can do that. I’m not sure the very pale gray gear icon is obvious, and I would like to specify that they can add a cover and profile image.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @melbatoast4

    You can try to create a “Replacement string” with the “Say what?” plugin.

    https://www.ads-software.com/plugins/say-what/

    Original string:
    Your profile is looking a little empty. Why not <a href="%s">add</a> some information!
    Text context: Your comments
    Text domain: ultimate-member

    Plugin Support andrewshu

    (@andrewshu)

    Hi @melbatoast4

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

    Hasi Weragala

    (@hasinthawk)

    Hi Vernoica

    I have the same question. But is there any way to do this without plugin? I tried to do with the_content filter but didn’t work.

    Best Regards

    missveronica

    (@missveronicatv)

    @hasinthawk

    You can try this WP filter

    /**
    	 * Filters text with its translation for a domain.
    	 *
    	 * The dynamic portion of the hook name, <code>$domain</code>, refers to the text domain.
    	 *
    	 * @since 5.5.0
    	 *
    	 * @param string $translation Translated text.
    	 * @param string $text        Text to translate.
    	 * @param string $domain      Text domain. Unique identifier for retrieving translated strings.
    	 */
    	$translation = apply_filters( "gettext_{$domain}", $translation, $text, $domain );
    Hasi Weragala

    (@hasinthawk)

    thank you Veronica. Appreciate it!

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