To nie takie proste. Skórka, której używasz to przerobiony, darmowy pluto? Czy coś innego?
Generalnie To od tego jest albo header.php albo nav.php ale w tym przypadku może być inaczej.
Tak, dokładnie to ten motyw.
nav.php nie ma.
Wklejam za to header.php
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <main id="main">
*
* @package Pluto
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<?php do_action( 'pluto-before' ); ?>
<header id="masthead" class="site-header" role="banner">
<div class="site-branding">
<?php if((of_get_option('logo', true) != "") && (of_get_option('logo', true) != 1) ) { ?>
<h1 class="site-title logo-container"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<?php
echo "<img class='main_logo' src='".of_get_option('logo', true)."' title='".esc_attr(get_bloginfo( 'name','display' ) )."'></a></h1>";
}
else { ?>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php
}
?>
</div>
</header><!-- #masthead -->
<nav id="site-navigation" class="main-navigation" role="navigation">
<div id="nav-container">
<h1 class="menu-toggle"><?php _e( 'Menu', 'pluto' ); ?></h1>
<div class="screen-reader-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'pluto' ); ?>"><?php _e( 'Skip to content', 'pluto' ); ?></a></div>
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
</div>
</nav><!-- #site-navigation -->
<div id="content" class="site-content">
<?php get_template_part('slider', 'bx'); ?>
<nav id="site-navigation" class="main-navigation" role="navigation">
<div id="nav-container">
<h1 class="menu-toggle"><?php _e( 'Menu', 'pluto' ); ?></h1>
<div class="screen-reader-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'pluto' ); ?>"><?php _e( 'Skip to content', 'pluto' ); ?></a></div>
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
</div>
Skup się na tej sekcji. Spróbuj na sam początek wkleić po:
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
Niestety nadal nic.
Próbowałam dodać to jako widget, ale jedyny możliwy w tym motywie to sidebar.
Czy da się jakoś uaktywnić inne widgety?