Hacking already

This being my first time writing a WordPress blog, there will be some learning curve in evidence. Since the Welcome! post really ought to be a permanent page, I thought it’d be nice to put it in the Pages section that ships in the default sidebar. Is there a way to treat a “post” like a “page” and have it show up there? I couldn’t find one, so I created a page containing the same content (probably should have created it as a page in the first place). The other thing I wanted to do was bump the Welcome message to the top of the list. It looks like the underlying query sorts alphabetically by title. It’s a hack, but doable without writing static html. Can you figure out the trick? Sounds like page ordering should be a feature or maybe a plugin.

3 Responses to “Hacking already”

  1. lafrance says:

    Hello!
    I see your using wp 2.0 the plugin was design for 1.5 however tested and work with wp 2.0
    here the link
    http://semiologic.com/software/static-front/

  2. aegrumet says:

    Looks interesting. Thanks for the link!

  3. lafrance says:

    Here another way with no plugin

    A little example of how easy it is to set up a static home page in WordPress.

    First of all, create the home page like any other WordPress page using using Write -> Write Page. Give the page a post-slug of home. Test that it looks ok.

    You now need to force this page to appear whenever users access the URL of your site. If you have a file called home.php in your current theme, WordPress will use this whenever users go to your home page. So, if you are using the default WordPress theme, go to the wordpress/wp-content/themes/default directory, and copy page.php to home.php.

    You now need to force the home.php page to always display your home page. Edit home.php using Presentation -> Theme Editor, and add in the new line (second line below):

    This tells WordPress to only display the page with the page-slug of home on this page. Press Update File to save your new home page.

    Now that wasn’t hard, was it?
    taken from http://jpmcc.blogdns.org/

Leave a Reply

You must be logged in to post a comment.