Hot answers tagged

2

Looking at the following source codes get_header() get_footer() get_template_part() you are going to have issues, more with your custom headers and footers. I do not know what portfolio is and how it will be used, so I cannot answers on that specific subject get_footer() and get_header() does not allow for custom headers and footers to be loaded from a ...


1

EDIT: deleted incorrect information I see what you are missing now. Without knowing the specifics, I tried to point you in the right direction with this: $my_query = new WP_Query('post_type=sliders&p=411'); if( $my_query->have_posts() ) { while ( $my_query->have_posts() ) : $my_query->the_post(); // Get the specific meta data for ...


1

$my_query = new WP_Query('post_type=sliders&p=411'); if( $my_query->have_posts() ) { while ( $my_query->have_posts() ) : $my_query->the_post(); $slider_imgs = get_post_meta( get_the_ID(), 'slider_meta_key' ); foreach($slider_imgs as $slider_img) { echo '<img src="'.$saved_slider_meta.'">'; } endwhile; ...



Only top voted, non community-wiki answers of a minimum length are eligible