• Hey guys,

    I’ve just installed WP for the first time and I’m looking at making a few changes.

    I will be adding my own template eventually, but firstly I will get the site structure as I need it!

    Basically, I will have a Web site where I will post articles and blog posts too, and will have a few other sections like “about us, links, community,” and “contact us”.

    My home page will have a three column design, but my interior pages will only have two columns. Would this be a problem?

    I have good xhtml/ css knowledge and limited php/mysql knowledge.

    any advice appreciated..!
    Right now, the latest post shows up in full on the home page.

    I would like my home page to show snippets from two categories, in this case, a snippet of the latest blog post and the latest article, which then link to the full post/ article.

Viewing 7 replies - 1 through 7 (of 7 total)
  • My home page will have a three column design, but my interior pages will only have two columns. Would this be a problem?

    No. Read up on Pages (in particular Page Templates).

    I would like my home page to show snippets from two categories, in this case, a snippet of the latest blog post and the latest article, which then link to the full post/ article.

    Err, what’s the difference between a blog post and an article? Generally, in the WordPress “world”, those are both the same thing.

    To show the snippets, either expirement with the <!--more--> tag (there’s a button for it at the top of your Post editor), or read up on the_excerpt() template tag to use in your theme’s index.php file.

    Thread Starter tjobbe

    (@tjobbe)

    that’s great, thanks for the tips.

    With regards to blog posts and articles, I see what you mean by them being the same thing but for me they will be completely different, I’d like to be able to show the latest blog post and article on the home page.

    Basically, I have created two categories, one being an area where I would blog, and another where I add articles to. Hence my explanation of them being different.

    Is this possible?

    rudolf45

    (@rudolf45)

    In WP-speak: those are all posts – just belonging to different categories. You can call them whatever you want (to confuse everybody, LOL) but they are still posts.

    Thread Starter tjobbe

    (@tjobbe)

    Thanks Rudolf.

    I do understand that they are all posts, but I want to know if it is possible to only show ONE post from each category at one time Currently, it only shows the latest 2 posts from ANY category.

    So lets say I have 3 posts in each category, but the latest 2 posts where made in my Articles category, it will show only those two, when I would prefer it if it showed one from my blog and one from my articles category.

    Am I making sense?

    rudolf45

    (@rudolf45)

    Yes. For that you will have to read about the Loop.
    Pay special attention to the Multiple Loops examples.

    Chris_K

    (@handysolo)

    Oh, and:
    Category Visibility plugin.
    Ultimate Category Excluder plugin.

    One of those may be interesting to ya.

    Root

    (@root)

    As to the 3 columns on the front page and 2 columns else where – this functionality is built into WP thanks to the template hierarchy but it must be said not many folk are aware of how to do it. It is easy. Once you have your 3 columns set up save the file as home.php. That will become the *home* page. Take out the third column in index.php. Its magic.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Changing the look and structure’ is closed to new replies.