Theme fervens-a

    • 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

  • Ich habe hier einmal sidebar-1 und sidebar-2.php die sehen wie folgt aus.Wo muss ich was löschen?

    Vielen Dank

    sidebar-1.php

    <!--Start Categories -->
    <div class="categ-all"><div class="categ">
    <h3>Categories</h3>
    <ul>
    <?php wp_list_categories('show_count=1&title_li='); ?>
    </ul>
    </div></div>
    <!--End Categories -->

    <!--Start Categories -->
    <div class="widget"><div class="widget-all">
    <h3>Archives</h3>
    <ul>
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    </div></div>
    <!--End Categories -->

    <!--Start Dynamic Sidebar -->
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>

    <?php endif; ?>
    <!--End Dynamic Sidebar -->

    sidebar-2.php

    <!--Start Search -->
    <div class="search">
    <h3>Search</h3>
    <form id="search" action="<?php bloginfo('url'); ?>/">
    <fieldset>
    <input type="text" value="<?php the_search_query(); ?>" name="s" style="width: 250px;" />
    </fieldset>
    </form>
    </div>
    <!--End Search -->

    <!--Start Recent -->
    <div class="recent">
    <ul class="tabs">
    <li><a href="#r-posts"><span>Letzte Fragen</span></a></li><li><a href="#r-com"><span>Letzte Antworten</span></a></li><li><a href="#r-tags"><span>Tags</span></a></li>
    </ul>
    <br clear="all" />
    <ul id="r-posts">
    <?php $posts = get_posts("numberposts=10&orderby=post_date&order=DESC"); foreach($posts as $post) : ?>
    <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
    <?php endforeach; ?>
    </ul>
    <ul id="r-com">
    <?php dp_recent_comments(3); ?>
    </ul>
    <div id="r-tags">
    <?php wp_tag_cloud(''); ?>
    </div>
    </div>
    <!--End Recent -->


    <!-- Start Flickr Photostream -->
    <?php if (function_exists('get_flickrrss')) { ?>
    <div class="flickr">
    <h3>Flickr PhotoStream</h3>
    <ul>
    <?php get_flickrrss(4); ?>
    </ul>
    </div>
    <?php } ?>
    <!-- End Flickr Photostream -->

    <div class="about-all"><div class="about">
    <h3>About</h3>
    This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from.
    </div></div>


    <br />
    <!--Start Dynamic Sidebar -->
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
    <?php endif; ?>
    <!--End Dynamic Sidebar -->

  • Habs rausgefunden,man muss folgende zeilen löschen

    <!--Start Search -->
    <div class="search">
    <h3>Search</h3>
    <form id="search" action="<?php bloginfo('url'); ?>/">
    <fieldset>
    <input type="text" value="<?php the_search_query(); ?>" name="s" style="width: 250px;" />
    </fieldset>
    </form>
    </div>
    <!--End Search -->

    <!--Start Recent -->
    <div class="recent">
    <ul class="tabs">
    <li><a href="#r-posts"><span>Letzte Fragen</span></a></li><li><a href="#r-com"><span>Letzte Antworten</span></a></li><li><a href="#r-tags"><span>Tags</span></a></li>
    </ul>
    <br clear="all" />
    <ul id="r-posts">
    <?php $posts = get_posts("numberposts=10&orderby=post_date&order= DESC"); foreach($posts as $post) : ?>
    <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
    <?php endforeach; ?>
    </ul>
    <ul id="r-com">
    <?php dp_recent_comments(3); ?>
    </ul>
    <div id="r-tags">
    <?php wp_tag_cloud(''); ?>
    </div>
    </div>
    <!--End Recent -->


    <div class="about-all"><div class="about">
    <h3>About</h3>
    This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from.
    </div></div>

    Danke

Jetzt mitmachen!

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