Wordpress theme like CSS Remix?

Discussion in 'WordPress' started by local-realtor, Jul 13, 2007.

  1. #1
    Anybody know of a theme like CSS Remix ? I want the home page to list thumbnails & title and then when clicked it goes in to more of a regular post format.
     
    local-realtor, Jul 13, 2007 IP
  2. Edynas

    Edynas Peon

    Messages:
    796
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Haven't seen any but I guess it's done with custom fields and a seperate home.php file

    A bit of how I think this can be done...
    Put all the post that should have thumbs in a special category. I suggest this as I think you will have also post that are fi news or other subjects then those in need of thumbs. Make a note of the number that category has as an ID (see manage categories and the number in front of every category). For the code below I used as a demo category ID = 3

    Next make a custom field called thumnails and set the value to the url of the thumb you make. Next make a seperate homepage using home.php which in hyarchy in wp will be your default homepage and only used therefor and the rest will use index.php which will make wp run in it's normal way

    In home.php you have your header, footer and sidebar and as content something like this
    
    <div make this so it will display the way you want>
    
    <?php query_posts('cat=3'); ?> 
    	<?php while (have_posts()) : the_post(); ?>
    //title of thumb and permalink to it	
    	<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
    
    // thumbnail
    $this_thumb = get_post_custom_values($thumbnails);
    echo $this_thumb;
    		
    	
    	<?php endwhile; ?>
    	
    </div>
    
    
    
    Code (markup):
    I haven't tried it but I hope it will bring you on your way
     
    Edynas, Jul 13, 2007 IP
  3. local-realtor

    local-realtor Guest

    Messages:
    140
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks -

    wpdesigner also has a basic tutorial on how to get 'er done so I will keep plugging away.
     
    local-realtor, Jul 20, 2007 IP