• Resolved anuragzain

    (@anuragzain)


    I set up Meta Title in usersWP setting with shortcode [#display_name#] of [#site_name#] but it returns null (check with both heymeta.com and also in the tab).

    Also the user avatar is not shown.

    In previous update I used to modify file “class-uwp-seo.php” by adding these lines:

                $title = $this->get_meta_title();
                $displayed_user = uwp_get_displayed_user();
                $displayed_user_id = !empty($displayed_user->ID) ? $displayed_user->ID : 0;
                $user = get_user_by( 'id', $displayed_user_id );
    	    $urx = uwp_get_usermeta( $user->data->ID, 'avatar_thumb', '' );
    	    $urxcek = strpos($urx, 'http'); 
    		if ($urxcek === false) {
    		    $urx = 'https://mysite.com/wp-upload'. $urx;
    		  } else {
    		    $urx = ''. $urx;
    		  }
    
                echo '<title>'.$title.'</title>';	    
                echo '<meta name="title" content="' . $title . '" /><br>';
    	    echo '<meta property="og:title" content="'. $title .'" />';
    	    echo '<meta property="og:image" content="'. $urx .'" />';
    	    echo '<meta property="og:image:width" content="500" />';
    	    echo '<meta property="og:image:height" content="500" />'; 

    have not modify in recent update since I must modify in every updates.

    Please advise if I missed something here? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support alexrollin

    (@alexrollin)

    Hello,

    We aren’t able to help with customization here, sorry.

    If you want us to help further please open a support ticket here: https://userswp.io/support/

    Thread Starter anuragzain

    (@anuragzain)

    I did modification (only on trial base) since I couldn’t find solution to the issue (ie meta title and avatar not showing).

    As mentioned, since several recent updates I didn’t do modification and return as original, but still the issue not resolved. That’s why I asked if I missed something (in setting or else).

    Plugin Contributor Paolo

    (@paoltaia)

    For support with customization, please open a ticket on our site as suggested by Alex. Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘UsersWP Profile SEO setting is not showing title and profile avatar’ is closed to new replies.