CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
PHP Problems
[Solved] Styling a custom field Wordpress
aaronheine
Permalink to comment
#
July 2011
I'm looking to place a hook with this code I placed in the loop.
<img class="PostThumb" src="<?php echo get_post_meta($post->ID, 'Thumbnail', true); ?>" />
I'm not getting a class or ID to style my custom field post thumbnail.
http://goodwynbuilding.com/blog/
You will see it on the third blog post.
Thanks
TheDoc
Permalink to comment
#
July 2011
The class of PostThumb is coming in fine. What's the problem?
aaronheine
Permalink to comment
#
July 2011
Yes I see that now thanks. I guess it was just a cacheing problem.
Add a Comment
I'm not getting a class or ID to style my custom field post thumbnail.
http://goodwynbuilding.com/blog/ You will see it on the third blog post.
Thanks