I want to edit the URL to a specific URL as I can't find the user meta in WordPress nor in the phpMyAdmin in the cPanel.
I want to change this:
if(get_user_meta( $user_id, 'googleplus', $single) !=""){
echo "<br/><a class='author-link g' title='Follow on Google+' href=".get_user_meta( $user_id, googleplus', $single )." target='_blank'>Google+</a>";
}
To:
if(get_user_meta( $user_id, 'googleplus', $single) !=""){
echo "<br/><a class='author-link g' title='Follow on Google+' href="https://example.com" target='_blank'>Google+</a>";
}
And the error is:
syntax error, unexpected 'https' (T_STRING), expecting ',' or ';'
I have tried:
href="<?php echo "http://www.example.com"; ?>"
href="https:\/\/www.example.com"
href="https://www.example.com"
Would appreciate any advice as I have zero knowledge in PHP.