Problemas con el slide en tema de WordPress

  • Autor Autor diecreative
  • Fecha de inicio Fecha de inicio
diecreative

diecreative

Eta
Diseñador
Verificación en dos pasos activada
Verificado por Whatsapp
Hola a todos, tengo un pequeño y a la vez como gran problema con un slide de un theme de wordpress tengo este template TheSource Theme | the origin of news lo instale todo ok comprendido y fui mejorando el diseño a mi gusto pero me topo con el slide con lo siguiente me lo muestra asi

pagina.webp

Mi gran duda es porque me la muestra pequeña en el slide :S.. Resulta que el slide carga la imagen cuando esta se encuentra como imagen destacada, pero del resto no se como agrandar que quede como el theme original, alguien me podría hechar alguna mano? Gracias
 
¿En dónde tienes instalado el theme?
 
lo estoy trabajando desde mi localhost, jeje me gusta trabajarlo asi antes de subirlo al servidor para agilizar tiempos, pero igual lo subí por si algo era problema de mi localhost y el mismo problema :S

Gracias por tu respuesta 🙂
 
Ok ¿No olvidaste marcar la opción de Full Size?
 
pues cuando cargo la imagen destacada me aseguro que este chuleado el tamaño completo, es que de hecho no la puedo insertar en el post porque no me la carga, toca como imagen destacada, pero de igual manera sigue apareciendo pequeña, me tiene como desesperado este slide, inclusive mirando el codigo del php en freatured.php todo esta normal S:

Gracias por tus respuesta Brownie
 
Acabo de instalar el mismo theme, a mi no me dio problema, vere si hay algo en el código
 
Que version de wordpress estas usando Brownie? Yo estoy trabajando con la ultima, será que es por eso :Z?
 
Ok una pregunta más, ¿Estás utilizando los posts para el slider o para las páginas?

Utilizo la última versión ve: Enlace eliminado
 
pues el theme solo me carga el slide de los post no de las paginas :S.. Es decir me toca crear una nueva entrada normal, y luego ir a establecer imagen destacada y al subir la imagen le doy ps normal imagen destacada y luego guardo todo los cambios y me la termina mostrando asi es raro :/
 
En post_thumbnails_thesource.php / busca que esté así

//featured image size
add_image_size( 'featured-thumb', 1400, 300, true );
 
Efectivamente asi esta :/, me puse a instalarle un plugin AJAX Thumbnail Rebuild las agranda pero no como debe de ser, jmm que estres de template, tu que version de wordpress usas?

Muchas gracias por tu ayuda

Insertar CODE, HTML o PHP:
/* sets predefined Post Thumbnail dimensions */
if ( function_exists( 'add_theme_support' ) ) {
	add_theme_support( 'post-thumbnails' );
	
	//blog page template
	add_image_size( 'ptentry-thumb', 184, 184, true );
	//gallery page template
	add_image_size( 'ptgallery-thumb', 207, 136, true );
		
	//featured image size
	add_image_size( 'featured-thumb', 1400, 300, true );
	
	//recent category image size
	add_image_size( 'recentcat-thumb', 239, 133, true );
	
	//small image size
	add_image_size( 'small-thumb', 74, 74, true );
	
	//index,category image size
	add_image_size( 'entry', get_option($shortname.'_thumbnail_width_usual'), get_option($shortname.'_thumbnail_height_usual'), true );
	
	//page image size
	add_image_size( 'pageimage', get_option($shortname.'_thumbnail_width_pages'), get_option($shortname.'_thumbnail_height_pages'), true );
	
	//single post image size
	add_image_size( 'postimage', get_option($shortname.'_thumbnail_width_posts'), get_option($shortname.'_thumbnail_height_posts'), true );
	
	//portfolio page template
	add_image_size( 'ptportfolio-thumb', 260, 170, true );
	add_image_size( 'ptportfolio-thumb2', 260, 315, true );
	add_image_size( 'ptportfolio-thumb3', 140, 94, true );
	add_image_size( 'ptportfolio-thumb4', 140, 170, true );
	add_image_size( 'ptportfolio-thumb5', 430, 283, true );
	add_image_size( 'ptportfolio-thumb6', 430, 860, true );
	
};
/* --------------------------------------------- */

