Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Melodie dance veche

RIP Shifty Shellshock

Daca nu ar conta salariul, ce mes...

Racordare la apa termosemineu
 Mi-am luat 4x4 si vreau sa-l testez

Recomandare laptop cu luminozitat...

Cautarea pe google android nu merge

Caut serviciu serios de captura v...
 Frauda magazin online

AC Woods Venezia Smart - nu races...

podea ciment denivelata

Îndepartare bule folie reflectoriz...
 Revista imobiliara cu poze... cir...

Recomandare soundbar pentru laptop

Veți renunța in 2025 la...

Coaxial pentru cablare casa
 

Cum scot paginile din meniu [wordpress]

- - - - -
  • Please log in to reply
6 replies to this topic

#1
tinkkker

tinkkker

    Junior Member

  • Grup: Members
  • Posts: 132
  • Înscris: 28.12.2010
Salut, cum spune si titlul vreau sa sterg toate paginile din meniu:
[ http://img405.imageshack.us/img405/3897/9mji.png - Pentru incarcare in pagina (embed) Click aici ]
Adica Home/About/Contact etc.Am incercat din dashboard in Pages am sters totul si am incercat si in Apparence la Menu, dar tot nu dispare...deci unde trebuie sa intru sa scot acel "home"

#2
Andreysc7

Andreysc7

    3D Modeler / Automotive Artist

  • Grup: Senior Members
  • Posts: 7,734
  • Înscris: 05.02.2012
1. Depinde de pagini : in dashboard, ii dai la meniul "pages" si stergi de acolo
2. Daca vrei sa pastrezi continutul paginii dar sa nu fie vizibila. Instaleaza plugin-ul "hide pages"

Dar pentru "Home" nu am incercat niciodata sa il scot. Dar am gasit asta pe un site :

Quote

If it is in Appearance > Menu (on the right side) you can delete it from the menu. Click the "Posts" page there on the right side of the Appearance > Menu screen, and the dialog will open down. One of the options there is "delete." Go ahead and click that.
This ONLY deletes it from the menu -- it won't delete the page from your site.
Let me know if that's not clear.
Paul

Edited by Andreysc7, 06 July 2013 - 14:54.


#3
DarkAngelBv

DarkAngelBv

    === Proud owner of === ++++ Audi & Opel ++++

  • Grup: Senior Members
  • Posts: 12,747
  • Înscris: 24.03.2006
Nu este universal-valabil. Depinde de tema. Poate ai o optiune in admin, poate trebuie sa modifici ceva in header.php sau poate exista alta clasa ce se ocupa de meniu.

#4
tinkkker

tinkkker

    Junior Member

  • Grup: Members
  • Posts: 132
  • Înscris: 28.12.2010
[ http://imageshack.us/a/img842/1182/4vv9.png - Pentru incarcare in pagina (embed) Click aici ][ http://imageshack.us/a/img823/2986/fz7d.png - Pentru incarcare in pagina (embed) Click aici ]
Cum am spus am sters tot, am incercat si 2 pluginuri de hide pages dar tot apare "home"...ramane ultima solutie sa ma uit prin header...

#5
tinkkker

tinkkker

    Junior Member

  • Grup: Members
  • Posts: 132
  • Înscris: 28.12.2010
scuze de dublu post...m-am uitat in header si ma gandeam sa sterg unde gasesc "home" dar am gasit in vreo 4 locuri...si nu cred ca trebuie sa sterg de acolo :)) sa nu stric ceva
<?php
// Exit if accessed directly
if ( !defined('ABSPATH')) exit;

