• I have used WordPress quite a lot in the past, but haven’t used it for a few years.

    Earlier this year, I started a food blog but didn’t know how much time I would have to post anything on it, so I just used wordpress.com, now I am finding that I am spending more time there than I thought I would be able to, and I want to do a lot of things with the site/blog that wordpress.com just doesn’t allow me to do.

    I’ve put together a site and imported posts over from my existing blog, and it is currently living in a temporary place while I work on it and try to iron out some bugs.

    I’m happy with the front page, and the rest is starting to come together as well, although there is a bit of CSS fiddling still to do.

    My biggest problem is that I only have a Mac at home, and while everything looks fine to me in Safari, Firefox and Opera, and also looked ok in IE7 from an internet cafe this morning, I have no way to see how broken it all is in IE6 or earlier.

    I’d really appreciate any and all feedback, both good and bad.

    Thanks in advance.

    http://www.sevent.com.au/food/

Viewing 15 replies - 16 through 30 (of 30 total)
  • Hi there, what a great blog, and I’m glad to see that others are praising you too.Very original, and I like the clear navigation, as a well known foody, I can always read about it, well done.
    Its bookmarked.
    Mike.

    Cathy Tibbles

    (@multitalentedmommy)

    I have a similar design that I’ve been working on. Here, I thought I was original! I bet you found a better way to query the category’s latest post too. I like the site. Very clean and easy to navigate.

    Thread Starter JohnPope

    (@johnpope)

    Mikey: Thanks, I’m glad you like it. πŸ™‚

    Multitalented: I bet I didn’t, it’s very hacked together, but I’m going to go back and make it all neater, I just wanted to get it looking reasonable and out there first, and then I’ll go back and clean up the code and the css later.

    It’s looking better all the time.

    John Pope

    Any chance you could share your secret for pulling the different category posting to the homepage like you did. I am working on a site and I would like to do the same thing.

    I wrote this but no luck.

    <?php require(‘/home/content/t/a/l/talkingscience/html/blogs/wp-blog-header.php’); query_posts(‘showposts=2’); wp_set_post_categories(‘/home/content/t/a/l/talkingscience/html/blogs/category/health/Health’);
    while (have_posts()) : the_post(); ?>
    <h3>” rel=”bookmark”><?php the_title(); ?></h3>

    <h7><?php the_time(‘m/j/y’); ?> | Filed under:
    <?php the_category(‘, ‘) ?></h7>
    <?php the_content(‘Read more…’); ?>

    <?php endwhile;?>

    You are suppose to be pulling it by category id

    And you will need multiple loops

    I would make “Other stuff” the last box of the six.

    Thread Starter JohnPope

    (@johnpope)

    Sorry, I’ve been away for a week.

    To pull posts from different categories into lists on the frontpage like I have done is pretty simple, but you will need to use multiple loops.

    Below is the basic code that I am using on that page. I’ve stripped it down to a simple form without any formatting so that it is easy to follow. You just need to repeat the loop for as many categories as you want to display.

    <!-- Featured post in 1st category -->
    
    <?php $my_query = new WP_Query('category_name=THEFIRSTCATEGORY&showposts=1');
     while ($my_query->have_posts()) : $my_query->the_post();
      		$do_not_duplicate = $post->ID; ?>
    
    <?php the_title(); ?>
    <?php the_content; ?>
      		<?php endwhile; ?>
    
    <!-- Other posts in the 1st category -->
    
    <?php query_posts('category_name=THEFIRSTCATEGORY&showposts=4'); ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post();
    		if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
    
    <?php the_title(); ?>
    
    <?php endwhile; ?>
    <?php endif; ?>
    
    <!-- Next category -->
    
    <!-- Featured post in 2nd category -->
    
    <?php $my_query = new WP_Query('category_name=THESECONDCATEGORY&showposts=1');
     while ($my_query->have_posts()) : $my_query->the_post();
      		$do_not_duplicate = $post->ID; ?>
    
    <?php the_title(); ?>
    <?php the_content; ?>
      		<?php endwhile; ?>
    
    <!-- Other posts in the 2nd category -->
    
    <?php query_posts('category_name=THENEXTCATEGORY&showposts=4'); ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post();
    		if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
    
    <?php the_title(); ?>
    
    <?php endwhile; ?>
    <?php endif; ?>
    Thread Starter JohnPope

    (@johnpope)

    @maurreen

    Thanks, I think you are right. I’ll move them around this afternoon.

    JohnPope:

    Any chance you would be willing to let me take a closer look at your template files? I’m trying to figure out a way to organize my site by category. The more I study your site the more I like your basic concept.

    Thanks,
    Chris

    I really, really like it, it’s well planned and well done.
    I guess most of your work was in planning, what you want to categorize how πŸ™‚

    Site bookmarked πŸ˜‰

    @johnpope

    Don’t know if you’ve solved the IE testing issue yet, but if not: are you aware of browsershots.org? I use it all the time. As its front page says:

    Browsershots makes screenshots of your web design in different browsers. It is a free open-source online service created by Johann C. Rocholl. When you submit your web address, it will be added to the job queue. A number of distributed computers will open your website in their browser… make screenshots, and upload them to the central server here.

    So you just select which browsers/other specs, put in the url of the page you want to test, and then wait a bit as the screenshots come in and load on the results page.

    I didn’t read all of the posts so I’m not sure if this was covered but…

    I also have a Mac and when I can’t be bothered running IE on VMware Fusion I use the best web tool in the world.

    Personally, I really like the front page boxes structure. I’d just make them navigational graphics and get rid of the text.

    Very nice layout.

    One suggestions: Since you set the precedent of enabling users to click on the image(s) on the home page to read a post, it would be nice if you the images in the category pages also were clickable, (should be as easy as adding the same tag as the title,

    <a href="<?php the_permalink() ?>"><img src="/path/to/filename.jpg" border="0" alt="<?php the_title(); ?>" /></a>

    e.g.- in http://johnonfood.com/sections/how-to/

    You can’t click the images — AND I WANTED TO!

    works fine in Chrome! (You could always try blogging something like “browser fodder” and asking any IE6 users to leave comments, just a thought!).

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘food site using wp – not a standard template’ is closed to new replies.