Moin ,
ich suche das Pagebar Plugin finde es aber nirgends wenn ich ma was gefunden habe ist es auf der Seite down :x am besten die neuste Version
Pagebar Plugin
-
-
- 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)
-
-
Danke.
Eine frage habe ich noch in der Anleitung steht folgendes :
If the automatic insertion is not suitable for your blog because your theme has more than one posting loop you can add pagebar manually to your blog by editing some of your themes files. Simply add the following code directly behind The Loop in your index.php and search.php:
<?php
if (function_exists('wp_pagebar'))
wp_pagebar();
?>
Heißt das das ch das irgendwo in die index.php oder search.php kopieren soll ? -
ja, da wo du es haben willst ;-)
-
wo müsste ich das den rein kopieren damit es auch gut aussieht :
PHP
Alles anzeigen<?php get_header(); ?> <div id="content"> <div class="postwrap"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php if(function_exists('the_views')) { the_views(); } ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?> <div class="post" id="post-<?php the_ID(); ?>" style="padding-bottom: 40px;"> <div class="posthead"> <h1><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"> <?php the_title(); ?> </a></h1> <small class="postauthor">Posted by <?php the_author() ?> <?php edit_post_link('Edit'); ?> </small> <p class="postdate"> <small class="month"> <?php the_time('M') ?> </small> <small class="day"> <?php the_time('j') ?> </small> </p> </div> <div class="postcontent"> <?php the_content('Read the rest of this entry'); ?> </div> <div class="postinfo"> <li class="postcomments"> <?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?> </li> <li class="postcat">Filed under: <?php the_category(', ') ?> </li><div class="clearer"></div> </div> </div> <!--<?php trackback_rdf(); ?>--> <div class="clearer"></div> <?php endwhile; ?> <?php else : ?> <h2> <?php _e('Not Found'); ?> </h2> <p> <?php _e('Sorry, no posts matched your criteria.'); ?> </p> <?php endif; ?> <div class="Nav"> <?php if(function_exists('wp_pagenavi')) { wp_pagenavi();} else { posts_nav_link(' — ', __('« Go Back'), __('View more posts »'));} ?> </div> </div> <?php get_sidebar(); ?> </div> <?php get_footer(); ?> -
Einfach pagenavi durch pagebar ersetzen
-
Hat geklappt -> Danke dir
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!