/**
* Template for displaying the main header
*
* @file		   header.php
* @package		Celestial Lite
* @since		  Celestial Lite 1.0 
* @author		 Styled Themes
* @copyright	  2012-2013 Styledthemes.com
* @license		license.txt
*/
?>
<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8)  ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width" />
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>
  <div id="st-wrapper" style="border-color: <?php echo get_theme_mod( 'page_top_bar', '#3c3f41' ); ?>;">
   <header id="branding" role="banner" style="background-color:<?php echo get_theme_mod( 'header_submenu_bg', '#f6f6f6' ); ?>; border-color:<?php echo get_theme_mod( 'header_topline', '#ffffff' ); ?>; ">
	<div class="container">
	 <div class="row-fluid">
	
  <div class="span4">	
   <?php
   $logostyle = get_theme_mod( 'logo_style', 'default' );
	switch ($logostyle) {
	case "default" : // default theme logo ?>
	 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
	  <div id="logo"><img src="<?php echo get_template_directory_uri() ; ?>/images/demo/demo-logo.png" alt="<?php bloginfo( 'name' ); ?>" /></div>
	 </a>
	<?php break;
	case "custom" : // your own logo ?>
	 <?php if ( get_option('my_logo') ) : ?>
	  <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
	   <img src="<?php echo get_option( 'my_logo' ); ?> "/>
	  </a>
	 <?php endif; ?>   
	<?php break;
	case "text" : // text based title and site description ?>
	 <hgroup id="st-site-title">
	  <h1 id="site-title">
	   <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
		<span><?php bloginfo( 'name' ); ?></span>
	   </a>
	  </h1>
	  <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
	 </hgroup>  
	<?php break;
	}
   ?>   
  </div>
	  
	  <nav id="site-navigation" role="navigation" class="main-navigation span8">
	   <div class="navbar">
		<div class="navbar-inner">
		 <div class="container-fluid nav-right">	   
		  <!-- .btn-navbar is used as the toggle for collapsed navbar content -->		  
		  <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
		   <span class="icon-bar"></span>
		   <span class="icon-bar"></span>
		   <span class="icon-bar"></span>
		  </a>
		  <div class="nav-collapse">
		   <?php wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => false,'menu_class' => 'menu nav pull-right', 'menu_id' => 'primary-menu','fallback_cb' => 'wp_page_menu', ) ); ?>
		  </div>
		 </div>
		</div>
	   </div>
	  </nav>
	 
	 </div>
	</div>
   </header>

<div id="st-socialbar-wrapper" style="background:<?php echo get_theme_mod( 'social_bg', '#393c3f' ); ?> url('<?php echo get_template_directory_uri() ; ?>/images/socialbar-bg.png') repeat 0 0;">
  <div class="container">
   <div id="st-socialbar">
	<?php if ( get_theme_mod('twitter_on','0') ) : ?>
	 <a id="st-twitter" title="" href="<?php echo get_theme_mod( 'twitter_link', '#' ); ?>" target="_blank"></a>
	<?php endif; ?>
	<?php if ( get_theme_mod('facebook_on','0') ) : ?>
	 <a id="st-facebook" title="" href="<?php echo get_theme_mod( 'facebook_link', '#' ); ?>" target="_blank"></a>
	<?php endif; ?>
	<?php if ( get_theme_mod('google_on','0') ) : ?>
	 <a id="st-google" title="" href="<?php echo get_theme_mod( 'google_link', '#' ); ?>" target="_blank"></a>
	<?php endif; ?>   
	<?php if ( get_theme_mod('linkedin_on','0') ) : ?>
	 <a id="st-linkedin" title="" href="<?php echo get_theme_mod( 'linkedin_link', '#' ); ?>" target="_blank"></a>
	<?php endif; ?>
	<?php if ( get_theme_mod('pinterest_on','0') ) : ?>
	 <a id="st-pinterest" title="" href="<?php echo get_theme_mod( 'pinterest_link', '#' ); ?>" target="_blank"></a>
	<?php endif; ?>
   </div>
  </div>
</div>

<?php if ( is_front_page() ) : // show the front page or pages with the header image or widget image with the curve graphic ?>

  <div id="st-banner0-wrapper" style="background-color:<?php echo get_theme_mod( 'banner_background', '#446b9a' ); ?>; border-color:<?php echo get_theme_mod( 'banner_top_line', '#525458' ); ?>; padding:<?php echo get_theme_mod( 'banner_fp_bg_padding', '0px' ); ?> ;">

   <?php if ( ! dynamic_sidebar( 'sidebar-0' ) ) : ?>
	<?php if ( get_theme_mod('demo_on','0') ) : ?>
	 <img src="<?php echo get_template_directory_uri() ; ?>/images/demo/showcase-banner.jpg" alt="sample banner" />
	<?php endif; ?>
   <?php endif; // end sidebar widget area ?>

  <?php $header_image = get_header_image();
   if ( ! empty( $header_image ) ) : ?>
	<div id="st-header-image" >   
	 <img src="<?php header_image(); ?>" class="header-image center" height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="<?php bloginfo( 'name' ); ?>" />   
	</div>
  <?php endif; ?>

   <?php if ( get_theme_mod('curve_on','1') ) : ?>
	<div id="st-banner0-curve"><img src="<?php echo get_template_directory_uri() ; ?>/images/showcase-curve.png" alt="banner curve" /></div>
   <?php endif; ?>
  </div>

