dan_mcclellan
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Hacks
In reply to: Select Image from Media Library for custom fieldI ended up getting it to work by using a text field & pasting in the image url. It is a lot of work though, so I’ll probably follow bcworkz advice next week when things slow down (going live tonight!)
Forum: Hacks
In reply to: Select Image from Media Library for custom fieldok. I’m having a similar issue.
I want a different banner on each of my pages. It all works except the links show up broken. I’m thinking that the attachment id’s don’t work but the actual image urls will.
My code is
<div class="banner"> <?php if(get_post_meta($post->ID, 'banner', true)) : ?> <img src="<?php echo get_post_meta($post->ID, 'banner', true); ?>" /> <?php else : ?> <?php the_title(); ?> <?php endif; ?> </div>What should be different to echo the image url rather than ID?
(I’m a php newb)Forum: Plugins
In reply to: [Audio Player] Compatibility with WordPress 3.8It also conflicts with one of my add-ons that is an absolute must.
Forum: Plugins
In reply to: [Audio Player] Compatibility with WordPress 3.8
Viewing 4 replies - 1 through 4 (of 4 total)