Forums

Redirect to page if no posts (1 post)

  1. drweb3110
    Member
    Posted 3 years ago #

    Hiya I have a latest news page on my blog but it only sometimes has posts active in that category. What I want to do is instead of it displaying a line that says - Sorry there's no latest news at this time

    Contained in the lines

    <p><?php _e('Sorry there are no special offers at this time.'); ?></p><?php endif; ?>
    <p><?php posts_nav_link(' — ', __('← Previous Page'), __('Next Page →')); ?></p>

    Can I re-direct it to a page that explains how people can send in news if they have any. I'm sure you can but I can't seem to find the code on Google to manage it.

Topic Closed

This topic has been closed to new replies.

About this Topic