so wie hier am rechten Rand: move - Mobilität bewahren, Verkehr sparen … in Wiesloch und Dielheim » Startseite ?
Im oberen Teil werden die nächsten Termine, darunter die 4 neuesten Artikel als Anreißer angezeigt, dazu ist eine Kategorie Aktuell(Cat1) eingerichtet der alle Artikel zusätzlich zugeordnet sind. In der entspr. Theme-Datei:
<div id="right">
<div id="right-inside">
<br />
<label for="s" style="font-size:90%; font-weight:bold; "><?php _e('Suche nach Stichwort:'); ?></label><br /><br />
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<div>
<input type="text" name="s" id="s" size="25" /><br />
<input type="submit" value="<?php _e('Search'); ?>" />
</div>
</form>
<div id="aktuell">move aktuell</div>
<!-- Anzeige naechste Termine -->
<div style="border-bottom: 1px solid black"><br /><strong>Die nächsten Termine</strong><?php
ec3_get_events(
'3', // limit
'%DATE%, %TIME% <a href="%LINK%">%TITLE%</a>', // template_event
'', // template_day
'D, j. F'
);
?></div>
Weitere Termine links im Menü
<!-- Anzeige Cat(1) aktuell -->
<?php
global $more;
$more = 0;
rewind_posts();
query_posts('cat=1&showposts=4');
if (have_posts()) : while (have_posts()) : the_post();
// print('<br />'); the_date('d.m.Y');
print('<h3>'); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link nach <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
<?php print('</h3>');
the_content('weiterlesen');
endwhile; else: ?>
<p><?php _e('kein aktueller Beitrag,<br />besuchen sie uns wieder!'); ?></p>
<?php endif; ?>
</div>
</div>
Alles anzeigen