Useful mysql queries for wordpress migration
For developers wordpress moving site to new server is daily job. wp migration is easy with mysql query. Here is useful mysql queries for wordpress migration
I created custom wordpress theme. In that theme I am using the_excerpt method for showing the post on some pages.
I installed the tweetmeme and facebook-share-new plugins and activated on wordpress site.
I saw one issue with these plugins. These plugins are showing on only single pages or posts.
Facebook and twitter button are not showing when I am using the the_excerpt() function.
I tried google but I did not got any suaitable answer. Everybody is saying about do mannual work when we creating the post.
So did checked the these plugins and I found the solution.
First I am taking about tweetmeme plugin. I opened the “tweetmeme.php” file. This file you will find in wordpress plugins and tweetmeme folder.
Add following code to line no 721 and comment the following line.
//add_filter(‘get_the_excerpt’, ‘tm_remove_filter’, 9);
Updated tweetmeme.php file you can download from here. Please right click and choose save as option.
Now I am going to talk about facebookshare plugin. I opened the facebookshare.php file. This file you will find in wordpress plugins facebook-share-new folder.
Add following code to line no 843
When you done with changes you will be able to see facebookshare button with wordpress post excerpt also.
Updated facebookshare.php file you can download from here. Please right click and choose save as option.