?>
 
Uso version 3.2.1

Pero yo solo tengo lo siguiente
Insertar CODE, HTML o PHP:
<?php 

/* sets predefined Post Thumbnail dimensions */
if ( function_exists( 'add_theme_support' ) ) {
	add_theme_support( 'post-thumbnails' );
		
	//featured image size
	add_image_size( 'featured-thumb', 1400, 300, true );
	
	//recent category image size
	add_image_size( 'recentcat-thumb', 239, 133, true );
	
	//small image size
	add_image_size( 'small-thumb', 74, 74, true );
	
	//index,category image size
	add_image_size( 'entry', get_option($shortname.'_thumbnail_width_usual'), get_option($shortname.'_thumbnail_height_usual'), true );
	
	//page image size
	add_image_size( 'pageimage', get_option($shortname.'_thumbnail_width_pages'), get_option($shortname.'_thumbnail_height_pages'), true );
	
	//single post image size
	add_image_size( 'postimage', get_option($shortname.'_thumbnail_width_posts'), get_option($shortname.'_thumbnail_height_posts'), true );
	
};
/* --------------------------------------------- */

?>

De ahí hizo que la imagen se hiciera pequeña, no entiendo porque se sigue viendo así el tuyo
 
Que template tan raro, sera buscar otros archivos del mismo template a ver si acaso, muchas gracias Brownie por tu colaboración
 
Último jaja, en featured.php que width tienes?
 
jeje gracias, ps tengo todo esto :S, en definitiva como que me quedare con joomla :S jajaja que template tan raro este de wordpress pero bueno seguire cacharreandole será hasta que encuentre algo por lo que veo muchas gracias, cualquier cosa este es mi msn diecreative@hotmail.com te agradezco ^^

Insertar CODE, HTML o PHP:
<!-- Start Featured -->	
<div id="featured">

	<?php global $ids;
	$ids = array();
	$arr = array();
	$i=1;
			
	$featured_cat = get_option('thesource_feat_cat');
	$featured_num = get_option('thesource_featured_num');
	
	if (get_option('thesource_use_pages') == 'false') query_posts("showposts=$featured_num&cat=".get_catId($featured_cat));
	else { 
		global $pages_number;
		
		if (get_option('thesource_feat_pages') <> '') $featured_num = count(get_option('thesource_feat_pages'));
		else $featured_num = $pages_number;
		
		query_posts(array
						('post_type' => 'page',
						'orderby' => 'menu_order',
						'order' => 'ASC',
						'post__in' => get_option('thesource_feat_pages'),
						'showposts' => $featured_num
					));
	};
	
	while (have_posts()) : the_post(); ?>
		<?php $bgColor = get_post_meta($post->ID, 'Color',true);
		if ($bgColor == '') $bgColor = 'ffffff'; ?>

		<?php $width = 1400;
			  $height = 300;
			  $classtext = '';
				
			  $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext,true);
			  $thumb = $thumbnail["thumb"]; ?>
		
		<div class="slide" style="background: #<?php echo($bgColor); ?> url('<?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, '', true, true); ?>') top center no-repeat;">
			<div class="container clearfix">
				<div class="description">
					<h2 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
					<p class="tagline"><?php _e('Posted by','TheSource') ?> <?php the_author_posts_link(); ?> <?php _e('on','TheSource') ?> <?php the_time(get_option('thesource_date_format')) ?></p>
					<p><?php truncate_post(290); ?></p>
					<a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('Read More','TheSource'); ?></span></a>
				</div> <!-- end .description -->			
			</div> 	<!-- end .container -->	
			
			<div class="top-overlay"></div>
			<div class="overlay"></div>
			
		</div> <!-- end .slide -->
		
	<?php $i++;
	$ids[]= $post->ID;
	endwhile; wp_reset_query();	?>
		
</div> <!-- end #featured -->
<!-- End Featured -->


<div id="featured-control">
	<div class="container">
		<a id="prevlink" href="#"><?php _e('Previous','TheSource'); ?></a>
		<a id="nextlink" href="#"><?php _e('Next','TheSource'); ?></a>
	</div>
</div> <!-- end #featured-control -->
 
Atrás
Arriba