Unusual behavior after modifying a php file
-
In header.php of the Vantage Premium theme, I have placed <?php include(‘lemenu.php’); ?> just before <div id=”main” class=”site-main”> to display a menu of my own. Works great.
In this lemenu.php, after displaying my menu, I have placed:<?php
if ( is_single(‘123’)) {
include(‘lemenumembres.php’);
}
?>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 <?php include(‘lemenu.php’); ?> from header.php and the first menu stops displaying but… the second one still does.
I have no cache plugin, and I have emptied the cache of my browser (many times), I have also tried with different browsers never having displayed that page, stille the same.Can someone tell me what I dont understand?
The blog I need help with is: (visible only to logged in users)
-
Hello there,
We provide support here only for WordPress.COM hosted blogs. We do not provide support for WordPress.ORG software installs. Your site is not hosted by wordpress.COM and you are posting to the wrong support forum.
WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/
If you don’t have a username account at WordPress.ORG click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the support forums there.
Resetting your WordPress.ORG password http://codex.wordpress.org/Resetting_Your_Password
WordPress.org support docs are at https://codex.wordpress.org/Main_Page
- The topic ‘Unusual behavior after modifying a php file’ is closed to new replies.