Concursos - Win With Us!
¿Quieres ganar premios, entonces entra en nuestros concursos para ganar!

!!! Disfrutar mientras dure !!!

Pregunte Salomon está ofreciendo 10 Reviews
¿Tiene usted un producto que vale la pena o sitio web que necesita un poco de atención extra? Entonces has venido al lugar correcto. Obtener una revisión gratuita en AskSalomon para generar buzz y trafico sin precedentes.

GRATIS PARA LOS PRIMEROS 10 PEDIDOS     Más adelante....ya veremos ;-)

 

Obtener una revisión gratuita hoy!


topbg

Exclude categories from sidebar in WordPress 2.7+

Publicado por AskSalomon en Trucos para Blogeros, Desarrollo Web

How to Exclude specific categories from being displayed in the sidebar in WordPress 2.7 and beyond. In the following simple solution, I show you How to keep select categories from displaying in your sidebar on your WordPress pages and posts. This is very useful if you have a lot of categories, or have changed the content of your blog, have been indexed for the content and no longer wish to use or display specific categories on your WordPress site. Upon completion of this tutorial, the permalink structure of the hidden categories are still made available to the search engines, however, the categories you have chosen to hide are no longer displayed from your blog sidebar to the visitor.

Exclude Categories from displaying in the Sidebar – wordpress 2.7

  1. Locate which categories you would like to hide from displaying in the sidebar. Category ID’s can be found from the WordPress Admin Panel under Manage-> Categories. Simply hover over a category and the cat_ID=# will be listed at the bottom of your browser window.
  2. Using an FTP client, FTP to your WordPress installation
  3. Navigate to wp-includes/widgets.php and copy widgets.php to your desktop
  4. Open widgets.php with a text editor and find the following line:
  5. $d = $options[$number]['dropdown'] ? ‘1′ : ‘0′;

  6. Under this line, add the following line:
  7. $ex = “1,2,3″;

  8. Change 1,2,3 to reflect the category ID’s you would like to exclude
  9. Next, find the following line:
  10. $cat_args = array(‘orderby’ => ‘name’, ’show_count’ => $c, ‘hierarchical’ => $h);

  11. Replace it with the following line,
  12. $cat_args = array(‘orderby’ => ‘name’, ’show_count’ => $c, ‘hierarchical’ => $h, ‘exclude’ => $ex );

  13. Save the widgets.php file and upload it to your wp-includes directory on your server
  14. Go view your site. Your sidebar category widget should now be displaying all but the excluded categories.

That was it. Enjoy it :)

No falte a las futuras entradas. Suscríbase ahora para la Ask Salomon Feeds (Es gratis!).

¿Es usted webmaster? If the answer is yes, you might be interested in the following:

Últimas Noticias Webmaster
Foro Webmaster
Presentación Directorio Libre

Where Webmasters from all over the World help each other with their Online Ventures.



Aún sin comentarios »

Introducing The Heartfelt…

Publicado por AskSalomon en Otras Cosas

Introducing The Heartfelt...

Ver más (24 nuevos diseños añadido hoy)

Fuente: www.techeblog.com

Visita AskSalomon leer más

¿Es usted webmaster?

Últimas Noticias Webmaster
Foro Webmaster
Presentación Directorio Libre

Cuando Webmasters de todo el mundo se ayudan mutuamente.



Aún sin comentarios »

britneyspears.com

Publicado por AskSalomon en Otras Cosas

britneyspears.com

Ver más (24 nuevos diseños añadido hoy)

Fuente: www.techeblog.com

Visita AskSalomon leer más

¿Es usted webmaster?

Últimas Noticias Webmaster
Foro Webmaster
Presentación Directorio Libre

Cuando Webmasters de todo el mundo se ayudan mutuamente.



Aún sin comentarios »

topbg
topbg

Patrocinadores del Blog


Advertise Here
Seo Elite 4.0
Making Pay-Per_Click Bid Management Easier
Advertise Here
topbg

AskSalomon en Twitter


@ AskSalomon Seguidores: 3610

 

    | Soluciones Totales de Marketing en Internet. DINÁMICA DE SOFTWARE |     | ¿Es usted webmaster? Visite los foros para webmasters de BevyHost |

 

 

| Política de privacidad | | Sobre AskSalomon | | Contacto |

Powered by WP Robot