WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Contextual Related Posts] Different layout for post and pages

[Plugin: Contextual Related Posts] Different layout for post and pages

Viewing 1 replies (of 1 total)
  • Plugin Author Ajay
    Participant

    @ajay

    Thanks for the kind words. Unfortunately, there is no easy way to produce this except a different kind of manual install.

    You’ll first need to create a template in your theme for posts. Check http://codex.wordpress.org/Theme_Development#Template_Files_List for a list

    In single.php you need to use

    <?php echo ald_crp('is_widget=0&limit=5&show_excerpt=1'); ?>

    In page.php use:

    <?php echo ald_crp('is_widget=0&limit=3&show_excerpt=0'); ?>

    Let me know if this works for you

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Contextual Related Posts] Different layout for post and pages’ is closed to new replies.