WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] blogger to wordpress: replacing the "page break" html tag (3 posts)

  1. Waqas
    Member
    Posted 2 years ago #

    hi I recently transferred my blogger blog to wordpress. everything is working fine except one thing.

    All of my blogger posts have <a name="more"></a> as a full post jump where as wordpress uses <!--more-->

    Thats why my index pages are showing full posts. they are so lengthy and look totally disaster. what do I do ? :(

    can I replace <a name="more"></a> with <!--more--> using sql query?

    if its possible then please tell me the query. Thanks

  2. Waqas
    Member
    Posted 2 years ago #

    ok, I've solved it myself by just studying a little bit about sql :D

    just run it in sql

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

    if you using wp_prefix don't forget to add that to wp_[you prefix here]posts

    :)

    wp rox - cheers

  3. Alrik Vincent
    Member
    Posted 1 year ago #

    I was having a similar problem for my site that I imported from blogger and I did not know SQL.

    So I installed this plugin search and replace which did the SQL replace part for you. Plugin Link below:

    http://wordpress.org/extend/plugins/search-and-replace/

    In the "Search for:" section put

    In the "Replaced with" section put <!--more-->

    Click Go and you are done.

    Once you install the plugin, you can access the plugin interface directly from the plugins install page of wordpress. It doesnt create a new tab in settings or anything.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.