• Resolved Daria Levchenko

    (@levenyatko)


    After installation, the plugin removes most of the social profile URL fields from the edit user form in the admin panel.
    How can I return the “Instagram profile URL” field to the user edit page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rank Math SEO

    (@rankmath)

    Hello @levenyatko

    Thank you for your message.

    We removed those fields in 1.0.43 version, back in May 2020 since Google & Bing do not honor those tags anymore. Here’s a screenshot from the changelog:
    https://i.rankmath.com/NGP2Jx

    You can read the detailed changelog here:
    https://rankmath.com/changelog/

    Hope that clears the confusion and helps.

    If there’s anything else we can help you with, please let us know. We are here to assist.

    Thread Starter Daria Levchenko

    (@levenyatko)

    @rankmath I don’t care if Google & Bing takes these tags into account. I need to display the Instagram profile url in the author information block.
    Solutions with using php code will also help me.

    Plugin Author Rank Math SEO

    (@rankmath)

    Hello @levenyatko

    Here’s what Google says:
    https://i.rankmath.com/Ut3CGr

    Please stay advised that adding the information that search engine bots won’t consume might make your site slower and look outdated to the search engine bots.

    With that said, if you are still willing to add the SameAs data on your site, please utilize the following code:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	if ( ! isset( $data['Organization'] ) ) {
    		return $data;
    	}
    	$fb_url = RankMath\Helper::get_settings( 'titles.social_url_facebook' );
    	if ( $fb_url ) {
    		$data['Organization']['sameAs'] = [
                $fb_url,
                'https://instagram.com/profile',
                'Twitter profile URL',
            ];
    	}
    	return $data;
    }, 99, 2 );

    You can add multiple profiles as you wish.

    Also, in the author profile edit area, Rank Math plugin never supported or showed the fields to add various social media profiles like Instagram or Facebook or anything else. You might be confusing us with some other plugin or a theme.

    Hope that helps. Thank you.

    • This reply was modified 5 years, 5 months ago by Rank Math SEO. Reason: Added further information
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to display Instagram profile URL in the user profile page?’ is closed to new replies.