Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QUESTO LO TROVI IN tmpl_home.php
- <h2>Ultime comunicazioni</h2>
- <?php
- if(($inevidenza) != "") :
- ?>
- <?php
- global $post;
- $myposts = get_posts('numberposts=3&category='.$inevidenza);
- foreach($myposts as $post) :
- setup_postdata($post);
- global $more;
- $more = 0;
- ?>
- <h3><?php the_time('j M y') ?> - <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
- <?php the_excerpt(); ?>
- <?php endforeach; ?>
- <p class="dx"><a href="index.php/news/"> Tutte le news ... </ a></p>
- <?php
- endif;
- ?>
- <?php
- if(($ultimecomunicazioni) != "") :
- ?>
- <?php
- global $post;
- $myposts = get_posts('numberposts=3&category='.$ultimecomunicazioni);
- foreach($myposts as $post) :
- setup_postdata($post);
- global $more;
- $more = 0;
- ?>
- <h3><?php the_time('j M y') ?> - <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
- <?php the_excerpt(); ?>
- <?php endforeach; ?>
- <p class="dx"><a href="circolari/">Tutte le circolari...</a></p>
- MODIFICA COSì
- <h2>Ultime comunicazioni</h2>
- <?php
- endif;
- ?>
- <?php
- if(($ultimecomunicazioni) != "") :
- ?>
- <?php
- global $post;
- $myposts = get_posts('numberposts=3&category='.$ultimecomunicazioni);
- foreach($myposts as $post) :
- setup_postdata($post);
- global $more;
- $more = 0;
- ?>
- <h3><?php the_time('j M y') ?> - <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
- <?php the_excerpt(); ?>
- <?php endforeach; ?>
- <p class="dx"><a href="circolari/">Tutte le circolari...</a></p>
- <?php
- if(($inevidenza) != "") :
- ?>
- <?php
- global $post;
- $myposts = get_posts('numberposts=3&category='.$inevidenza);
- foreach($myposts as $post) :
- setup_postdata($post);
- global $more;
- $more = 0;
- ?>
- <h3><?php the_time('j M y') ?> - <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
- <?php the_excerpt(); ?>
- <?php endforeach; ?>
- <p class="dx"><a href="index.php/news/"> Tutte le news ... </ a></p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement