• Resolved bhogiyogi

    (@bhogiyogi)


    Hi,

    I have added 3 promotions but somehow i can only see the posts through my slider.

    <?php echo do_shortcode(‘[promoslider post_type=”promotion” category=”frontpagepromotion” width=”800px” height=”300px” time_delay=”5″ auto_advance=”true”]’) ?>

Viewing 3 replies - 76 through 78 (of 78 total)
  • Thank you for your quick response! I’m using twenty-ten. And I’ve replaced the default header image with my logo image which is very small, only 143 pixels wide. My slider image is 324 pixels wide. So I can disable the function that places the featured (slider) image into the header? Is that in the header.php file? Is there something in there I can comment out? My understanding of php is very rudimentary.
    thanks!

    Plugin Author Micah Wood

    (@woodent)

    Sure, just find this code in the header.php file:

    // Check if this is a post or page, if it has a thumbnail, and if it's a big one
        if ( is_singular() && current_theme_supports( 'post-thumbnails' ) &&
        has_post_thumbnail( $post->ID ) &&
        ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
        $image[1] >= HEADER_IMAGE_WIDTH ) :

    and replace it with this:

    // Check if this is a post or page, if it has a thumbnail, and if it's a big one
    if ( false ) :

    that works– thanks!

Viewing 3 replies - 76 through 78 (of 78 total)
  • The topic ‘[Plugin: Promotion Slider] promotions do not show, i only see posts’ is closed to new replies.