WordPress.org

Ready to get started?Download WordPress

Forums

Search and Replace
Did not make the change (1 post)

  1. sleeplessinDC
    Member
    Posted 1 year ago #

    I tried to search the page contents for the following:
    ยป Search <div id="related"> ... and replace with <div class="related">
    But nothing was changed. Here is the report (I had selected Field but apparently the plugin switched the search to Table):

    Results for:
    
    Table: wp_x8g88f_posts ... Total Results for "
    ": 458
    
    SQL
    select * from wp_x8g88f_posts where <code>ID</code> like '%
    %' or <code>post_author</code> like '%
    %' or <code>post_date</code> like '%
    %' or <code>post_date_gmt</code> like '%
    %' or <code>post_content</code> like '%
    %' or <code>post_title</code> like '%
    %' or <code>post_excerpt</code> like '%
    %' or <code>post_status</code> like '%
    %' or <code>comment_status</code> like '%
    %' or <code>ping_status</code> like '%
    %' or <code>post_password</code> like '%
    %' or <code>post_name</code> like '%
    %' or <code>to_ping</code> like '%
    %' or <code>pinged</code> like '%
    %' or <code>post_modified</code> like '%
    %' or <code>post_modified_gmt</code> like '%
    %' or <code>post_content_filtered</code> like '%
    %' or <code>post_parent</code> like '%
    %' or <code>guid</code> like '%
    %' or <code>menu_order</code> like '%
    %' or <code>post_type</code> like '%
    %' or <code>post_mime_type</code> like '%
    %' or <code>comment_count</code> like '%
    %'

    The Settings page said:
    "This replace function matchs raw text so it can be used to replace HTML tags too."
    My HTML is still the same. Perhaps this plugin only works on Posts and not on Pages?

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic