Buongiorno a tutti,
come da titolo ho qualche problema con le sidebar multiple. Diciamo che ho 10 pagine e per ognuna di esse dovrei mostrare una sidebar differente. Ho creato un template associato ad alcune pagine che mi mostra gli ultimi X post associati a determinate tags, e ho usato questo codice
<?php if (is_page(14319)) { ?>
<?php query_posts('tag=casa&showposts=100'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_time('j/n'); ?> - "><?php limit_title($post->post_title, 85); ?>
<?php endwhile; endif; ?>
<?php } ?>
fin qui tutt'ok, funziona tutto benissimo e non ho alcun problema... premetto che le sidebar sono perfettamente funzionanti, le provate una ad una sul tema e funzionano, ma quando uso il codice qui sotto, non vengono visualizzate...
<?php if (is_page(14319)) { ?>
<?php get_sidebar('casa'); ?>
<?php } ?>
dove sbaglio?