Forums

Probably a simple PHP string solution - help? (3 posts)

  1. ldexterldesign
    Member
    Posted 2 years ago #

    Hey guys,

    <?php previous_post_link('%link', 'Previous in category', TRUE); ?> (http://codex.wordpress.org/Template_Tags/previous_post_link)

    This is what I want to do:
    <?php previous_post_link('%link', 'Previous in' . single_cat_title(), TRUE); ?>

    Are functions/variables allowed as parameters?

    Thanks,

  2. songdogtech
    Member
    Posted 2 years ago #

    What excatly do you want to do? Have the previous/next link go to a specific category?

  3. Shane G
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.