WordPress comments and Facebook comments

I’ve used these two plugins: 1) Disqus Commenting Plugin – the easiest way to add facebook functionality to your wordpress blog: They allow a whole host of features including facebook, twitter, google login/commenting and some other cool stuff. It will probably be more than you need but you might like the extras and the easy … Read more

RSVP form for Facebook events from a WordPress post?

I’m also working on this right now, I’d love if you post your final solution once you get there. Here are two tutorials that may help you. http://www.masteringapi.com/tutorials/how-to-check-status-and-rsvp-to-facebook-events-using-graph-api-fql/61/ http://www.masteringapi.com/tutorials/how-to-create-facebook-events-using-graph-api-advanced/59/

Hiding styles from Facebook

You can use Open Graph Protocol to define the data Facebook fetches from your site: http://developers.facebook.com/docs/opengraphprotocol/ The metatag for the description has this form: <meta property=”og:description” content=”my custom description for single post” /> You can use plugins, like http://wordpress.org/extend/plugins/wp-facebook-open-graph-protocol/ to do it for you. You can then debug your page here: http://developers.facebook.com/tools/debug to see how … Read more

Get User’s Facebook Photos as WordPress Upload

You can use media_sideload_image() which will take a link to a file and upload it to the media library. You do need to pass it some kind of $post_id @Sumit points out in the comments you could pass NULL into the $post_id field. media_sideload_image( $file_url, $post_id, $image_desc, $return ); If you need the uploaded image … Read more

Facebook link to website logo

I’d recommend checking out the following plugins: Yoast SEO Open Graph Protocol Framework Either one will take care of all of the Open Graph metadata. Once you have the plugin set up, you can simply go to your homepage and you will see a “Featured Image” widget: Pick your logo and you will see the … Read more

Simple plugins to post info about new blog entries?

For Facebook: http://wordpress.org/extend/plugins/simple-facebook-connect/ For Twitter: http://wordpress.org/extend/plugins/simple-twitter-connect/ For Google+ http://wordpress.org/extend/plugins/simple-google-connect/ The twitter and facebook plugins will autopost from your site to each service. The G+ plugin is new, and still under development. I don’t know that there is any plugin yet that pushes notifications to G+….

How do I remove all hyperlinks that begin with a #?

Inspired by @Samuel Elh, but accounting for single or double quoted attributes and a href that might not be the first attribute of an anchor: function wpse_227315_strip_hyperlinks( $content ) { preg_match_all( ‘!<a[^>]*? href=[\'”]#[^<]+</a>!i’, $content, $matches ); foreach ( $matches[0] as $link ) $content = str_replace( $link, strip_tags( $link ), $content ); return $content; } add_filter( … Read more

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