WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to Control the Post Page? (2 posts)

  1. echodust
    Member
    Posted 5 years ago #

    I'm a bit new to wordpress manipulation and there is one particular thing that I've been trying to do. As simple and common as it seems to me, I can't seem to get it to work.

    I have a template (called Emplode). The navigation is horizontal, at the top, below the banner. What I want to do is take my post page link, and instead of it being normally the home page, listed first (on the left), instead have a static page (to be called "home) there instead, and have the post page be second after it.

    At one point during attempting to accomplish this, I realized I couldn't even make another page as the "home" page in the Read Settings becuase it would redirect the blog post page to whatever I had set as "home" in those settings.

    At one point I tried to take index.php in the theme, apply a certain php script at the top of it, save it separately as a template (named blog.php), and in that way, re-create the post loop in a static page, but for some reason, it won't work. All it will make is an empty static page. Is there something here I am missing?

    If all this is not to work, is there a simple way or a plugin out there I could use to re-create the post loop inside another page and disable the original post page? Or is there something really simple and basic that I've overlooked to do this?

    Just so you know, my wordpress is offline right now until I get my webspace established.

  2. echodust
    Member
    Posted 5 years ago #

    Ok, I've figured out how to replicate The Loop into a static page.

    There was certain line in the template that I failed to include.

    <?php get_header(); ?>
    
    	<?php if (have_posts()) : ?>
    
        --->>>> <?php query_posts ($query_stingw . '&cat=3'); ?>
    		<?php while (have_posts()) : the_post(); ?>

    I also solved the issue of disabling the original first link on the menu by going into the header.php and taking out the line that gets and echos the link inside the navigation.

    Solved. :)

Topic Closed

This topic has been closed to new replies.

About this Topic