BLACK FRIDAY & CYBER MONDAY SALE! 30% DISCOUNT!! Coupon code:bf30 Enjoy!!!

which file to add code just below header on front page

Home Forums Spacious Free which file to add code just below header on front page

This topic contains 3 replies, has 2 voices, and was last updated by  Rajesh 2 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1384231

    forsythvicky
    Participant

    Hello

    I want to add a bit of code below the header and before the widgets on the front page (a static home page). I have tried editing page.php, index.php, content.php and haven’t had any joy. Any ideas where I should add the code?

    Thanks in advance for any ideas

    #1384332

    Rajesh
    Moderator

    Hi @forsythvicky,

    You can make a child theme and insert the code in the new business.php file.
    You can take a reference to make a child theme from the following link.
    https://themegrill.com/blog/tutorial-creating-wordpress-child-theme/

    Thanks.

    #1384415

    forsythvicky
    Participant

    Thank you, I have created a child theme, I hadn’t realised it would be in the business.php file.

    Thanks

    #1384620

    Rajesh
    Moderator

    Hi @forsythvicky,

    If you get any query later, feel free to ask again.

    Thanks.

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

You must be logged in to reply to this topic.