Embed a page within WordPress dashboard?

function facebook_setup_function() { add_meta_box( ‘facebook_widget’, ‘Facebook Moderation Tools’, ‘facebook_widget_function’, ‘dashboard’, ‘normal’, ‘low’ ); } function facebook_widget_function() { include (‘facebook.php’); } add_action( ‘wp_dashboard_setup’, ‘facebook_setup_function’ ); add the above to your functions file and replace the include url with the php file you wish to include into your dashboard. Setting it up ; Use the facebook.php and … Read more

How to make a share-this window drop when reaching end of post?

They’ve attached a function to the scroll event of the page, it looks at the scroll position of the document relative to its height to detect when you’ve reached the bottom, in which case they animate the flyout div. jQuery has some easy methods for this: $(document).height();, $(document).scrollTop(); edit: these may help one two

Publishing videos and images from blog to facebook

That feature has been removed from Facebook: http://www.facebook.com/help/?faq=277347965620183 You could write a script that would log in as the user and post stuff, but that would be violating the Facebook terms of use. Or you could do it the other way around. Post the stuff on Facebook, and have your WordPress site grab the data … Read more

wp_update_post call really slow when official Facebook plugin is installed

This is beacuse facebook plugins does some really intensive checks on every save_post and this slows down calls to wp_update_post and wp_save_post to a crawl ( about 2 seconds for each call ). If you want you can remove them remove_action( ‘save_post’, ‘fb_add_page_mention_box_save’ ); remove_action( ‘save_post’, ‘fb_add_friend_mention_box_save’ ); The crazy thing is that facebook does … Read more

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