Allow Facebook to preview posts before published

Create a new plugin with the following code: class Facebook_Peeker { private static $facebook_bots = [ ‘facebookexternalhit/1.1 (+https://www.facebook.com/externalhit_uatext.php)’, ‘facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)’ ]; private $original_posts; public function make_scheduled_post_public() { add_filter( ‘posts_results’, [ &$this, ‘peek_into_private’ ], null, 2 ); } public function peek_into_private( $posts, &$query ) { if ( sizeof( $posts ) != 1 ) { return $posts; … Read more

facebook like – image display and description

Use my plugin – http://wordpress.org/extend/plugins/facebook-like-thumbnail/ or the code manually in your functions.php that I have here on my post with explanation – http://blog.ashfame.com/2011/02/wordpress-plugin-fix-facebook-like-thumbnail/ Edit: It will use the first image of your post. Also Facebook will refresh all of your pages in max 24hours, so if you need to force refresh a page manually, try … Read more

Displaying additional User Contact Information

This might help you out if you haven’t found an answer yet. /* BEGIN Custom User Contact Info */ function extra_contact_info($contactmethods) { unset($contactmethods[‘aim’]); unset($contactmethods[‘yim’]); unset($contactmethods[‘jabber’]); $contactmethods[‘facebook’] = ‘Facebook’; $contactmethods[‘twitter’] = ‘Twitter’; $contactmethods[‘linkedin’] = ‘LinkedIn’; return $contactmethods; } add_filter(‘user_contactmethods’, ‘extra_contact_info’); /* END Custom User Contact Info */ Displaying it: <a href=”https://wordpress.stackexchange.com/questions/32505/<?php the_author_meta(“facebook’, $current_author->ID); ?>”></a> http://thomasgriffinmedia.com/blog/2010/09/how-to-add-custom-user-contact-info-in-wordpress/

Is it possible to integrate WordPress *posts* and social media (Facebook, Google+, Twitter)? [closed]

Search for plugins: http://wordpress.org/extend/plugins/simple-twitter-connect/ and http://wordpress.org/extend/plugins/simple-facebook-connect/ and http://wordpress.org/extend/plugins/simple-google-connect/ All require applications be built at each service for different levels of interaction with a WordPress site, including automatic excerpt posting (except for G+), tweeting and linking.

Facebook Like Button On Individual Comments

You should add the list of comments within the comments.php file the following code: <iframe src=”http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(post_permalink() . ‘#comment-‘ . comment_ID()); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:450px; height:60px;”></iframe> And then customize the display rules in the stylesheet. Hope that helps. 😉

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