WordPress.org

Ready to get started?Download WordPress

Forums

photoria theme excerpt not showing (3 posts)

  1. Mvd
    Member
    Posted 1 year ago #

    Hi,

    Does anyone have the same problem where the excerpt of the post-pages is not showing in the wp-zoom Photoria theme?
    The code for the excerpt in functions.php is :

    /* Custom lenght for the_excerpt */
    function new_excerpt_length($length) {
     return 25;
    }
    add_filter('excerpt_length', 'new_excerpt_length',999);

    And the main index page (wpzoom_recent_posts.php) is:

    <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $img ?>&h=230&w=300&zc=1" width="300" height="230" alt="<?php the_title(); ?>" /></a>
            <?php } ?>
                     <?php the_excerpt(); ?>
                    <div class="cleaner"> </div>
                    </div>
                  </li><?php if (($i % 3) == 0) { ?><div class="cleaner"> </div><?php } ?>
    <?php endwhile; //  ?>

    I must admint that I use W3 Edge with a CDN but it used to work fine until recent upgrade to WP 3.4.2

    Any help greatly apriciated!

    P.S. I tryed to deactivate the CDN and also to purge items (theme files) from CDN, none helped.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Try posting on the theme developer's forum: http://www.wpzoom.com/support/

  3. Mvd
    Member
    Posted 1 year ago #

    Hi Esmi,

    Thanks, I'll do that!
    I didn't think of that before but it makes more sense I suppose if no one else has such an excerpt problem!

Topic Closed

This topic has been closed to new replies.

About this Topic