• Hi,

    I wish to change

    <p align="right"><span style="font-size: 24px; font-family: doublefeature20;"><a href="https://www.youtube.com/c/GrindhouseMovieTrailers" target="_blank" rel="nofollow noopener noreferrer"><i>Grindhouse Movie Trailers</i></a></span></p>
    
    <hr />
    
    &nbsp;

    to simply

    <p align="right"><span style="font-size: 24px; font-family: doublefeature20;"><a href="https://www.youtube.com/c/GrindhouseMovieTrailers" target="_blank" rel="nofollow noopener noreferrer"><i>Grindhouse Movie Trailers</i></a></span></p>

    But doing a basic search, it does not find the text etc. unless I remove the hr and no space stuff.

    I do have the search set for multiline but I just need to know what settings I need to make sure SE finds the code so I can replace it

    Please help

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author John Godley

    (@johnny5)

    A search will only match if it’s exactly the same, so maybe there is some difference. What is your search?

    Thread Starter It’s All Entertainment

    (@max1138)

    The search, input into the search box is:

    <p align="right"><span style="font-size: 24px; font-family: doublefeature20;"><a href="https://www.youtube.com/c/GrindhouseMovieTrailers" target="_blank" rel="nofollow noopener noreferrer"><i>Grindhouse Movie Trailers</i></a></span></p>
    
    <hr />
    
    &nbsp;

    The html is pretty much identical on every page/article it is on

    Here’s a screen cap

    https://snipboard.io/UwRiGX.jpg

    Thread Starter It’s All Entertainment

    (@max1138)

    As an addition, posting this gets results:

    <p align="right"><span style="font-size: 24px; font-family: doublefeature20;"><a href="https://www.youtube.com/c/GrindhouseMovieTrailers" target="_blank" rel="nofollow noopener noreferrer"><i>Grindhouse Movie Trailers</i></a></span></p>

    Posting this, doesn’t:

    <p align="right"><span style="font-size: 24px; font-family: doublefeature20;"><a href="https://www.youtube.com/c/GrindhouseMovieTrailers" target="_blank" rel="nofollow noopener noreferrer"><i>Grindhouse Movie Trailers</i></a></span></p>
    
    <hr />
    
    &nbsp;
    Plugin Author John Godley

    (@johnny5)

    If I post that multiline content into a post and then do a multiline search, it is found. As mentioned earlier, is it possible that there is a difference on your site? Maybe there are additional characters you are missing.

    Thread Starter It’s All Entertainment

    (@max1138)

    Not that I can find

    🙁

    Plugin Author John Godley

    (@johnny5)

    Your text, as pasted here, is working for me without any issues or special settings needed. Maybe you can try to create a similar post, using the text copied from here, and see if it is found.

    Thread Starter It’s All Entertainment

    (@max1138)

    Ack, doesn’t work

    Looks like a post by post edit is in my future

    Thanks for the help.

    Plugin Author John Godley

    (@johnny5)

    It works for me, and the plugin is capable of doing the task. Why it doesn’t work for you I don’t know, and it’s likely to be something to do with your set up or you are doing something else to affect the search. You could try splitting the search up a bit until you find exactly what part is not matching. For example, can you find the &nbsp; on its own. Then with a new line before it, then with the the hr etc.

    Thread Starter It’s All Entertainment

    (@max1138)

    Oh, I know it’s capable, I’ve used it for years, must be something to do with Automattics (WordPress.com) set up

    I’ll keep trying

    🙂

    Thread Starter It’s All Entertainment

    (@max1138)

    Weird, it turns out that although in the post Code it was

    <hr />
    
    &nbsp;

    But the actual culprit was

    <hr />
    
    <em><span style="font-size: 18px; font-family: Butcherman;"> </span></em>

    Had to delve into the wp_post.sql to find it but inputting the above worked and has saved me a helluva lotta time.

    Thanks

    🙂

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.