forcetwelve
Forum Replies Created
-
Forum: Themes and Templates
In reply to: loop inside the loop?<?php get_header(); ?> <div id="content" class="clearfix"> <div id="feature_wrapper"> <div id="feature_left"><?php wp_cycle(); ?></div><!-- feature left --> <div id="box1" class="transparent_class"> <?php echo get_post_meta($post->ID, 'box1_image', true); ?> <h3><?php echo get_post_meta($post->ID, 'box1_header', true); ?></h3> </div><!-- box1 --> <div id="box2" class="transparent_class"> <?php echo get_post_meta($post->ID, 'box2_image', true); ?> <h3><?php echo get_post_meta($post->ID, 'box2_header', true); ?></h3> </div><!-- box2 --> </div><!-- feature_wrapper --> <div id="news_wrapper"> <h1>LATEST NEWS FROM CERES</h1> <div class="line_big"></div><!-- line_big --> <?php $featuredPosts = new WP_Query(); $featuredPosts->query('category_name=news&showposts=2'); while($featuredPosts->have_posts()) : $featuredPosts->the_post();?> <div id="news_item"> <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> <?php the_excerpt(); ?> </div><!-- news_item --> <?php endwhile; ?> </div><!-- news_wrapper --> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div id="column1"> <h1><?php echo get_post_meta($post->ID, 'column1_header', true); ?></h1> <div class="line_column"></div><!-- line_column --> <p class="details"><?php echo get_post_meta($post->ID, 'column1_text', true); ?></p> </div><!-- column1 --> <div id="column2"> <h1>CERES INFO</h1> <div class="line_column"></div><!-- line_column --> <p class="details"><b>Location</b><br /> 2030 Address St<br /> Brunswick 3088<br /> Victoria Australia<br /><br /> <b>Get in touch</b><br /> Telephone 03 9876 7666<br /> Fax 03 8765 7890<br /> [email protected]<br /><br /> <b>Opening Hours</b><br /> 8:30 - 5:00 <br /> Monday to Friday</p> </div><!-- column2 --> <?php endwhile; else: ?> <?php endif; ?> </div> <?php get_footer(); ?>
Forum: Themes and Templates
In reply to: loop inside the loop?here’s the page in question: https://www.ceresfoodconnect.org.au/test/the-story/
Forum: Fixing WordPress
In reply to: Split Navigation from pageshi. can you tell me if this works or not?
Forum: Fixing WordPress
In reply to: post category variable depending on pages?how would i go about this MichaelH?
Forum: Fixing WordPress
In reply to: post category variable depending on pages?i need to be able to have multiple images, running vertically down the column. is this possible with custom fields?
Forum: Fixing WordPress
In reply to: 2.7 made a custom page template but can’t find ithey – i had ther same prob and i activated a different theme, then reactivated my desired theme and it worked.
Forum: Fixing WordPress
In reply to: Upgraded to 2.8 and can’t upload imagesi am also having trouble with the flash uploader – ie it’s not there! i did a clean install on my server of 2.8 (no active plugins) and its not there.
any ideas? i thought it could have been modsecurity but my host reckons its not. seems like it’s a flash or wordpress error only happening on macs?
my friend tested it for me on a pc and it works fine. mystery!!
Forum: Fixing WordPress
In reply to: File Permissiontry creating the folder ‘uploads’ in your wp-content folder. and set the perms to 777
Forum: Fixing WordPress
In reply to: images dissapear – error after moving to new server (same url)fixed it. go to the ‘miscelllaneous’ setting and change your uploads path to the default: wp-content/uploads