rearrange and set default tab for comments+

hi,

as the screenshot shows Facebook seems to be open as default when on a a blog post but that tab is in the middle.

my thought is that it looks neater if the first tab is open by default,
but i am greedy :slight_smile: and also do not want wordpress as the first tab.

so basically this is the order i am thinking.
- facebook, twitter, google, wordpress,
with Facebook (the first tab) ALSO being open as default.

is this easy to achieve ?

kind regards.

  • Ash

    Hello @amused

    I hope you are well today and thanks for asking the question.

    Please use the following code:

    add_filter( 'wdcp-services-list', 'wdcp_cb' );
    function wdcp_cb( $arr ){
    	$arr = array(
    			'facebook',
    			'twitter',
    			'google',
    			'wordpress',
    		);
    	return $arr;
    }

    You can add those codes in your functions.php in the theme, if you think your theme won’t be changed. Otherwise mu-plugins is the best solution. To use mu-plugins, go to /wp-content/ and find the folder with name 'mu-plugins'. If there is no folder in that name, then create a folder, name it 'mu-plugins', create a file inside that, give any name you like and paste the code in there. You don't need to activate that plugin. Mu-plugins means must use plugins, so it will be activated automatically always. If you use mu-plugins then add a php start tag at the beginning of the code.

    Hope it helps :slight_smile: Please feel free to ask more question if you have any.

    Cheers
    Ash