• hello there, i?′ve got a problem wich i can?′t handle myself

    i would like to use an other sidebar in my archives page and if i know how this works or how can i do this, also in my about page.

    let me explain:

    in my archives page there should be in the sidebar most recent comments, perhaps the last posts and the db stats.
    i know how to make a static page and i know how to use those plugins, but what makes me think is….how can i make the new sidebar or a second sidebar with other features?

    i?′m very thankfull of any help links and your answers. have a nice evening

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter yuh

    (@yuh)

    thx moshu thats exactly that for i was looking for

    i thought i take a look at the default theme in wp 1.5 the “kubrick” and in this sidebar he also uses the “if” calling.

    for example in the default theme….so you can browse to archives. the sidebar loads the content, text, pictures whatever for this section and the place where you are right now….even in the archiv section.

    i took a look at this sidebar and i think i can use this for my problem. and perhaps i can write u soon about succes or a miss ??

    one question is still unanswered, am i right with my doing to create a static page with this phpcode a post before, or is there something wrong?

    thx really really a lot for helping….i?′m on my way to handle this now

    one question is still unanswered, am i right with my doing to create a static page with this phpcode a post before, or is there something wrong?

    Im not sure I understand exactly what you mean. Could you re-phrase it, please!

    Thread Starter yuh

    (@yuh)

    is the way i create a static page. im not sure if this is a static page okay, or is there another way to get a new page?

    hm not better ??

    i want a new page with the content in the archiv at my webpage. left the content with stats, categories and perhaps something else and on the right should be displayed a new createt sidebar with comments and recent posts.

    and so i did on my page. i used this code to get a new page which i gave a hyperlink in the header.
    thats the code:

    <?php
    require(‘./wp-blog-header.php’);
    $themes = get_themes();
    $current_theme = get_current_theme();
    $current_template_dir = $themes[$current_theme][‘Template Dir’];
    include($current_template_dir . “/header.php”); ?>

    mein content

    <?php include($current_template_dir . “/sidebar2.php”); ?>
    <?php include($current_template_dir . “/footer.php”); ?>

    is this okay how i build a new page with this content i would like or should i use something else. the stats i use atm are 4 plugins and so i decided to get a page like that…its the only way i know do do this

    I think you need to study a little bit the Pages section in the Codex. To have a “different looking” page (or a page with some special template tags in it) you need to create a template.
    You can also study how it is done in the deafult theme, you can also see the use of some special Pages and templates (e.g. Search) in my theme.

    Thread Starter yuh

    (@yuh)

    the default template is a perfect example, but first of all is to get in touch with the basics i missed and read the article you postet me.

    hope i can post you a succes very soon, thx alot to give me the right way moshu

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Wanted: NEW sidebar for other pages’ is closed to new replies.