Weblog.Micha-Schmidt.net

WordPress als CMS

Geschrieben von Micha am Freitag, 21 April 2006

Hier (englisch) wird erklärt, wie man mit WordPress aus einem Weblog ein CMS macht. Im Wesentlichen wird beschrieben, wie man eine statische Seite zur Startseite macht.

The hack can be summarized in four easy steps:
  • Find a theme and do any fine-tuning
  • Design the home page as a Page in WordPress. Give it a post-slug of home. Test that it looks ok.
  • Copy index.php to home.php. (Sorry, that’s an FTP job.)
  • Edit home.php, and immediately after the first line add in the line:

    <?php query_posts(’pagename=home’) ?>

Now, when visitors access the home URL, WordPress will display only the Page with a page-slug of home. It’s no longer a blog — it’s a website.

[via Schockwellenreiter]

Hinterlasse einen Kommentar

Kategorie: WordPress

Kein Kommentar

Bislang keine Kommentare.

Hinterlasse einen Kommentar

XHTML: Du kannst die Tags nutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>