// Accoridon image width ?> <!-- Accordion Featured Block --> <?php if ($studiobox_sliderfeat != "") { ?> <!-- Featured Block --> <div class="slideshowgallery"> <div id="loopedSlider"> <div class="container"> <div class="slides"> <!-- For each additional image Add an extra Pagination --> <?php query_posts('cat=' . m_get_category_id($studiobox_sliderfeat) . '&posts_per_page=10'); ?> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <?php $image = get_post_meta($post->ID, $key, true); ?> <?php $count++; ?> <!-- For each additional image Add an extra Pagination --> <div>
print "<ul>"; //This is where the subcategory is pulled down $categories = wp_list_categories('echo=0&child_of=' . m_get_category_id($studiobox_gallery) . '&title_li=&sort_column=menu_order'); $categories = preg_replace('/title=\\"(.*?)\\"/', '', $categories); // Get rid of href Titles in the menu. A Distraction echo $categories; print "</ul>"; } ?> </li> <li><a href="<?php echo get_option('home'); ?> /?cat=<?php echo m_get_category_id($studiobox_blog); ?> ">Blog</a></li> <?php } ?> <?php if ($studiobox_menupages == "Enable") { $pages = wp_list_pages('echo=0&exclude=' . $studiobox_excludemenupages . '&title_li=&sort_column=menu_order'); $pages = preg_replace('/title=\\"(.*?)\\"/', '', $pages); // Get rid of href Titles in the menu. A Distraction echo $pages; } else { ?> <li><a href="<?php echo get_option('home');
<div class="footerbox footerspace"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar("Footer 4")) { ?> <?php if ($studiobox_footerportfolio != "Disabled") { ?> <div class="flickr-box"> <?php query_posts('cat=' . m_get_category_id($studiobox_footerportfolio) . '&posts_per_page=9'); ?> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <?php $image = get_post_meta($post->ID, $key, true); ?> <a href="<?php the_permalink(); ?> " title="<?php the_title(); ?>
<?php if ($studiobox_sidebarfeatured_id != "Disabled") { ?> <div class="sidebartitle"><?php if ($studiobox_sidebarfeatured_title != "") { echo $studiobox_sidebarfeatured_title; } else { echo "Featured"; } ?> </div> <?php if ($studiobox_sidebarfeatured_style == "Random from Category") { $my_query = new WP_Query('cat=' . m_get_category_id($studiobox_sidebarfeatured_id) . '&showposts=1&orderby=rand'); } else { $my_query = new WP_Query('cat=' . m_get_category_id($studiobox_sidebarfeatured_id) . '&showposts=1'); } ?> <?php while ($my_query->have_posts()) { $my_query->the_post(); ?> <?php $image = get_post_meta($post->ID, "image", true); ?> <div class="sidebaropts"><!-- Block One --> <a href="<?php the_permalink(); ?>