• Resolved kingph

    (@tmmpanashe)


    Hi i’m trying to replace the following code

    <h2 class="site-title"> <a href="https://pixie.tmmbuilds.com/" rel="home"> The Curious Pixie </a></h2>
    

    with

    <p class="site-title"> <a href="https://pixie.tmmbuilds.com/" rel="home"> The Curious Pixie </a></p>
    

    but it’s not working, can you please help, thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    Chances are that the Find is off somehow. I would start building out the Find piece by piece until you identify the portion that doesn’t match properly. For example, first replace just the h2 and then add the link and then add the closing tags.

    Also, be sure you’re using “view source” in your browser to get the actual code in the page. Using the “inspect” feature will typically lead to problems.

    If you have the Find code correct, you should be able to search for it while “viewing source” and a match should be found. When I search the URL you’ve provided, I don’t see a match for what you’ve specified.

Viewing 1 replies (of 1 total)
  • The topic ‘The search and replace is not working for the following code string’ is closed to new replies.