WordPress.org

Ready to get started?Download WordPress

Forums

How do I do this (8 posts)

  1. CHall
    Member
    Posted 9 years ago #

    I am trying to find out if wordpress is the right tool for me. I hope anyone can help me.
    I would like to build a small site for my company with some static pages for ex. products with a sidebar adapted for every static page.

    I have tried to find out how to do this in wordpress without luck (probably due to my lack of knowlage in php)

    Could anyone tell me if this would be possible or not. Is wordpress the right tool?
    Thanks!!

  2. Lorelle
    Member
    Posted 9 years ago #

    You can do this in WordPress, but unless your main priority is putting out timely information on a frequent schedule, go with something else. WordPress is/was/will be designed for bloggers or user who have material that they post frequently and need to have in some form of chronological order.

    Fighting against the core features and usage of the program will cause you no end of grief and making compromises that you may not want to make. It can be done, I did it, but it is a hard road to hoe.

    For a static page oriented site, try something - anything - else. For handling amazing amounts of information that comes in and out and is topical, then give WordPress a try. It takes about 5 - 20 minutes to install, realistically, and little or no knowledge of PHP to give it a whack, but it will require a lot more HTML, XHTML, PHP, CSS and other web design knowledge to make it do what you want it to do.

  3. ifelse
    Member
    Posted 9 years ago #

    Good post Lorelle. WP is a good system but I would always advocate choosing the right tool for the job. That said, depending on the scale of the site, it is possible to leverage the new Pages functionality to do what you have in mind. Simple write a page for each product.

    However, I would suggest having a look for another system which would be a better fit for what you have in mind.

  4. BuzFortuna
    Member
    Posted 9 years ago #

    I could be wrong, but if I understand what you're trying to do, you just want to make sure every page has the same sidebar? If I'm right, I guess you could do something like (assuming it's already laid out, in one page, lets say products.php looks like this (or is formatted like this):

    beginning of the product page
    sidebar portion of the page
    end of the product page

    You could take out sidebar of the portion page, and put it in sidebar.php, and then whenever you wanted to use it, just have:
    <?php
    include 'sidebar.php';
    ?>

    I could be totally wrong about what you're saying in which case I apologize, but from what you wrote thats what I gathered.

  5. CHall
    Member
    Posted 9 years ago #

    Lorelle
    I use it on my site today for publishing news (comments off) and I like the simplicity and the clean code. (great forum)
    Do you have any tip of system to use for my static pages and sidebars?. Hope you don`t mind asking here.

  6. ifelse
    Member
    Posted 9 years ago #

    Do you have any tip of system to use for my static pages and sidebars?.
    Static pages are a new functionality in WP 1.5 and are called "Pages". These hold content which are time-independent yet can also be categorised.

    Likewise, the new theme system should allow you to segregate sidebar content and automatically pull back these pages.

  7. CHall
    Member
    Posted 9 years ago #

    BuzFortuna
    I would like to have a different sidebar per product.

    product1 with one sidebar
    product2 with another sidebar
    etc..

  8. Root
    Member
    Posted 9 years ago #

    Well in the new WP core functionality are pages as has already been pointed out. Each page can be associated with its own template so that your menu can be different Alternatively conditional php would do it. But templates are easier.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.