Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello!

    With the back button code, which in my case is under the contact form of each advertisement, would it not be useful for the search engine? It is an idea, I speak from inexperience: __ D

    Greetings

    
    add_action ("adverts_tpl_single_bottom", function () {
    ???? remove_action ("adverts_tpl_single_bottom", "adverts_single_contact_information_box", 2000);
    ???? add_action ("adverts_tpl_single_bottom", "my_adverts_single_contact_information_box", 2000);
    }, 100);
    
    function my_adverts_single_contact_information_box ($ post_id) {
    
    ???? ?>
    <input type = "button" onclick = "history.back ()" name = "Go back" value = "Go back">
    
    ???? <? php
    }
    
    • This reply was modified 4 years, 8 months ago by Yui. Reason: please use CODE button for proper formatting
    Thread Starter nmccainjr

    (@nmccainjr)

    Thanks,

    I wanted to put on the category page, but you got me on the right track

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Go back one page’ is closed to new replies.