dansz
Forum Replies Created
-
Forum: Plugins
In reply to: [bbPress Genesis Extend] threaded replies not workingI assume it’s not CSS related. Because once I switched BACK to my Genesis child theme, the threaded replies remain correctly sequenced/indented.
Forum: Plugins
In reply to: [Meta Box] Array shows up in some instance, empty in othersYes sir
$args = array( 'post_type' => array('service'), 'post_status' => 'publish', 'posts_per_page' => -1 ); $my_query = new WP_Query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) : $my_query->the_post(); the_title(); $services = rwmb_meta('as_service_rec'); print_r($services); echo '<br>'; endwhile; } wp_reset_query();
I think i just answered my own question the query should be INDUSTRY not SERVICE
ugh!
So the correct code would be:
$args = array( 'post_type' => array('industry'), 'post_status' => 'publish', 'posts_per_page' => -1 ); $my_query = new WP_Query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) : $my_query->the_post(); the_title(); $services = rwmb_meta('as_service_rec'); print_r($services); echo '<br>'; endwhile; } wp_reset_query();
Forum: Plugins
In reply to: [Meta Box] Multiple image sizes within the same foreach loop?Works perfectly! Thank you!
Forum: Plugins
In reply to: [The Events Calendar] Plugin makes WP bypass my static front pageUpdate: Tried a fresh install on The Events Calendar and the problem persists.
Any of the developers out there to help? I’m sure this is a unique problem, but I’m have a devil of a time figuring out what could be causing such a weird and distinct bug.
I found this extremely helpful. Perfect for page specific title tags.
Great plugin.
Forum: Fixing WordPress
In reply to: Trouble displaying saved custom field value on edit screenHmm…I’ve tried it on two separate installations and it still won’t display the saved input.
Forum: Fixing WordPress
In reply to: Pull a different 'featured image' size for sticky posts?Thanks! I was getting a parse error until I added a colon after ‘else’
<?php if( is_sticky() ) : the_post_thumbnail('sticky'); else : the_post_thumbnail('whetever'); endif; ?>
Forum: Fixing WordPress
In reply to: Pull a different 'featured image' size for sticky posts?Thanks for the tip, but regretfully, I’m not very good at scripting!
Could you offer additional insight as to how I may accomplish this?