Hallo alle Miteinander.
Ich habe meine Wordpresspage mit eurer Hilfe schon fast Fertig :D
Es nervt mich nur noch, das immer eine Artikelvorschau angezeigt wird.
(weiterlessen ... ).
Kann das Abgeschaltet werden und so Kofigurieren das die Artikel sofort angezeigt wird ?
Vielen Dank für eure Hilfe:!:
Artikel4schau Abschalten ?
-
-
- 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)
-
-
-
Vielen Dank für die Antwort :D
Ich habe den Bbereich geändert leider hat sich da nich viel getan :-(
so habe ich es erst einmal rückgängig gemacht.
Leider bin ich kein Webprogramierer und kenne mich noch nicht mt php aus.
Anbei mal die index.php. Welcher Bereich müsste den hier geändert werden ?
PHP
Alles anzeigen<?php get_header(); ?> <?php get_sidebar(); ?> <?php include (TEMPLATEPATH . '/right-sidebar.php'); ?> <div id="content"> <?php if (have_posts()) : ?> <?php $postcounter = 0; ?> <?php while (have_posts()) : the_post(); ?> <?php $postcounter++; ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to','zyblog27'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h2> <p class="date"><i><?php the_time (__('m/d/Y','zyblog27'))?> (<?php the_category(', ') ?>)</i> <?php edit_post_link(__('Edit','zyblog27'), '', ''); ?></p> <div class="entry"> <?php the_content(__('Read the rest of this entry »','zyblog27')); ?> </div> <p class="category"><?php comments_popup_link(__('No Comments »','zyblog27'), __('1 Comment »','zyblog27'), __('% Comments »','zyblog27')); ?></p> </div> <?php endwhile; ?> <div class="bottomnavigation"> <div class="alignleft"><?php next_posts_link(__('« Previous Entries','zyblog27')) ?></div> <div class="alignright"><?php previous_posts_link(__('Next Entries »','zyblog27')) ?></div> </div> <?php else : ?> <div id="page"> <h1 class="center"><?php _e('Not Found','zyblog27'); ?></h1> <p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here.','zyblog27'); ?></p> <p class="center"><?php _e('Perhaps you would like to try a search or select from one of the links on the menu.','zyblog27'); ?></p> </div> <?php endif; ?> </div> <?php get_footer(); ?> -
Also eigentlich sollten die kompletten Artikel angezeigt werden, außer du nutzt im Editor den more-Tag,
-
Hallo noch einmal,
nein wenn ich einen Artikel einer Kategorie zugwiesen habe und ihn dan per Menue auswähle kommt immer. z.B.
[size=14]Archiv für die 'Beispiel' Kategorie[/SIZE]
[COLOR=#505050]Beispiel[/COLOR]
30.10.08 ([COLOR=#505050]Beispiel[/COLOR])
[COLOR=#505050]Weiterlesen »[/COLOR]
Comments Off
Klicke ich nun auf weiterlesen kommt der gesamnte Artikel zum vorschein.
Der Hinweis Comments Off nervt auch.
hat jemand ne Idee ? -
Wenn's um Archiv geht, dann ist's natürlich nicht die index.php sondern z.B. archive.php, category.php...Siehe verlinkter FAQ-Artikel.
-
Wenn's um Archiv geht, dann ist's natürlich nicht die index.php sondern z.B. archive.php, category.php...Siehe verlinkter FAQ-Artikel.
Hallo leider ist der Link nicht da !
LG -
das ist die archive.php
PHP
Alles anzeigen<?php get_header(); ?> <?php get_sidebar(); ?> <?php include (TEMPLATEPATH . '/right-sidebar.php'); ?> <div id="content"> <?php if (have_posts()) : ?> <?php $postcounter = 0; ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php /* If this is a category archive */ if (is_category()) { ?> <h1 class="pagetitle"><?php _e('Archive for the','zyblog27'); ?> '<?php echo single_cat_title(); ?>' <?php _e('Category','zyblog27'); ?></h1> <p><strong><em><?php echo category_description(); ?></em></strong></p> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h1 class="pagetitle"><?php _e('Archive for','zyblog27'); ?> <?php the_time(__('jS F Y','zyblog27')); ?></h1> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h1 class="pagetitle"><?php _e('Archive for','zyblog27'); ?> <?php the_time(__('F Y','zyblog27')); ?></h1> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h1 class="pagetitle"><?php _e('Archive for','zyblog27'); ?> <?php the_time('Y'); ?></h1> <?php /* If this is a search */ } elseif (is_search()) { ?> <h1 class="pagetitle"><?php _e('Search Results','zyblog27'); ?></h1> <?php /* If this is an author archive */ } elseif (is_author()) { ?> <h1 class="pagetitle"><?php _e('Author Archive','zyblog27'); ?></h1> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h1 class="pagetitle"><?php _e('Blog Archives','zyblog27'); ?></h1> <?php } ?> <?php while (have_posts()) : the_post(); ?> <?php $postcounter++; ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to','zyblog27'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h2> <p class="date"><i><?php the_time (__('m/d/Y','zyblog27'))?> (<?php the_category(', ') ?>)</i> <?php edit_post_link(__('Edit','zyblog27'), '', ''); ?></p> <div class="entry"> <?php the_excerpt(''); ?> <p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php _e('Read the rest of this post...','zyblog27'); ?></a></p> </div> <p class="category"><?php comments_popup_link(__('No Comments »','zyblog27'), __('1 Comment »','zyblog27'), __('% Comments »','zyblog27')); ?></p> </div> <?php endwhile; ?> <div class="bottomnavigation"> <div class="alignleft"><?php next_posts_link(__('« Previous Entries','zyblog27')) ?></div> <div class="alignright"><?php previous_posts_link(__('Next Entries »','zyblog27')) ?></div> </div> <?php else : ?> <div id="page"> <h1 class="center"><?php _e('Not Found','zyblog27'); ?></h1> <p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here.','zyblog27'); ?></p> <p class="center"><?php _e('Perhaps you would like to try a search or select from one of the links on the menu.','zyblog27'); ?></p> </div> <?php endif; ?> </div> <?php get_footer(); ?>
LG -
Ja da ist der "Fehler". So müsste es funktionieren:
PHP
Alles anzeigen<?php get_header(); ?> <?php get_sidebar(); ?> <?php include (TEMPLATEPATH . '/right-sidebar.php'); ?> <div id="content"> <?php if (have_posts()) : ?> <?php $postcounter = 0; ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php /* If this is a category archive */ if (is_category()) { ?> <h1 class="pagetitle"><?php _e('Archive for the','zyblog27'); ?> '<?php echo single_cat_title(); ?>' <?php _e('Category','zyblog27'); ?></h1> <p><strong><em><?php echo category_description(); ?></em></strong></p> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h1 class="pagetitle"><?php _e('Archive for','zyblog27'); ?> <?php the_time(__('jS F Y','zyblog27')); ?></h1> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h1 class="pagetitle"><?php _e('Archive for','zyblog27'); ?> <?php the_time(__('F Y','zyblog27')); ?></h1> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h1 class="pagetitle"><?php _e('Archive for','zyblog27'); ?> <?php the_time('Y'); ?></h1> <?php /* If this is a search */ } elseif (is_search()) { ?> <h1 class="pagetitle"><?php _e('Search Results','zyblog27'); ?></h1> <?php /* If this is an author archive */ } elseif (is_author()) { ?> <h1 class="pagetitle"><?php _e('Author Archive','zyblog27'); ?></h1> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h1 class="pagetitle"><?php _e('Blog Archives','zyblog27'); ?></h1> <?php } ?> <?php while (have_posts()) : the_post(); ?> <?php $postcounter++; ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to','zyblog27'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h2> <p class="date"><i><?php the_time (__('m/d/Y','zyblog27'))?> (<?php the_category(', ') ?>)</i> <?php edit_post_link(__('Edit','zyblog27'), '', ''); ?></p> <div class="entry"> <?php the_content(''); ?> <p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php _e('Read the rest of this post...','zyblog27'); ?></a></p> </div> <p class="category"><?php comments_popup_link(__('No Comments »','zyblog27'), __('1 Comment »','zyblog27'), __('% Comments »','zyblog27')); ?></p> </div> <?php endwhile; ?> <div class="bottomnavigation"> <div class="alignleft"><?php next_posts_link(__('« Previous Entries','zyblog27')) ?></div> <div class="alignright"><?php previous_posts_link(__('Next Entries »','zyblog27')) ?></div> </div> <?php else : ?> <div id="page"> <h1 class="center"><?php _e('Not Found','zyblog27'); ?></h1> <p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here.','zyblog27'); ?></p> <p class="center"><?php _e('Perhaps you would like to try a search or select from one of the links on the menu.','zyblog27'); ?></p> </div> <?php endif; ?> </div> <?php get_footer(); ?> -
Hallo Söan vielen dank für deine mühe aber es Funzt Leider nicht.
kann mann Archive einfach irgentwo Abschalten ????
es kommt immer noch
z.B.
Archiv für die 'Präsentation' Kategorie
[COLOR=#505050]Präsentation[/COLOR]30.10.08 ([COLOR=#505050]Präsentation[/COLOR])
[FONT=Times New Roman][size=10]Test Artikel ohne Inhalt[/SIZE][/FONT]
[FONT=Times New Roman][size=10] [/SIZE][/FONT]
[FONT=Times New Roman][/FONT]
[COLOR=#505050]Weiterlesen »[/COLOR]Comments Off
LG -
Ich hab eben gesehen, du musst die categorie.php posten. Was soll davon alles nicht angezeigt werden?
-
Hallo Söan die gibt es nicht.
LG -
Hallo leider ist der Link nicht da !
LG
Doch natürlich, ich hab's weiter oben im Thread verlinkt.Ansonsten würde ich dich bitten, Code entsprechend zu kennzeichnen (mit dem PHP-Button).
ZitatHallo Söan die gibt es nicht.
Du hast keine category.php? -
Ja mit dem php Knopf werde ich machen.
Nein habe ich leider nicht. Dies sind die vorhandenen php´s im Template
Themedateien
Templates- [COLOR=#2583ad]Archiv [/COLOR][COLOR=#999999](archive.php)[/COLOR]
- [COLOR=#2583ad]404-Template [/COLOR][COLOR=#999999](404.php)[/COLOR]
- [COLOR=#2583ad]Anhang-Template [/COLOR][COLOR=#999999](attachment.php)[/COLOR]
- [COLOR=#2583ad]Kommentare [/COLOR][COLOR=#999999](comments.php)[/COLOR]
- [COLOR=#2583ad]Footer [/COLOR][COLOR=#999999](footer.php)[/COLOR]
- [COLOR=#2583ad]Theme-Funktionen [/COLOR][COLOR=#999999](functions.php)[/COLOR]
- [COLOR=#2583ad]Header [/COLOR][COLOR=#999999](header.php)[/COLOR]
- [COLOR=#2583ad]Hauptindex-Template [/COLOR][COLOR=#999999](index.php)[/COLOR]
- [COLOR=#2583ad]Seiten-Template [/COLOR][COLOR=#999999](page.php)[/COLOR]
- [COLOR=#2583ad]right-sidebar.php [/COLOR][COLOR=#999999](right-sidebar.php)[/COLOR]
- [COLOR=#2583ad]Suchergebnisse [/COLOR][COLOR=#999999](search.php)[/COLOR]
- [COLOR=#2583ad]Suchformular [/COLOR][COLOR=#999999](searchform.php)[/COLOR]
- [COLOR=#2583ad]Sidebar [/COLOR][COLOR=#999999](sidebar.php)[/COLOR]
- [COLOR=#2583ad]Einzelner Artikel [/COLOR][COLOR=#999999](single.php)[/COLOR]
- [COLOR=#2583ad]tpl_archiv.php [/COLOR][COLOR=#999999](tpl_archiv.php)[/COLOR]
- [COLOR=#2583ad]tpl_links.php [/COLOR][COLOR=#999999](tpl_links.php)[/COLOR]
- [COLOR=#2583ad]tpl_page_comments.php [/COLOR][COLOR=#999999](tpl_page_comments.php)[/COLOR]
StylesheetsLG
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!