php - xampp or apache not work in some page WordPress -


i install xampp on windows server 2003.

at first move wp on server hosting .

but when open index page know every thing work 3 image source same :

<img class="cover" src="<? bloginfo('template_url'); ?>/images/s1.jpg" alt="[html & css]"/> 

or data :

<li class="<? if(is_home()) echo 'current_page_item'; ?>"><a href="#"> first page</a></li> 

and in page include @ first :

<?  /**   * @package wordpress   * @subpackage magazine_obsession   */    require_once('fn-admin.php');  require_once('thman-settings.php');  require_once('thman-settings-pages.php');    add_action('admin_menu', 'thman_add_menu');     ?> 

and wp-admin not show me when try go wp-admin show top message .

what problem? why same php file execute of them no? problem form apache or wp or xammp ?

how can solve it?

thanks help.

all examples have posted using short (<? ?>) tag variation. either consider changing them <?php ?> or perhaps easier solution enable short_open_tag in php.ini


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -