• Hi!

    I want to have my own static content on my homepage, i want some different styling on the pages so i cant use the page functionality in WordPress.

    When that is sorted out there is one more problem.

    I want my homepage to have a structure like this: index.php –> products.php (static) –> product.php (dynamic)

    My first thought was make a post within the WordPress system and then exclude just that post in the system and then just call it with the post plugin, would that be possible?

    Well the mainproblem is that i want to make my own customized pages in wordpress without using the “pages.php” system, is it possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    You certainly can use WordPress “Pages”. Pages can have customized Templates, just for them. They can even have their own styling and everything.

    Read: http://codex.wordpress.org/Pages#Page_Templates

    Thread Starter 784434

    Thanks for the tip, will be using this in the future, but right now i guess i explained it pretty bad.

    I dont want a completely new template,

    I would just like to create a file that looks like this:

    <?php get_header(); ?>
    
    <div class="maincontent">
    All the different stuff, completely different layouts here.
    </div>
    
    <?php get_footer(); ?>

    Well yes, i could use WordPress “pages” but if i need 20 different “pages” layouts on one homepage i find it much faster to just use a coding application to make those pages.

    I cant really explain why i want to do it in this way, i just do 😉

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Hrm. Well, okay.

    Add this to the top of your file:
    <?php require '../path/to/wordpress/wp-blog-header.php'; ?>

    Fix up the path to point to where your WP install actually is, of course.

    Thread Starter 784434

    That easy ey.

    Thank you Otto42

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Use my own static content?’ is closed to new replies.