Bei mir nicht
Also ich habe in dem Seiten Template das der index.php...
Posts einer Kategorie auf statischer Seite anzeigen
-
-
- Gerade eben
- 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)
-
poste doch mal deinen Code...
-
Stimmt, das ist ne Möglichkeit :)
PHP
Alles anzeigen<?php /* Template Name: Test */ ?> <?php get_header(); ?> <div id="content" class="narrowcolumn"> <?php if (have_posts()) : ?> <?php query_posts('category_name=test'); ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2> <span class="details">Erstellt am <?php the_time(__('F jS, Y', 'kubrick')) ?> von <?php the_author() ?> in <?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', '<br />'); ?> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?></span> <div class="entry"> <?php the_content(__('Read the rest of this entry »', 'kubrick')); ?> </div> <span class="comments"> <?php edit_post_link(__('Edit', 'kubrick'), '', ' '); ?> Schlagworte: <?php the_tags('', ', ', ' '); ?></span> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link(__('« Older Entries', 'kubrick')) ?></div> <div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'kubrick')) ?></div> </div> <?php else : ?> <h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2> <p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'kubrick'); ?></p> <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <div class="clear"></div> <?php get_footer(); ?>EDIT:
Hier hat einer das gleiche Problem, leider auch ohne Lösung..
WordPress › Support Read more function ignored________________________________________________
EDIT 2:
Lösung gefunden. Wie hier Beschrieben vor
schreiben. Dann funktioniert es. -
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!