Forums

Move all Posts to Specific Page/Subpage(s) (12 posts)

  1. StMaSi
    Member
    Posted 3 years ago #

    First, let me start by stating the fact that I'm an extremely new user when it comes to WordPress. However, I do have some experience with CSS in general.

    When I visit my site, I'm immediately greeted by my all my posts. I want to be able to be directed to a "home" page first, then I can select a "blog" page (among others) from the header links.

    I've figured out how to make those modifications to the header links section and that menu is now working as I would like it to. However, I want to have all my posts to show up on an actual page, instead of the default posts page. How can I achieve this?

    Thanx.

  2. StMaSi
    Member
    Posted 3 years ago #

    n e 1 ?

    :-)

  3. StMaSi
    Member
    Posted 3 years ago #

    So, is there no way to put something like...

    <?php include('the blog feed'); ?>

    into a template page to make the blog feed show up on a page?

    Thanx.

  4. StMaSi
    Member
    Posted 3 years ago #

    I've created a template "blog.php" like this:

    /*
    Template Name: Blog
    */
    <?php get_header(); ?>
    <div id="content" class="narrowcolumn">
     This is the Blog.
     <div class="spacer"></div>
      {insert missing code here}
    </div>
    <?php get_footer(); ?>

    I've also created a page using the "blog" template

    When I view the page, I can see the header, my custom text, and the footer, so everything appears to be working properly.

    I just need to know what bit of code I can insert into the "blog.php" template in order to show the blogroll.

    Thanx.

  5. Xamataca
    Member
    Posted 3 years ago #

  6. StMaSi
    Member
    Posted 3 years ago #

    Hmm...

    I read both of those links, but still can't seem to get it to work...guess I'm just doing something wrong.

    Any other assistance would be greatly appreciated.

    Thanx again.

  7. StMaSi
    Member
    Posted 3 years ago #

    Okay. I spent a little time just looking at all the different pages under the theme directory and I'm a whole lot closer than I was before.

    Here's what I have now...

    <?php get_header();
    Template Name: Blog
    */
    ?>
    <div id="content" class="narrowcolumn">
     <div class="spacer"></div>
     <?php $temp_query = $wp_query; ?>
     <?php query_posts('post-count=9999'); ?>
     <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
     <div class="alt" id="post-<?php the_ID(); ?>">
      <h2 class="archivelist" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
      <div class="metadata" align="right">
       <?php the_time('j F Y') ?> |
       <?php the_time('G:i') ?> |
       <?php the_category(', ') ?> |
       <?php comments_popup_link('no reply', '1 reply', '% replies'); ?>
       <?php if (function_exists('show_post_count')) {echo ' | ', show_post_count($post->ID, $before="", $after=" views"); } ?>
      </div>
      <div class="entry">
       <?php the_excerpt() ?>
      </div>
     </div>
     <br />
     <?php endwhile; ?>
     <div class="navigation">
      <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
      <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
     </div>
     <?php endif; ?>
    </div>
    <?php
    get_footer(); ?>

    So, now I have it looking like I want it to, but when I click on the navigation links to move between the multiple pages of my blog, I simply get my first page to show up again...no matter how many pages I go through. It seems like WordPress knows the right number of pages, but simply displays the first page over and over.

    Any ideas?

    Thanx.

  8. StMaSi
    Member
    Posted 3 years ago #

    Any WordPress gurus available to assist? It's probably some simply little thing I'm missing having to do with the loop or the like.

    Anyone...
    Anyone...

    Buehler...
    Buehler...
    Buehler...

    ;-)

  9. StMaSi
    Member
    Posted 3 years ago #

    Anyone with any idea on how to resolve this issue?

    Thanx.

  10. StMaSi
    Member
    Posted 3 years ago #

    Is there anyone that can help me with this?

    Anyone at all?

    I'm dyin' over here.

    8^)>

    Just kiddin'

  11. StMaSi
    Member
    Posted 3 years ago #

    Really though...

    Isn't there anyone out there in cyberspace that can help me with this?

  12. moshu
    Member
    Posted 3 years ago #

    The most obvious thing to do is: study your own admin panel and read the Docs (aka Codex).
    admin > Settings > Reading: select two existing Pages for "frontpage" and "posts page", respectively.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.