WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Posts (5 posts)

  1. plather
    Member
    Posted 1 year ago #

    Hello,

    When creating a post I would like that post to appear on more then one page. For instance if I am making a post about a new event we are attending I would like it to appear on the Latest News Page which is my blog page as well as the page the page titled events. How do i do this?

  2. viky081
    Member
    Posted 1 year ago #

    <?php query_posts('category_name=slug_name&showposts=1');?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    <?php echo get_the_title();?>
    <?php the_content(); ?>
    
    <?php endwhile; ?>

    You could paste that above code in page template(More than one page) to get that post

    And note point out that slug name (category name ) to get that post

  3. plather
    Member
    Posted 1 year ago #

    I am new to this, I have no idea what you are sayin

  4. viky081
    Member
    Posted 1 year ago #

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

    Hope this plugin may help you

  5. plather
    Member
    Posted 1 year ago #

    thanks that worked!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags