WordPress.org

Ready to get started?Download WordPress

Forums

how to delete 2 sentences in all of posts ? (3 posts)

  1. moccc
    Member
    Posted 2 years ago #

    hi , i want to delete 2 sentences with 1 icon before every sentence .
    i know there is some plugins to do this . but there is a problem , in this 2 sentences there is a text with different internal links .

    example :

    [icon image] Password : <a href="http://www.link.com/asd">www.link.com</a>
    
    [icon image] Support : <a href="http://www.link.com/qwe">www.link.com</a>

    as you can see , links are completely different . i just want to delete this 2 line in all of posts . please help me . thanks .

  2. Sabinou
    Member
    Posted 2 years ago #

    I was going to post Lorelle's link ( lorelle.wordpress.com/2005/12/01/search-and-replace-in-wordpress-mysql-database/ ), however, it's true that it won't work if the hyperlinks change from a post to another...

    I'll also be interested in knowing if there's a solution, good luck !

    (PS : I DO know it can be done with a search and replace using wildcards if you open your .sql exported database with notepad++. But I don't know how exactly it will be done)

  3. moccc
    Member
    Posted 2 years ago #

    in fact i want to delete this 2 lines and put this sentences ( and icons ) in my theme in single.php to show in every post that this post's files is password protected and source is this url ...

    so if there is a way that i change this links to my homepage , this is a good way too !

    i don't know why , but wordpress automatically changes this links in every post of my website !

    i want to change this links again !

    i thought if i delete this 2 lines and put them to my theme , this could be better ! is there a way ?!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.