WordPress.org

Ready to get started?Download WordPress

Forums

last viewed posts plugin & Custum field, how to? (3 posts)

  1. taghaboy
    Member
    Posted 4 years ago #

    Hi,
    i'm happy to this unique plugin, and i want to do some change i need, so i’d like to knwo how can add this code:

    <?php if ( $var_img01 ) { ?>
    <a href="#"><img src="<?php echo $var_img01; ?>"/></a>
    <?php } else { ?><img src="#/img/no-img.jpg"/>
    <?php } ?>

    to work with it function:

    <?php if (function_exists('zg_recently_viewed')): if (isset($_COOKIE["WP-LastViewedPosts"])) { ?>
    <h2>Last viewed posts</h2>
    <?php zg_recently_viewed(); ?>
    <?php } endif; ?>

    Thanks.

  2. taghaboy
    Member
    Posted 4 years ago #

    Please help.

  3. taghaboy
    Member
    Posted 4 years ago #

    hi, i always need help, if possible,
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic