get_var("SELECT ID FROM $wpdb->posts WHERE post_name = 'config'"); $pid2 = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_name = 'config2'"); ?>
name; wp_nav_menu( array('menu' => $menu, 'container' => '', 'menu_class' => 'clearfix',)); } elseif (get_field('global',$pcate)) { $gid = get_field('global',$pcate); $menu = wp_get_nav_menu_object($gid)->name; wp_nav_menu( array('menu' => $menu, 'container' => '', 'menu_class' => 'clearfix',)); } else { wp_nav_menu( array('menu' => 'Gridglobal', 'container' => '', 'menu_class' => 'clearfix',)); } ?>
8,
'author' => $author,
);
$the_query = new WP_Query( $args );
?>
have_posts()) : ?>
have_posts() ) : $the_query->the_post(); ?>
post_title, 0, 20).'...'; ?>
get_var("SELECT parent FROM ".$wpdb->prefix."term_taxonomy WHERE term_id = $ccat"); ?>
16,
'cat' => $ccat,
);
$the_query = new WP_Query( $args );
?>
have_posts()) : ?>
have_posts() ) : $the_query->the_post(); ?>
post_title, 0, 20).'...'; ?>
category_parent; ?>
>
cat_ID)) { ?>
16,
'cat' => $ccat->cat_ID,
);
$the_query = new WP_Query( $args );
?>
have_posts()) : ?>
have_posts() ) : $the_query->the_post(); ?>
post_title, 0, 20).'...'; ?>
term_id)) { $attachment_id = get_field('title','category_'.$ccat->term_id); $size = 'titles'; $image = wp_get_attachment_image_src( $attachment_id, $size ); ?>
term_id)) { $attachment_id = get_field('title','category_'.$pcat->term_id); $size = 'titles'; $image = wp_get_attachment_image_src( $attachment_id, $size ); ?>