Unusual behavior after modifying a php file
I am used to modifying and testing php pages. But this time…
In header.php of Vantage Premium theme, I have placed just before to display a menu of my own. Works great.
In this lemenu.php, after displaying my menu, I have placed:
to display another line of menu if we are on page 123, which is a special page for members. Works great!
BUT…
for testing purpose, and because I have to change the menu lemenumembres.php, I removed the if ( is_single(‘123’)) php block and… the second menu still displays. I have checked the files (header.php, lemenu.php) thru the WP editor, thru FTP, even thru CPANEL file manager and the block is effectively removed. But the content of lemenumembres.php still displays.
I have even removed from header.php and the first menu stops displaying but… the second one still does.
Of course, I have emptied my browser’s cache many times ans I even tried with different browsers who never accessed this page. Still the same.
Can someone tell me what I dont understand?
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
3Hi Belette
Thanks for reaching out. If you’re still working through this problem and would like us to take a look, please send a zipped copy of your child theme to [email protected]. We’ll dive in from there.
Thanks :)
Hi Andrew,
As time goes by, I decided to reinstall WP and the plugins. It is now working. The code is clean, my mind is clear and I’ll never know where it came from…
I am going to live with it.
Thanks for your answer.
Awesome! Really glad to hear you were able to resolve. Thanks for the quick update.
All the best :)
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.