Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    it works!!

    Well… not the way you advised, but I had to paste the code in my theme styles.css file, because it wasn’t applied when just pasted in the back office.

    I guess some of my custom styles overwrote the smoothslider styles…
    Well, thanks A LOT for you help!

    I hope you have a great day 🙂

    Lisa

    Hello,
    thanks for your answer, but I see you’re using an IE emulator to test IE versions…
    Emulators are not a reliable way to test browsers.
    Indeed, my slider works fine on every emulated versions of IE, but it does not work on a “real” IE10/IE9 browser.

    The images do not show (although the text and sliding effects work fine).
    http://imgur.com/GuyHOV2

    What’s wrong??

    thanks for your time.

    Hello there!
    I happen to have the same problem with my website .

    The slider works perfectly in most browsers, except for IE9 & 10 where the images does not show up.

    Any idea on what the problem could be?

    Thanks

    Thread Starter LisaOr

    (@lisaor)

    ok.. I’ll check where it can come from.
    Thanks a lot for your help / time.
    🙂

    Thread Starter LisaOr

    (@lisaor)

    nop… still not working…
    I’ve modified the code so it displays the post as a slides.. maybe that’s why it’s not working (although I don’t see where the problem could be)
    here is my code:

    <?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post;?>
    			<?php if( has_post_thumbnail() ): ?>
    				<div id="img_slider">
    					<img src="<?php echo get_template_directory_uri(); ?>/images/sur-slider.png" id="sur-slider"/>
    					<a href="<?php echo the_permalink(); ?>">
    						<?php
    						if( $thumbnail == true ) {
    							// If the post has a feature image, show it
    							if( has_post_thumbnail() ) {
    								the_post_thumbnail( $thumbsize );
    							// Else if the post has a mime type that starts with "image/" then show the image directly.
    							} elseif( 'image/' == substr( $post->post_mime_type, 0, 6 ) ) {
    								echo wp_get_attachment_image( $post->ID, $thumbsize );
    							}
    						}
    						?>
    					</a>
    				</div>
    				<div id="infos_producteurs">
    						<a href="<?php echo the_permalink(); ?>" class="nom"><?php the_title(); ?></a>
    						<p><?php the_excerpt(5); ?></p>
    				</div>
    			<?php endif; ?>
    		<?php endwhile; ?>
    Thread Starter LisaOr

    (@lisaor)

    That’s exactly what I’ve been trying to do for the past few days, but it doesn’t work… no post are showing.. even thought some of them HAVE a thumbnail image.
    It’s like “if( has_post_thumbnail()” blocks all the posts.
    thanks again for your time.

    Thread Starter LisaOr

    (@lisaor)

    Thanks a lot…
    but unfortunately that’s not going to work out for me: I use multiple Flexible Post Widgets. I want to skip posts that don’t have a thumbnail ONLY in one of the widgets… not all of them.
    And I think your code will do that for every Flexible Post Widget right?

    I’ve created a unique php template for every Flexible widget I have… any way I could write that rule down directly on the widget-customname.php file?

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