![]() |
plus if you just dont wanna include thumb on full post, running a php exec plugin is a very bad idea. stay far away from that as possible.
|
ok this is driving me bonkers...
I set featured-images, and assign full path to image for that index.php I have this code: Code:
<?php the_post_thumbnail( array (640,480) );?> Code:
<?php get_post_custom_values("featured-images")( array (640,480) );?> |
Quote:
|
morning bump :)
|
CUSTOM-FIELD-NAME filled out with image address
Code:
<img src="<?php echo get_post_meta($post->ID, 'CUSTOM-FIELD-NAME', true); ?>" alt="" height="480" width="640" /> |
just dont call it from single.php
|
Quote:
otto - so: Code:
<img src="<?php echo get_post_meta($post->ID, 'featured-images', true); ?>" alt="" height="480" width="640" /> |
yup that'll be it, thanks guys :thumbsup
|
1 thing - what would I use to have that image linked to the permalink?wrap a href around that img srcobviously, but the actual php code?
|
put <a href="<?php the_permalink();?>img code here</a>
|
awesome, got it working :) thanks again :thumbsup
|
All times are GMT -7. The time now is 05:03 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123