• Hi – I have a client with a website that was created by a designer years ago.

    I’m trying to help her get rid of the Revolution Slider that shows at the top of the pages and just put a static image in the theme editor. My skill set would allow me to add a static image to the header, but that’s about it.

    I found the header.php and I believe that file is displaying the Revolution Slider header.

    Could I just delete that file? I was thinking to delete (but save) the code in the file as a test, but I”m not sure if that would mess it up also.

    Any help would be very much appreciated!!!

    • This topic was modified 3 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    I found the header.php and I believe that file is displaying the Revolution Slider header.

    Since you use a commercial theme or plugin and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations: https://www.sliderrevolution.com/

    Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme or plugin is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.

    Commercial products are not supported in these forums.

    Thread Starter kat123

    (@kat123)

    OK. I thought since the header.php file was part of the WordPress infrastructure, it wasn’t really a slider revolution problem. It could have been any slider software and I’d still need to know if I’ll break the site if I delete a header.php

    No?

    i’d guess you probably can’t delete header.php.

    If you delete the full header.php file the site will run into trouble. Are you able to see any code there that might have been added to insert the slider? Or is there a header.php file in a child theme, which is ideally where modifications to theme files should be carried out?

    Thread Starter kat123

    (@kat123)

    Hi barnez, and thanks so much for your reply.

    I found the header code in the header.php file in the child theme and replaced it with an image.

    It looks great, and I thank you so much for pointing me in the right direction!

    Hi kat123. That’s great you were able to locate and replace the code. And that the site uses a child theme for theme modifications. Thanks for letting us know you resolved the issue, and best wishes with revamping the site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can I delete a Header.PHP file?’ is closed to new replies.