?> <div class="results-text-box"> <h4 class="search-result-entry-title"><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h4> <p class="postmetadata">Pubblicato in <?php echo dito_printObjectTermsInNiceFormat(get_the_ID(), array(), array('eta')); ?> </p> <?php if (function_exists('the_advanced_excerpt')) { ditoDoExerpt(); } else { the_content(); } ?> </div> </div> <?php } } if ($suggestions) { $this->paginationLinks(); $suggestions = array_reverse($suggestions); ?> <h2 class="mediateca-results-title-below">Suggeriamo anche</h2> <?php
//$glQuery = new WP_Query("cat=45&orderby=title&order=ASC"); while (have_posts()) { the_post(); ?> <h3 class="post-title"><?php the_title(); ?> </h3> <div class="entry"> <?php //the_content(); ditoDoExerpt(100); ?> </div> <?php } ?> <?php twentyeleven_content_nav('nav-below'); ?> </div>
<?php } else { ?> <div class="entry no-intro <?php ditoLargeClass(); ?> "> <?php } if (is_category(50)) { displayPictures(); the_content(); } elseif (is_category('54') || is_category('56') || is_category('57') || is_category('58') || is_category('59') || is_category('60') || is_category('61') || is_category('47') || is_category(141) || is_category(55) || is_category(44) || is_category(138)) { the_excerpt(); } elseif (is_category('4') || is_category('3') || is_category('5') || is_category('6') || is_category('7') || is_category('8')) { ditoDoExerpt(30); } else { the_content(); } ?> <?php if (!in_category(4) || !in_category(141) || !in_category(44) || !in_category(55) || !in_category(138)) { ?> </div> <?php } ?> <?php