<?php else : // otherwise show the header or image without the curved bottom ?>

  <div id="st-banner1-wrapper" style="background-color:<?php echo get_theme_mod( 'banner_background', '#446b9a' ); ?>; padding:<?php echo get_theme_mod( 'banner_bg_padding', '7px 0px' ); ?> ;">
   <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
	<div class="widget-banner1">
	 <?php dynamic_sidebar( 'sidebar-1' ); ?>
	</div><!-- .widget-banner2 -->
   <?php endif; ?>
  <?php if ( get_theme_mod('header_all','1') ) : ?>
   <?php $header_image = get_header_image();
	if ( ! empty( $header_image ) ) : ?>
	 <div id="st-header-image" >
	  <img src="<?php echo esc_url( $header_image ); ?>" class="header-image center" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="<?php bloginfo( 'name' ); ?>" />
	 </div>
   <?php endif; ?>
  <?php endif; ?>
  </div> 

<?php endif; ?>


<div id="st-content-wrapper" style="background-color:<?php echo get_theme_mod( 'content_bg', '#ffffff' ); ?>; color:<?php echo get_theme_mod( 'content_text', '#848484' ); ?>">
  <div class="container">
   <div class="row">
	 <?php if ( !is_front_page() ) : ?>
   <div id="breadcrumbs">
	<?php if(function_exists('bcn_display'))
	{
	 bcn_display();
	}?>
   </div>
  <?php endif; ?>
	<div id="st-cta-wrapper"> 
	 
	 <div id="st-cta" class="span12">
	  <?php if ( is_active_sidebar( 'sidebar-21' ) ) : ?>
	   <?php dynamic_sidebar( 'sidebar-21' ); ?>
	  <?php endif; ?>
	 </div>  
	  
	</div>
   </div>
  <div class="row">



#6
1Gabriel

1Gabriel

    New Member

  • Grup: Members
  • Posts: 18
  • Înscris: 05.01.2012
Salut!
Pentru a sterge toate paginile, trebuie sa stergi urmatorul cod din header.php:

	 <nav id="site-navigation" role="navigation" class="main-navigation span8">
	 <div class="navbar">
	 <div class="navbar-inner">
		 <div class="container-fluid nav-right">	
		 <!-- .btn-navbar is used as the toggle for collapsed navbar content -->		
		 <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
		 <span class="icon-bar"></span>
		 <span class="icon-bar"></span>
		 <span class="icon-bar"></span>
		 </a>
		 <div class="nav-collapse">
		 <?php wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => false,'menu_class' => 'menu nav pull-right', 'menu_id' => 'primary-menu','fallback_cb' => 'wp_page_menu', ) ); ?>
		 </div>
		 </div>
	 </div>
	 </div>
	 </nav>


Pentru a scapa doar de acel home, trebuie sa inlocuiesti in functions.php codul:
$args['show_home'] = true;

cu
$args['show_home'] = false;


Edited by 1Gabryel, 06 July 2013 - 20:15.


#7
tinkkker

tinkkker

    Junior Member

  • Grup: Members
  • Posts: 132
  • Înscris: 28.12.2010
Mersi mult 1Gabryel am rezolvat :D

Anunturi

Chirurgia endoscopică a hipofizei Chirurgia endoscopică a hipofizei

"Standardul de aur" în chirurgia hipofizară îl reprezintă endoscopia transnazală transsfenoidală.

Echipa NeuroHope este antrenată în unul din cele mai mari centre de chirurgie a hipofizei din Europa, Spitalul Foch din Paris, centrul în care a fost introdus pentru prima dată endoscopul în chirurgia transnazală a hipofizei, de către neurochirurgul francez Guiot. Pe lângă tumorile cu origine hipofizară, prin tehnicile endoscopice transnazale pot fi abordate numeroase alte patologii neurochirurgicale.

www.neurohope.ro

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate