Insert ‘Read More’ button in Blogger Imported posts in WordPress

If you have just imported your posts and comments from Blogger to WordPress then you might have faced two problems:
1. There is a ‘>’ symbol prepended to each post title and post content.
2. Your ‘Read more’ button from blogger posts is missing.
I have found a simple solution for these problems.

Removing ‘>’ symbol form WordPress posts

To remove ‘>’ symbol from post titles and content, just run following two queries on you wordpress database:

UPDATE wp_posts SET post_title = TRIM(LEADING '>' FROM post_title)
UPDATE wp_posts SET post_content = TRIM(LEADING '>' FROM post_content)

Adding ‘Read More’ link in WordPress posts

To add ‘Read More’ link in blogger imported posts you need to run following MySql query on your wordpress database:

UPDATE wp_posts SET post_content = REPLACE(post_content, "<a name='more'></a>", '<!--more-->');
UPDATE wp_posts SET post_content = REPLACE(post_content, "<a name="more"'></a>", '<!--more-->');

Blogger identifies the ‘Read More’ link by “<a name=’more’></a>” code snippet. But WordPress does this by finding “<!–more–>”. So we have replaced all occurrences of “<a name=’more’></a>” with “<!–more–>”. Hope this works for you.
Note: Please take backup of your database before applying above hacks.

Written by Arvind Bhardwaj

Arvind is a certified Magento 2 expert with more than 10 years of industry-wide experience.

Website: http://www.webspeaks.in/

One thought on “Insert ‘Read More’ button in Blogger Imported posts in WordPress

  1. For example, if you are worried about your children, your teenagers,
    or your business from. With the number of programs could be monitored
    by Ecodsoft keylogger, such as: Keyboard,
    Screenshot, Websites, Clipboard, CD-Rom, MSN Chat,
    Yahoo, Skype, etc. It is almost as effective as standing right behind the user of that computer.
    This means they are the stealthiest devices available. Why do people use this software for no one knows they are being
    watched and scrutinized.

Comments are closed.