nested divs, classes for a grid in loop [duplicate]

You don’t have to run through The Loop in one go. $args = array( ‘posts_per_page’ => 3, ‘category__in’ => array( 4, 5, ), ); $querytest = new WP_Query($args); if ($querytest->have_posts()) { // this is the first post, with its markup $querytest->the_post(); ?> <div class=”width-1-2″> <?php get_template_part(‘content’, ‘front’, get_post_format()); </div> <div class=”width-1-2″> <div class=”row”> <?php // … Read more

How Can I Center the Logo in the Navigation Menu? [closed]

As this is a premium theme, I would recommend going back to the original developer for a improvement request. You might find they are already implementing this or might be interested in your feedback and initiate the changes. http://themeforest.net/item/medicenter-responsive-medical-health-template/4000598

Metabox Data not saving

I tried your code and it saved the custom fields just fine. The issue is that esc_attr returns a string but does not echo it out. Try this instead: <p>Date: <input type=”text” name=”getextra_mbe_date” value=”<?php echo esc_attr( $getextra_mbe_date); ?>” /></p> <p>Time: <input type=”text” name=”getextra_mbe_time” value=”<?php echo esc_attr( $getextra_mbe_time); ?>” /> </p>