Results 1 to 5 of 5

 

Thread: wordpress help

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Sep 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts


    on my front page of my wordpress, i want to have different coloms for different categories like blue widgets which would show a summary of the last 5 posts in that categorie and red widgets etc

    so instead of the normal 1 colom of all blog posts i could have several with different categories in each

    any help appreciated

    thanks rob

  2. #2
    pete_coles's Avatar
    Administrator

    Status
    Offline
    Join Date
    May 2007
    Posts
    513
    Thanks
    14
    Thanked 82 Times in 62 Posts
    I've not actually done this so might not work but wouldn't it be just a case of making the layout in columns then adding the relevant code to include posts from a specific category.

    Heres some links that may help. Let me know how you get on

    WordPress Theme Hacks
    http://www.dbswebsite.com/design/wordpress-reference/

  3. #3
    Registered User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    509
    Thanks
    78
    Thanked 17 Times in 16 Posts
    Hi Rob,
    It sounds like you need a magazine wordpress theme. The best one I'd say is the Revolution theme which you have to pay for but there is a good blog post here reviewing all the top free magazine themes.

  4. #4
    DannyW's Avatar
    It's all good fun...

    Status
    Offline
    Join Date
    Apr 2008
    Location
    Isle Of Wight
    Posts
    405
    Thanks
    386
    Thanked 36 Times in 30 Posts
    Rob don't know how you are with code, but if you just want the code the code to pull different groups of categories with the post title here you are.

    Code:
    <?php $recent = new WP_Query("cat=1&showposts=3"); while($recent->have_posts()) : $recent->the_post();?>
    
    <h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    If you don't want to show the whole post use an excerpt or content with a limit on it.

    Code:
    <?php the_excerpt(); ?>
    Copy the index/main php file and use it to create a new file called home.php.

    In this file create a few div ids: homepage - homeleft - homeright and size these in the css.

    Then create a/some div classes: posts and size these in the style css.

    The Revolution themes are also all pretty damn good as already mentioned. The site in my sig is a revolution tech.

  5. #5
    Registered User

    Status
    Offline
    Join Date
    Sep 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the help, ye im designing my own theme based off of the revolution theme, Iv got it pretty much laid out how I want it, I just needed to know how to do that ^. Ill have a look at those websites aswell, im sure ill find something else I might use.



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using datafeeds in WordPress...
    By CAdams in forum Programming
    Replies: 4
    Last Post: 21-09-09, 11:11 PM
  2. Wordpress Themes
    By MortimerJazz in forum Affiliate Marketing Lounge
    Replies: 7
    Last Post: 30-06-08, 02:19 PM
  3. Wordpress affiliate links
    By cDc1979 in forum Programming
    Replies: 6
    Last Post: 19-06-08, 06:40 AM
  4. Widespread wordpress hack. Check your blog to make sure..
    By HomerJ in forum Affiliate Marketing Lounge
    Replies: 2
    Last Post: 10-06-08, 06:34 AM
  5. Wordpress SEO Tips
    By 3wdl in forum Affiliate Marketing Lounge
    Replies: 1
    Last Post: 22-01-07, 04:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2