<?php get_header(); if (dw_wall_get_theme_option('cat_select')) { $cat_arr = dw_wall_get_theme_option('cat_select'); if ($cat_arr[0] != '-1') { $paged = get_query_var('paged') ? get_query_var('paged') : 1; $wp_query = new WP_Query('cat=' . implode(',', $cat_arr) . '&paged=' . $paged); } } ?> <div id="container" class="clearfix"> <div id="content" class="masonry"> <?php if (have_posts()) { ?> <?php while (have_posts()) { the_post(); ?> <?php get_template_part('content', get_post_format()); ?> <?php } ?>
function dw_wall_custom_footer_code() { echo dw_wall_get_theme_option('footer_code'); }