sparoow Posted November 17, 2011 Report Share Posted November 17, 2011 hola a todos Como estamos, saben tengo una pagina web que estoy armando con plataforma wordpress, son mis inicios en esto de las web, he manejado blogger que para mi es mas fácil, pero me salio un Poncho!!! en mi plantilla existe un titulo llamado "Latest News" y quiero cambiarlo a español tal vez por otro nombre...pero no puedo dar con el nombre, en el admin de wordpress sale... latest_new.php = pero no encuentro el código para cambiarlo... alguien me puede dar una mano? Gracias a Todos Saludos Link to comment Share on other sites More sharing options...
rkstro Posted November 17, 2011 Report Share Posted November 17, 2011 Pero ese titulo en que parte de la estructura esta? en el header, en la parte donde se muestran los posts, en el sidebar... donde? es un widget?Depende de eso, en donde este en el codigo, y tambien existe la posibilidad que el theme use traducciones, en cuyo caso en una de esas no encuentras el texto como tal, sino que algo parecido dentro de una funcion que se encargara de mostrar el texto adecuado dependiendo del idioma Link to comment Share on other sites More sharing options...
cañangasñangas Posted November 17, 2011 Report Share Posted November 17, 2011 ctrl+f = "last news" --> "noticias recientes" Link to comment Share on other sites More sharing options...
sparoow Posted November 17, 2011 Author Report Share Posted November 17, 2011 Mira en la programación aparece (latest-news.php) aparece lo siguiente: aquí podría cambiarlo? Gracias <!-- LEFT COLUMN SECTION --><div id="leftcol"> <h2 class="title"><?php _e('Latest News', 'warrior'); ?></h2> <div class="inner"> <ul class="news"> <?php$exclude_cat = stripslashes( get_option($shortname.'_exclude_cat_latest_news') ); // Remove any space$exclude_cat = str_replace(' ', '', $exclude_cat); // Explode the string into array$exclude_cat = explode(',', $exclude_cat); $latest_news_total = stripslashes( get_option($shortname.'_latest_news_total') ); // Start fetching content$args=array('showposts' => $latest_news_total, 'category__not_in' => $exclude_cat, 'paged' => $paged, 'post__not_in' => $post_id_array);query_posts($args);if (have_posts()) : while (have_posts()) : the_post();?> <li> <div class="thumb"> <?php warrior_thumbnail( 'both', '300', '130', 'post-thumb', get_the_title()); ?> <span class="category"><?php the_category(', '); ?></span> </div> <h3 class="title"><a href="<?php the_permalink() ?>" title="<?php echo the_title(); ?>"><?php echo warrior_post_title('35'); ?></a></h3> <div class="meta"><?php echo get_the_date( get_option($shortname.'_date_format') ); ?> - <?php comments_popup_link( __( 'No Comment Yet', 'warrior' ), __( '1 Comment', 'warrior' ), __( '% Comments', 'warrior' ) ); ?></div> <?php echo warrior_excerpt('180'); ?> </li> <?php endwhile; ?> <?php endif; ?> </ul> <?phpif(function_exists('wp_pagenavi')):wp_pagenavi();else:?><div class="navigation clearfix"><div class="prev"><?php next_posts_link(__('« Older Entries', 'warrior')) ?></div><div class="next"><?php previous_posts_link(__('Newer Entries »', 'warrior')) ?></div></div><?php endif; ?> <?php wp_reset_query(); ?> </div> </div><!-- END LEFT COLUMN SECTION --> Link to comment Share on other sites More sharing options...
AshWilliams Posted November 17, 2011 Report Share Posted November 17, 2011 <!-- LEFT COLUMN SECTION --> <div id="leftcol"> <h2 class="title"><?php _e('Latest News', 'warrior'); ?></h2> <div class="inner"> <ul class="news"> Por <!-- LEFT COLUMN SECTION --> <div id="leftcol"> <h2 class="title"><?php _e('Noticias Recientes', 'warrior'); ?></h2> <div class="inner"> <ul class="news"> Eso?? Saludos Link to comment Share on other sites More sharing options...
rkstro Posted November 18, 2011 Report Share Posted November 18, 2011 <!-- LEFT COLUMN SECTION --> <div id="leftcol"> <h2 class="title"><?php _e('Latest News', 'warrior'); ?></h2> <div class="inner"> <ul class="news"> Por <!-- LEFT COLUMN SECTION --> <div id="leftcol"> <h2 class="title"><?php _e('Noticias Recientes', 'warrior'); ?></h2> <div class="inner"> <ul class="news"> Eso?? Saludos Eso mismo iba a decir, en su defecto simplemente dejalo como: <!-- LEFT COLUMN SECTION --> <div id="leftcol"> <h2 class="title">Noticias Recientes</h2> <div class="inner"> <ul class="news"> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now