Forums

Php function in post (2 posts)

  1. mderdem
    Member
    Posted 3 years ago #

    Hi,

    I have a post where I would like to place a link to a category. It looks like WP provides a get_category_link function. How can I use this function in my post ?

    Using <?php ...?> style tags didn't work.

    Thanks

  2. nathanrice
    Member
    Posted 3 years ago #

    You need to have the exec-PHP plugin installed and activated.
    http://wordpress.org/extend/plugins/exec-php/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags