Support » Fixing WordPress » Redirect Category To Page

  • Resolved icybergie


    I have made a page that lists all my posts and I would like people who click on this particular category be redirected to that page.

    Is there anyway I can do that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • asymptotic


    HI I have the same issue.
    Mind sharing the solution?

    I would very much love the answer to this question, wordpress wizards can you please help?

    Here is a way to redirect one category, I would like to know a way to redirect multiple categories

    Another solution:



    <p><?php truncate_post(365); ?></p>

    With code:

     $customField = get_post_custom_values("full");
     if (isset($customField[0])) {
     //Custom field is set, display a full post
     } else {
     // No custom field set, let's display an excerpt
     the_excerpt(); ?>
     <?php } ?>


    For post you want to display full, in custom field put full, value not reivent


    To get rid of the readmore button on full post


    <a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('Read More','TheSource'); ?></span></a>

    with code:

    <?php if(is_category('food-for-thought')) { echo ""; } else { ?>
          <a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('Read More','TheSource'); ?></span></a> <?php } ?>

    Instructions: replace food-for-thought with your own category that you want to remove the read more button

    Rather than echoing a blank, and having your actual command on an ‘else’ condition, wouldn’t it be simpler to make your ‘if’ condition a !is?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirect Category To Page’ is closed to new replies.