![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
13/03/2016, 19:43
|
| | Fecha de Ingreso: marzo-2016
Mensajes: 3
Antigüedad: 8 años, 11 meses Puntos: 0 | |
Respuesta: Problema al modificar PHP <?php
$menu_name = 'primary-classifiedtheme-header';
if ( ( $locations = get_nav_menu_locations() ) && isset( $locations[ $menu_name ] ) ) {
$menu = wp_get_nav_menu_object( $locations[ $menu_name ] );
$menu_items = wp_get_nav_menu_items($menu->term_id);
foreach ( (array) $menu_items as $key => $menu_item ) {
$title = $menu_item->title;
$url = $menu_item->url;
if(!empty($title))
echo '<li><a href="' . $url . '">' . $title . '</a></li>';
}
}
?>
<li> <a href="<?php echo classifiedTheme_blog_link(); ?>" class="<?php echo $class_blg; ?>"><?php echo __('Blog',"ClassifiedTheme"); ?></a> </li> <?php
$blog_clthm = get_option('classifiedTheme_enable_blog');
if($blog_clthm != "no") :
?>
<li><a href="<?php echo classifiedTheme_post_new_link(); ?>" class="<?php echo $class_post; ?>"><?php echo __("Publicar","ClassifiedTheme"); ?></a> </li>
<?php
<?php
endif;
en esta parte quise borrar el boton de blog y borre todo el codigo que hacia referencia a eso, pero despues me perdi en donde lo tenia que reponer y como |