Beitragsübersicht

  • Moin Moin, und zwar wollte ich wissen, ob mir irgendjemand helfen kann wie man eine übersicht der beiträge erstellen kann, wie z.b. bei [del]Links gestrichen[/del]
    weiß da einfach nicht weiter


    Danke im vorraus

    Einmal editiert, zuletzt von Olaf (1. Februar 2007 um 00:32)

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • naja halt einfach, das man alle beiträge immer so anzeigen lässt
    also das jeder post in der übersicht nru aus nem bild besteht..und vll noch nen titel drüber

  • naja halt einfach, das man alle beiträge immer so anzeigen lässt


    Wieviel sind "ALLE"?

    Zitat

    also das jeder post in der übersicht nru aus nem bild besteht..und vll noch nen titel drüber


    Was für Bilder?

    "Eine gut gestellte Frage ist schon halb beantwortet."

  • danke wo ändere ich das? hier quellcode:

    <?php get_header(); ?>
    <?php get_sidebar(); ?>
    <div class="middle">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div id="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <p><small><?php the_time('F jS, Y') ?> <?php the_author() ?></small> Posted in <?php the_category(', ') ?> | <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> <?php if(function_exists('the_views')) { the_views(); } ?> <?php edit_post_link('Edit', '', ' | '); ?></p>

    <div class="entry">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>
    <!-- AddThis Bookmark Post Button BEGIN -->
    <?php echo "<div class=\"addthis\"><a href=\"http://www.addthis.com/bookmark.php?pub=blogohblog&amp;url=%22.get_permalink().%22&amp;title=%22.get_the_title($id).%22%5C" title=\"Bookmark using any bookmark manager!\" target=\"_blank\"><img src=\"http://s9.addthis.com/button1-bm.gif%5C" width=\"125\" height=\"16\" border=\"0\" alt=\"AddThis Social Bookmark Button\" /></a></div>"; ?>
    <!-- AddThis Bookmark Post Button END -->


    </div>
    <div class="br"><br /></div>
    <?php endwhile; ?>

    <div>
    <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    </div>
    <br />
    <?php else : ?>

    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

  • <?php get_header(); ?>
    <?php get_sidebar(); ?>
    <div class="middle">

    [COLOR=#000000] <ul>[COLOR=#0000CC]<?php wp_get_archives[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'type=postbypost&limit=10&format=html'[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>[/COLOR]</ul>

    [/COLOR] <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div id="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <p><small><?php the_time('F jS, Y') ?> <?php the_author() ?></small> Posted in <?php the_category(', ') ?> | <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> <?php if(function_exists('the_views')) { the_views(); } ?> <?php edit_post_link('Edit', '', ' | '); ?></p>

    <div class="entry">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>
    <!-- AddThis Bookmark Post Button BEGIN -->
    <?php echo "<div class=\"addthis\"><a href=\"http://www.addthis.com/bookmark.php?p…22.get_permalin k()."&amp;title=".get_the_title($id)."\" title=\"Bookmark using any bookmark manager!\" target=\"_blank\"><img src=\"http://s9.addthis.com/button1-bm.gif%5C" width=\"125\" height=\"16\" border=\"0\" alt=\"AddThis Social Bookmark Button\" /></a></div>"; ?>
    <!-- AddThis Bookmark Post Button END -->






    </div>
    <div class="br"><br /></div>
    <?php endwhile; ?>

    <div>
    <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    </div>
    <br />
    <?php else : ?>

    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

  • Ich habs oben schonmal verlinkt, aber für dich nochmal:
    http://forum.wordpress-deutschland.org/plugins-und-wi…-den-posts.html

    wp_get_archives() gibts Posts aus und der Loop (dh. der Teil while have posts ... endwhile) nochmal. Kommentier den 2. Teil mal aus:

    Wenn's dass tut wie du willst kannst den gesamten auskommentierten Teil (hier orange hervorgehoben) auch ganz löschen...

  • danke für den Tip nun geht es auch ohne orangene Teil.

    Was muss ich ändern das er nicht nur eine Liste ausgibt sondern automatisch Datum davorsetzt?

  • Den Loop umschreiben und noch das datum einfügen. glaube nur mit wp_get_archives geht das nicht :S? hab noch nicht so die peilung, les aber viel^^ wie wärs, wenn du auch mal lesen würdest? Gibt hier ne gute Dokumentation ;)

    Einmal editiert, zuletzt von NONNNNN (29. Januar 2008 um 10:24)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!