Support » Themes and Templates » How do I do this

  • 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?

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    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.

    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:
    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.

    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.

    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.

    I would like to have a different sidebar per product.

    product1 with one sidebar
    product2 with another sidebar

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How do I do this’ is closed to new replies.