Hi, I've just added this to my site www.krcsc.co.uk and think it's great. One thing though, this may sound stupid (I am only just getting to grips with WordPress etc) but how do I stream text around it.
If you look at the main page on the site I want to fill up the white space in the centre - can you help?
Any tips would be much appreciated, cheers.
Help with text flow
5 posts • Page 1 of 1
Re: Help with text flow
Ah, another thing, I've just tested it in IE6 and Opera and it doesn't seem to be working properly. Any ideas on what I can do?
- King's Road
- Posts: 5
- Joined: Thu Dec 24, 2009 3:49 am
Re: Help with text flow
Sorry, I've just taken the FCG out until it's sorted. It would be where the picture on the homepage is.
Here's the page code:
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<?php /* Decide what to show at the top of the page */
$arr = get_post_custom_values('titleimage');
$titleimage = (empty($arr[0]))?false:$arr[0];
if (is_page('ABOUT US')) {
// If it's the 'about us' page, then there's no image or header text
} elseif ($titleimage) {
echo "<img class=\"titleimage\" src=\"images/{$titleimage}\" />";
} else {
// Otherwise just show the text
the_title('<h2>','</h2>');
}
?>
<div class="entry">
<?php //DH line below pulls in custom content if an 'include' field has been set
$arr = get_post_custom_values('include'); if (!empty($arr[0])) {include($arr[0]);} ?>
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
</div>
</div>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?></div>
<?php endwhile; endif; ?>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Here's the page code:
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<?php /* Decide what to show at the top of the page */
$arr = get_post_custom_values('titleimage');
$titleimage = (empty($arr[0]))?false:$arr[0];
if (is_page('ABOUT US')) {
// If it's the 'about us' page, then there's no image or header text
} elseif ($titleimage) {
echo "<img class=\"titleimage\" src=\"images/{$titleimage}\" />";
} else {
// Otherwise just show the text
the_title('<h2>','</h2>');
}
?>
<div class="entry">
<?php //DH line below pulls in custom content if an 'include' field has been set
$arr = get_post_custom_values('include'); if (!empty($arr[0])) {include($arr[0]);} ?>
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
</div>
</div>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?></div>
<?php endwhile; endif; ?>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
- King's Road
- Posts: 5
- Joined: Thu Dec 24, 2009 3:49 am
Re: Help with text flow
do you think I work on holidays?...
nope
so put the gallery call back and I will take a look
nope
so put the gallery call back and I will take a look
Yelena Khamidullina
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
-

admin - Site Admin
- Posts: 4789
- Joined: Fri Jan 16, 2009 9:29 am
- Location: Seattle, WA
5 posts • Page 1 of 1
Who is online
Users browsing this forum: tranumabge and 2 guests









