groups

name language licence
SHOW DIFFERENT AMOUNT OF POSTS ON WORDPRESS HOME PAGE THAN OTHER PAGES PHP BSD
ANAGE MULTIPLE WORDPRESS SITES WITH ONE DATABASE AND ONE CODE BASE PHP BSD
WORDPRESS QUERY POSTS OF CERTAIN CUSTOM FIELD VALUES PHP BSD
WORDPRESS LOAD JQUERY PHP BSD
WORDPRESS GET CONTENT PHP BSD
WORDPRESS: LATEST POSTS FROM CATEGORY PHP BSD
WORDPRESS QUERY POST FOR A SPECIFIC PAGE PHP BSD
Social bookmarking of posts PHP BSD

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >



language: PHP
licence: BSD

WORDPRESS QUERY POSTS OF CERTAIN CUSTOM FIELD VALUES

options: view full snippetsend to code collector
<?php $headerimage = get_posts('showposts=3&meta_key=headerimage'); foreach($headerimage as $post) : setup_postdata($post); ?>
<div id="header-image"><a href="<?php the_permalink(); ?>" title="Latest experiment from the DesignLab"><img src="<?php echo get_post_meta($post->ID, "headerimage", true); ?>" alt="" border="0" /></a></div>
<?php endforeach; ?>
	
(Continues...)