Support » Allgemeine Fragen » Shoutbox Pierre’s Wordspew nicht in Sidebar sondern in FooterBereich einbinden??

  • Hallo zusammen,
    ich verwende das WP-Plugin Pierre’s Wordspew. Diese Shoutbox befindet sich momentan in meinem Sidebar, ich möchte Sie aber in den Footerbereich meiner Seite platzieren. Kann mir da bitte jemand helfen?
    Es gibt in der readme.txt eine Beschreibung, wie ich die Shoutbox aus dem Sidebar bekommen, aber das schaffe ich auch nicht… ^^

    = I wanted to add the shoutbox to a „new page“ instead of my sidebar. How can i do that? =
    Create a template in your theme folder and name it Shoutbox for example. It should be like this if you use the WP default theme…

    <?php
        /*
        Template Name: ShoutBox
        */
        ?>
    
        <?php get_header(); ?>
    
        <div id="content" class="widecolumn">
            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                <div class="post" id="post-<?php the_ID(); ?>">
                    <h2><?php the_title(); ?></h2>
                    <div class="entrytext">
                         <?php the_content('Read more...'); ?>
                     </div>
                    <div>
                    <?php jal_get_shoutbox(); ?>
                    </div>
                </div>
              <?php endwhile; endif; ?>
                <?php edit_post_link('<small>Edit</small>'); ?>
        </div>
    
        <?php get_footer(); ?>

    Now create a new page name it as you want and choose „Shoutbox“ as template for this page. You, now, have your shoutbox in a page.

Ansicht von 1 Antwort (von insgesamt 1)
  • Thread-Starter Giallo

    (@giallo)

    Hab den Fehler gefunden, die Shoutbox.php muss natürlich ins das aktuell verwendete Theme-Verzeichnis kopiert werden und schon läufts.

Ansicht von 1 Antwort (von insgesamt 1)
  • Das Thema „Shoutbox Pierre’s Wordspew nicht in Sidebar sondern in FooterBereich einbinden??“ ist für neue Antworten geschlossen.