When posting a link of your site on other platforms you may be seeing Your Domain - Wordpress - Login in the preview or a variation of this that shows the word WordPress which we know some of you prefer to hide.

By default, the platform does not have this option. 


You can do this a couple of ways. 


Firstly most of you will be running an SEO plugin such as Yoast SEO or AIOSEO plugins. At the bottom of each page and post you will have your SEO snippet options, keywords/phrases. You will also have options such as 'Social' 'Schema' 'Redirects' and more depending on your plugin. 


To change the preview of that particular page when posting your URL externally, You want to edit the 'Social' option. This allows you to select what image will show and what text will be displayed. 


If you do not want to do this per page or post you can set this in the plugins overall 'Social' settings which you can then set a default image and text no matter what link from your domain you share. Again this is dependant on your SEO plugin and whether or not this could be a premium feature.



Before moving onto the next option we strongly recommend the above option of having a good SEO plugin as there are many benefits to helping grow your brand..!




If for any reason you are not running an SEO plugin or the plugin you use does not have this feature, you do this manually by following the below steps and editing your themes function.php file. 


You can use the following function code.


Please follow the steps below:


1. Go to Appearance > Theme Editor.

2. Under Select theme to edit, choose (BuddyBoss Child/whatever theme is active), then click Select.

3. Below Theme Files, select Theme Functions (functions.php).

4. Append the code just before the closing PHP tag “?>”:


add_filter( 'login_title', 'custom_login_title' );
function custom_login_title() {
$title = 'Log In';
return get_bloginfo('name').' ‹ '.$title;
}


5. Click Update File to save the changes.


Note: Any modifications are considered as custom work already. Know more about our Support Policy here: https://www.buddyboss.com/support-policy/