H2 after search page

  • Sofie
    Sofie
    Senior Member
     
    136 points

    Hello,

    I want to add a H2 after the search results, but when I try to edit the code in the editor, I get a message that it’s not possible to change the code.

    How can I change the page (for example https://vakantieplatform.com/vakantiebestemming/acapulco/) and add a H2 after the coupons?

    Thanks,
    Sofie


    JamesD
    JamesD
    Titan
     
    652 points

    Hello Sofie,

    Have a couple questions…
    – Which theme/child theme are you using?
    – Are you using Page Builder?


    Sofie
    Sofie
    Senior Member
     
    136 points

    I’m using the coupon September 2016 – Blue theme

    I’m using the page builder for the homepage and some other pages, but not for this page. It’s a page from the coupon September 2016 – Blue theme.


    JamesD
    JamesD
    Titan
     
    652 points

    Ok, thank you.

    Note: Don’t forget to make a backup before editing.

    Copy the file “/themes/CP/search-results.php”
    to “/themes/template_coupon_sep_2016_blue/search-results.php”

    You can add your HTML at the very bottom underneath everything else.

    <?php get_template_part( 'search', 'noresults' ); ?>
    
    <?php endif; ?>
    
    <?php } ?>
    <!-- PLACE YOUR HTML DOWN HERE -->

    Is that what you’re trying to do?


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.