• In all the newwpthemes that I have seen, there is a slideshow on the homepage, that is more or less hard-coded into the theme, displaying generic images when the theme is first installed (no plugin, at least not in the traditional sense).

    When you follow the installation instructions word-for-word, the slideshow breaks.

    Here is what they say:

    Last 5 posts form [sic] the selected categoey [sic] will be listed [displayed?] as featured at [on?] homepage.

    The selected category should contain at last 2 posts with images.

    How to add images to your featured posts slideshow?

    » If you are using WordPress version 2.9 and above: Just set [click?] “Post Thumbnail” when adding new post [images?] for the posts in [the] selected category above…

    In both situation[s], the image sizes should be: Width: 610 px. Height: 320 px.

    I assume that they mean that in Admin > Add New Post > Post Thumbnail (in right sidebar) > “set thumbnail” link will add a slide image to the homepage slideshow.

    However, when you do that in WP 2.9.2, the slideshow disappears, and instead of the slideshow images, an excerpt of each post in the category is displayed in the same area.

    Can anyone suggest how best to deal with this issue? (A client requested I use a specific newwpthemes theme.)

    [Just wanted to point out to other potential visitors to newwpthemes that the staff did not respond to this problem, common to all of their themes — even after several weeks — or to polite and specific requests for clarification in their comments (which remain “awaiting moderation). I also wanted to point out to potential adding-ads-to-wordpress-themes entrepreneurs that the scheme apparently may not work, since newwpthemes appears to have been abandoned by its creators.]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter websta

    (@websta)

    Here is the featured.php file that is referenced in the template:

    <?php
    if(get_theme_option('featured_posts') != '') {
    ?>
    <script type="text/javascript">
    	function startGallery() {
    		var myGallery = new gallery($('myGallery'), {
    			timed: true,
    			delay: 6000,
    			slideInfoZoneOpacity: 0.8,
    			showCarousel: false
    		});
    	}
    	window.addEvent('domready', startGallery);
    </script>
    <div class="fullbox_excerpt">
    	<div class="fullbox_content">
    		<div class="smooth_gallery">
    			<div id="myGallery">
    
    				<?php
    				$featured_posts_category = get_theme_option('featured_posts_category');
    
    				if($featured_posts_category != '' && $featured_posts_category != '0') {
    					global $post;
    
    					 $featured_posts = get_posts("numberposts=5&&category=$featured_posts_category");
    					 $i = 0;
    					 foreach($featured_posts as $post) {
    					 	setup_postdata($post);
                            if ( version_compare( $wp_version, '2.9', '>=' ) ) {
                                $slide_image_full = get_the_post_thumbnail($post->ID,'large', array('class' => 'full'));
                                $slide_image_thumbnail = get_the_post_thumbnail($post->ID,'large', array('class' => 'thumbnail'));
                            } else {
                                $get_slide_image = get_post_meta($post->ID, 'featured', true);
                                $slide_image_full = "<img src=\"$get_slide_image\" class=\"full\" alt=\"\" />";
                                $slide_image_thumbnail = "<img src=\"$get_slide_image\" class=\"thumbnail\" alt=\"\" />";
                            }
    
    					  ?>
    					  <div class="imageElement">
    							<h3><?php the_title(); ?></h3>
    							<?php the_excerpt(); ?>
    							<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="open"></a>
    							<?php echo  $slide_image_full; ?>
    							<?php echo  $slide_image_thumbnail; ?>
    						</div>
    					 <?php }
    				} else {
    					for($i = 1; $i <=5; $i++) {
    						?>
    							<div class="imageElement">
    								<h3>This is featured post <?php echo $i; ?> title</h3>
    								<p>To set your featured posts, please go to your theme options page in wp-admin. You can also disable featured posts slideshow if you don't wish to display them.</p>
    								<a href="#" title="This is featured post <?php echo $i; ?>" class="open"></a>
    								<img src="<?php bloginfo('template_directory'); ?>/jdgallery/slides/<?php echo $i; ?>.jpg" class="full" alt="" />
    								<img src="<?php bloginfo('template_directory'); ?>/jdgallery/slides/<?php echo $i; ?>.jpg" class="thumbnail" alt="" />
    							</div>
    						<?php
    					}
    				}
    
    				?>
    			</div>
    		</div>
    	</div>
    </div>
    <?php } ?>

    I was having the same problem. I figured out that if I upload the image as usual (with the requested file size), right next to “Insert into post” is “Use as thumbnail”. It started working after that. I was trying to use “Set as thumbnail” vs “Use”. Made the difference between working and not working.

    I had the same proble till i figured out that i didn’t delet the wordpress defaut post named:Hello world!
    After delet this, everything worked.
    I hope this help you
    Sorry for my english, i am from brazil

    I am having the same problem and STILL can’t figure this thing out! SAlrGirl – I up’d the image, but I can’t find the “use as thumbnail” you mentioned?? I see where to insert an image into the post, and there is an option at the bottom of the settings page. Is that wehere you mean? Thanks!

    Hi, I also have the same problem, but formerly my wordpress version is 2.8, now I have upgraded the version to newest 3.0.3,and when you post you should set the featured image in the right side bottom(don’t select the thumbnail image, setting as fetured image is right). Then in the theme opinion you should select the fetaured category. Note: This featured category should have at least 2 post with the featured images.
    Then it is ok.

    Hmm – thanks – I tried that, and it just inserted the pic into the post. I’m obviously doing something wrong but cant figure out what!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘newwpthemes slideshow problems on install’ is closed to new replies.