Jetpack social icons in other places on site

If you don’t want to rely on Jetpack for font awesome you need to have the CSS files loaded. Best way (in my opinion) to do this is via the CDN. I use the following: // Add font awesome & bootstrap function awesome_css() { wp_enqueue_style(“fontawesome”, ‘https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css’); wp_enqueue_style(“bootstrap3”, ‘https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css’); } add_action( ‘wp_enqueue_scripts’, ‘awesome_css’ ); This goes … Read more

How to stop xmlrpc attacks without disabling component to allow JetPack to work in WordPress?

With a whitelist, you typically deny all first, then allow. Then just keep adding Allow entries as needed. Try this: <Files xmlrpc.php> Order Deny,Allow Deny from all Allow from 122.248.245.244/32 Allow from 54.217.201.243/32 Allow from 54.232.116.4/32 Allow from 192.0.80.0/20 Allow from 192.0.96.0/20 Allow from 192.0.112.0/20 Allow from 195.234.108.0/22 Satisfy All ErrorDocument 403 http://127.0.0.1/ </Files> Note: … Read more

How to change the position of Jetpack sharing icons? [closed]

remove_filter( ‘the_content’, ‘sharing_display’, 19 ); remove_filter( ‘the_excerpt’, ‘sharing_display’, 19 ); add_filter( ‘the_content’, ‘share_buttons_above_post’, 19 ); add_filter( ‘the_excerpt’, ‘share_buttons_above_post’, 19 ); function share_buttons_above_post( $content=”” ) { if ( function_exists( ‘sharing_display’ ) ) { return sharing_display() . $content; } else { return $content; } } Change the hook. Related info https://wordpress.stackexchange.com/a/12826/9884

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)