• Resolved lazyym

    (@lazyym)


    I have been using this plugin for years and love it! I have only done basic replaces, nothing with any real difficulty. I am struggling with how to do so.

    In this case I have two buttons with two different plugins using the same “Send Message” text.

    I need to change one from Send Message to Send Email.

    The “string” I think I find is <?php esc_html_e("Send Message", "adverts") ?>

    How specifically do I do this? Tell it to me like I’m five!

    Thanks!

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

    (@marios-alexandrou)

    You need to view the source of the page view your browser. Look for the string you want to replace in the HTML source. You can’t replace PHP with this plugin since the plugin waits for all PHP to execute before replacing anything.

    Thread Starter lazyym

    (@lazyym)

    Thanks Marios, I use firefox. I need more details on finding this. I don’t see a source of “the page view your browser” option in Developer…..

    Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    I use Chrome. For me I right-click on a page and the option appears in the drop-down.

    Thread Starter lazyym

    (@lazyym)

    I don’t find anything closely related to a querystring that I see in examples in that source code…..

    Can I email the page to you somewhere? I’m not comfortable sending links to my site on wordpress. I get too many scammers and spammers.

    Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    I’m not sure what you mean by querystring. These are the instructions I found for viewing source with Firefox:

    1. Open Mozilla Firefox and navigate to the web page of your choice.
    2. Press the Alt key to bring up the browser’s menu bar.
    3. Select Tools, Web Developer, and then Page Source.

    Once you are looking at the source, search for the button text you want to replace and copy the HTML for the button into the Find and Replace plugin. Paste it in both the Find and Replace boxes, but also update the Replace box with the new text you want to use.

    Thread Starter lazyym

    (@lazyym)

    It’s not working.

    The html I find is

    <input name="adverts_contact_form" type="submit" value="Send Message" class="adverts-button" />

    When I paste that in find and then this in Replace…

    <input name="adverts_contact_form" type="submit" value="Send Email" class="adverts-button" />

    Nothing happens….

    • This reply was modified 7 years ago by lazyym.
    Thread Starter lazyym

    (@lazyym)

    Never Mind! I Found it. There were two instances and I found the right one. Very cool! Thank you!

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

The topic ‘Querystring?’ is closed to new replies.