sincewelastspoke
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Fatal Error on Upload in PostHate to -bump- but, any ideas?
Forum: Fixing WordPress
In reply to: Mobile Phone WP?OK.
That seems cool. I think I’ll make a subdomain with a new theme using the method in that link.
Thanks Ivovic!
Forum: Fixing WordPress
In reply to: Use image in Post on Home Page?BRILLIANT!!!
Many, many thanks.
I’ve unlocked the power of the Custom Field, and it feels great ??
Thanks again ??
Forum: Fixing WordPress
In reply to: Use image in Post on Home Page?–
Forum: Fixing WordPress
In reply to: Use image in Post on Home Page?OK, tried the following but with no success:
<?php query_posts('showposts=1&cat=5'); ?><?php while (have_posts()) : the_post(); ?><?php $supporting_image=get_post_meta( $post->ID, 'thumbnail', true ); if (''!=$supporting_image) { echo $supporting_image; } ?><div style="float:left;width:48px;height:45px;background:url('images/calendar.jpg') right no-repeat;padding-top:8px;padding-left:8px"><span style="padding-left:16px;padding-top:18px;font-size:18px;color:#fff;text-align:center"><?php the_time('j'); ?></span><br /><span style="padding-left:11px;padding-top:4px;font-size:10px;color:#fff"><?php the_time('M'); ?></span></div> <p style="padding-left:60px"><?php the_title('<span style="font-weight:bold">', '</span>'); ?><br /><?php the_content_rss('', TRUE, '', 14); ?><?php endwhile;?>
It displays everything ok, but the picture ??
Have I done something wrong?
The key is definitely called ‘thumbnail’.
Forum: Fixing WordPress
In reply to: Use image in Post on Home Page?–
Forum: Fixing WordPress
In reply to: Use image in Post on Home Page?Many thanks for the quick reply.
And this should be [strong]within the while loop[/strong]?
Thank you.
Forum: Fixing WordPress
In reply to: Use image in Post on Home Page?Many thanks for the speedy reply.
I’ve added to the custom field with key thumbnail and html:
<img src="images/test-pic.jpg" alt="" />
In my home page I have:
<?php query_posts('showposts=1&cat=5'); ?><?php while (have_posts()) : the_post(); ?><div><span><?php the_time('j'); ?></span><span><?php the_time('M'); ?></span></div> <p><php the_title('<span style="font-weight:bold">', '</span>'); ?><?php the_content_rss('', TRUE, '', 14); ?><?php endwhile;?>
If I want to show my pic in the custom field, in there, how do I do it, how can I use the excerpt like you say?
Sorry to be so slow.Many thanks for your patience and help with this.
Forum: Fixing WordPress
In reply to: Use image in Post on Home Page?Hate to *bump* but, any ideas?
Forum: Fixing WordPress
In reply to: 2.5 is_page(array… issues :(Brilliant, that worked.
Maybe I should have stuck with the ID instead of trying to be smart hehe.
Thanks again!
Forum: Fixing WordPress
In reply to: 2.5 is_page(array… issues :(Aaaah cool, I’ll just use the ID then. Fingers crossed ??
Forum: Fixing WordPress
In reply to: 2.5 is_page(array… issues :(Thanks for the reply ?? Yes, they’re all the same page.
page_id = 30
page-slug = career-development
page-title = Career DevelopmentI used the array just to future proof it. Right now we’re using index.php?page_id=30 but in the future plan to change the htaccess/rewrite engine so it uses the page title ‘Career Development’.
So you reckon just use if (is_page(’30’)) { for now ?
Thanks.
Forum: Fixing WordPress
In reply to: 2.5 is_page(array… issues :(Hate to *bump*, but any ideas anyone?
Thanks for your time.
Forum: Fixing WordPress
In reply to: Choose category for RSS Feed.Hate to *bump*, but any ideas anyone?
Forum: Fixing WordPress
In reply to: Pagination for Blog posts?——————-
^^ great, worked a treat. I forgot to tick ‘Yes, Always show Page Navi’ hehe.
Thanks for the link.