Beiträge von pulloverschaf

    jepp das hat funktioniert seite lässt sich aufrufen und beide widgets sind im Admin zu sehen jedoch ohnew funktion wenn ich was rein lege sehe ich es nicht :-(

    habe ich noch etwas vergessen?

    Datei angelegt sidebar-left.php
    und funktions.php erweitert mit

    <?php
    function firsttec_widgets_init() {
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'id'=> 'right-sidebar',
    'name'=> __( 'Right Sidebar', $text_domain ),
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    register_sidebar( array(
    'id' => 'left-sidebar',
    'name' => __( 'Left Sidebar', $text_domain ),
    'description' => __( 'This is the left sidebar.', $text_domain ),
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    }}
    add_action( 'widgets_init', 'firsttec_widgets_init' );

    Hi,

    ich weis ich bin ne schwere geburt :-)

    jetzt sieht meine funktions.php so aus und es kommt beim speichern immernoch ein fehler.

    <?php
    function firsttec_widgets_init() {
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'id'=> 'right-sidebar',
    'name'=> __( 'Right Sidebar', $text_domain ),
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    register_sidebar( array(
    'id' => 'left-sidebar',
    'name' => __( 'Left Sidebar', $text_domain ),
    'description' => __( 'This is the left sidebar.', $text_domain ),
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    }
    add_action( 'widgets_init', 'firsttec_widgets_init' );

    HI Scotti,

    ich habe die funktions.php so erweitert:

    1.

    <?php
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    register_sidebar( array(
    'id' => 'left-sidebar',
    'name' => __( 'Left Sidebar', $text_domain ),
    'description' => __( 'This is the left sidebar.', $text_domain ),
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    }
    add_action( 'widgets_init', 'firsttec_widgets_init' );

    2. dann habe ich die Datei sidebar-left.php angelegt mit folgende inhalt

    <?php
    if ( is_active_sidebar( 'left-sidebar' ) ) : ?>
    <div id="left-sidebar" class="widget-area">
    <ul class="sidebar">
    <?php dynamic_sidebar( 'left-sidebar' ); ?>
    </ul>
    </div>
    <?php endif; ?>

    3. jetzt weis ich nicht mehr weiter :-) was ich wie wo noch tun muss

    Hallo,

    ich möchte bei unserer Seite imstyle.de eine linke Sidebar erstellen kann mir jemand sagen was ich machen muss?

    ich habe das hier in unserer function.php gefunden

    <?php
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    }


    reicht es aus wenn ich nun das hier einfüge?


    [LEFT][COLOR=#000000][COLOR=#0000bb]<?php
    [/COLOR][COLOR=#ff8000]// Widget Settings

    // erster Block

    [/COLOR][COLOR=#007700]if ( [/COLOR][COLOR=#0000bb]function_exists[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'register_sidebar'[/COLOR][COLOR=#007700]) )
    [/COLOR][COLOR=#0000bb]register_sidebar[/COLOR][COLOR=#007700](array(
    [/COLOR][COLOR=#dd0000]'name' [/COLOR][COLOR=#007700]=> [/COLOR][COLOR=#dd0000]'linke Spalte'[/COLOR][COLOR=#007700],
    [/COLOR][COLOR=#dd0000]'before_widget' [/COLOR][COLOR=#007700]=> [/COLOR][COLOR=#dd0000]''[/COLOR][COLOR=#007700], [/COLOR][COLOR=#ff8000]// Removes <li>
    [/COLOR][COLOR=#dd0000]'after_widget' [/COLOR][COLOR=#007700]=> [/COLOR][COLOR=#dd0000]''[/COLOR][COLOR=#007700], [/COLOR][COLOR=#ff8000]// Removes </li>
    [/COLOR][COLOR=#dd0000]'before_title' [/COLOR][COLOR=#007700]=> [/COLOR][COLOR=#dd0000]'<h2>'[/COLOR][COLOR=#007700],
    [/COLOR][COLOR=#dd0000]'after_title' [/COLOR][COLOR=#007700]=> [/COLOR][COLOR=#dd0000]'</h2>'[/COLOR][COLOR=#007700],
    ));

    [/COLOR][COLOR=#ff8000]// zweiter Block

    [/COLOR][COLOR=#007700]if ( [/COLOR][COLOR=#0000bb]function_exists[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'register_sidebar'[/COLOR][COLOR=#007700]) )
    [/COLOR][COLOR=#0000bb]register_sidebar[/COLOR][COLOR=#007700](array(
    [/COLOR][COLOR=#dd0000]'name' [/COLOR][COLOR=#007700]=> [/COLOR][COLOR=#dd0000]'rechte Spalte'[/COLOR][COLOR=#007700],
    [/COLOR][COLOR=#dd0000]'before_widget' [/COLOR][COLOR=#007700]=> [/COLOR][COLOR=#dd0000]''[/COLOR][COLOR=#007700], [/COLOR][COLOR=#ff8000]// Removes <li>
    [/COLOR][COLOR=#dd0000]'after_widget' [/COLOR][COLOR=#007700]=> [/COLOR][COLOR=#dd0000]''[/COLOR][COLOR=#007700], [/COLOR][COLOR=#ff8000]// Removes </li>
    [/COLOR][COLOR=#dd0000]'before_title' [/COLOR][COLOR=#007700]=> [/COLOR][COLOR=#dd0000]'<h2>'[/COLOR][COLOR=#007700],
    [/COLOR][COLOR=#dd0000]'after_title' [/COLOR][COLOR=#007700]=> [/COLOR][COLOR=#dd0000]'</h2>'[/COLOR][COLOR=#007700],

    ));
    [/COLOR][COLOR=#0000bb]?>[/COLOR] [/COLOR][/LEFT]

    Hallo,

    ich möchte in unserem Blog mit Onpage SEO beginnen, jetzt habe ich ich einige Fragen dazu.

    Unser Blog http://www.imstyle.de

    Als SEO Plugin habe ich All in One SEO

    Dieses Plugin wird auch angezeigt wenn wir einen neuen Artikel schreiben.

    - Was muss denn da gefüllt werden:
    - Title = Artikel Titel?
    - Keywords (comma separated) =

    - Zudem sei noch angemerkt das wir auch noch Simple Tags Installiert haben. Nun weis ich nicht ob ich die Keywörter auch dort rein kopieren muss.

    Im Quelltext haben wir kein Meta Title ist das normal?

    Ich hoffe es kann mir jemand sagen was wir noch beachten müssen.