- Home
- Categorie
- Coding e Sistemistica
- WordPress
- Assistenza Wordpress
-
Praticamente si tratta del menu in header.php.
-
Scusa Manetta ma non lo trovo nel nell header.php ne nel menu-page.
Riesci ad aiutarmi
-
Posta header.php
-
eccoil mio header.php
non essendo un utente premium non mi fa inserire i link quindi per postare ho dovuto togliere dei link dal codice<?php global $wp_theme_options; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="1999/xhtml">
<head profile="/xfn/11">
<!--The Title-->
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :: '; } ?><?php bloginfo('name'); ?></title>
<!--The Favicon-->
<?php
require_once( $GLOBALS['ithemes_theme_path'] . '/lib/iThemesFileUtility.php' );$filename = false;
$default_favicon = true;if ( ( 'custom_image' === $wp_theme_options['favicon_option'] ) && ( ! empty( $wp_theme_options['favicon_image'] ) ) ) {
$filename = iThemesFileUtility::get_file_from_url( $wp_theme_options['favicon_image'] );
$default_favicon = false;if ( is_wp_error( $filename ) ) {
echo "<!-- Favicon image error: " . $filename->get_error_message() . "-->\n";$filename = false;
}
}if ( false === $filename )
$default_favicon = true;if ( true === $default_favicon )
echo "<link rel="shortcut icon" href="${wp_theme_options['default_favicon_image']}" type="image/x-icon" />\n";
else {
if ( ! is_wp_error( $filename ) ) {
$thumb = iThemesFileUtility::resize_image( $filename, 16, 16, true );
$type = iThemesFileUtility::get_mime_type( $filename );if ( ! is_wp_error( $thumb ) )
echo "<link rel="shortcut icon" href="${thumb['url']}" type="$type" />\n";
else
echo "<!-- Favicon image generation error: " . $thumb->get_error_message() . "-->\n";
}
else {
echo "<!-- Favicon image error: " . $filename->get_error_message() . "-->\n";
echo "<link rel="shortcut icon" href="${wp_theme_options['default_favicon_image']}" type="image/x-icon" />\n";
}
}
?>
<!--The Meta Info-->
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php wp_meta(); //we need this for plugins ?>
<!--The Stylesheets-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/lte-ie7.css" type="text/css" media="screen" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/lt-ie7.css" type="text/css" media="screen" />
<script src="<?php bloginfo('template_url'); ?>/js/dropdown.js" type="text/javascript"></script>
<![endif]-->
<!--The RSS and Pingback-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); //we need this for plugins ?>
</head>
<body>
<div class="<?php do_action('container_style'); ?>" id="container">
<?php do_action('above_header'); ?>
<div id="header">
<div id="title">
<noscript>
<?php if ( ! empty( $wp_theme_options['ithemes_featured_images']['link'] ) ) : ?>
<a href="<?php echo $wp_theme_options['ithemes_featured_images']['link']; ?>">
<img src="<?php echo $GLOBALS['iThemesFeaturedImages']->get_random_image(); ?>" alt="Header Image" />
</a>
<?php else : ?>
<img src="<?php echo $GLOBALS['iThemesFeaturedImages']->get_random_image(); ?>" alt="Header Image" />
<?php endif; ?>
</noscript>
</div>
<?php if ( ! empty( $wp_theme_options['ithemes_featured_images']['enable_overlay'] ) ) : ?>
<?php if ( ! empty( $wp_theme_options['ithemes_featured_images']['link'] ) ) : ?>
<a href="<?php echo $wp_theme_options['ithemes_featured_images']['link']; ?>">
<?php endif; ?>
<span id="title_overlay">
<?php echo $wp_theme_options['ithemes_featured_images']['overlay_header_text']; ?><?php if ( ! empty( $wp_theme_options['ithemes_featured_images']['overlay_subheader_text'] ) ) : ?>
<span><?php echo $wp_theme_options['ithemes_featured_images']['overlay_subheader_text']; ?></span>
<?php endif; ?>
</span>
<?php if ( ! empty( $wp_theme_options['ithemes_featured_images']['link'] ) ) : ?>
</a>
<?php endif; ?>
<?php endif; ?>
</div><?php do_action('below_header'); ?>
-
In effetti in header.php non c'è il richiamo al menu.
-
e quindi come potrei fare?
-
Che tema usi?
-
**vedi se riesci ad aiutarmi Grazie
**Flexx Theme - Professional 2.0.1 di iThemes
-
L'header è richiamato da <?php do_action('below_header'); ?>
sicuramente avrai una cartella con dentro le varie parti di template.
-
Salve puo' essere mai che nessuno riesce a risolvere il mio problema?