Forums

[Plugin: Similar Posts] Able to put php code into output template? (1 post)

  1. Dirt2
    Member
    Posted 2 years ago #

    I want to impliment this code but it's not a tag, There seems to be a line for PHP code but I don't know if it's what I need and I can't figure out how to enable it.

    <?php $text = get('Preview'); echo strip_tags($text); ?>

    That is the simple code I want to use, every post has a "Preview" and those previews are what I want the results to be.

    Thank you to anyone who can help.

    http://wordpress.org/extend/plugins/similar-posts/

Topic Closed

This topic has been closed to new replies.

About this Topic