• 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 15 replies - 1 through 15 (of 20 total)
  • What theme are you using?

    Send us a link or something so we know what you’re talking about… coding a second sidebar should be easy, more or less the same code to create your first one..

    For recent commetns, posts blah blah try this thread:

    https://www.ads-software.com/support/topic.php?id=27900

    For a second sidebar – ok this is a bit confusing because I did it the hard way, but try this:

    1) duplicate your sidebar.php file
    2) change everything you want inside
    3) in your archives.php files put this at the top or replace any existing reference to the sidebar.php with this:

    <?php load_template( TEMPLATEPATH . '/sidebarx.php'); ?>

    replace sidebarx.php with whatever the sidebar is called. Upload your new sidebar and check if it works.

    This should work.

    It would say it would rather be archive.php (no S at the end).
    see: https://codex.www.ads-software.com/Theme_Development#Query-based_Templates

    Thread Starter yuh

    (@yuh)

    the page is still alpha version….don?′t be too bad

    the base of this first step is a mix between kubrick and gespaa and my chaos.

    i knew how to create this new sidebar but the way its shown on the page itself is bad…its hard for me to explain this in english, im austrian hope you can see what i mean

    Thread Starter yuh

    (@yuh)

    hm something went wrong, pls excuse

    https://acidsugar.net

    Well, I don’t see any difference – all the sidebars are the same for me. Did you implement a different sidebar for any of the categories, Pages?

    (There is a WP support site in German: https://wordpress.de )

    Thread Starter yuh

    (@yuh)

    the position of the sidebar and the post doesn?′t fit together…how can i change this that it make a nice view?

    atm everything is a bit moved out of place if you can understand me.

    the sidebar in the mainpage, the index works perfectly, but the generatet ( in a statical page ) doesn?′t fit

    i would like to get the headline and the latest posts in the same line….how can i do this, if its possible?

    Well, in your only working page ( https://acidsugar.net/archive.php ) you are calling the sidebar BEFORE the content. Try to move it where in the other files is called.

    Thread Starter yuh

    (@yuh)

    when i position the calling of the sidebar like in the index.php the new sidebar is again moved out of place. when i copy the php line at the end of the page, to the calling of the footer, the new sidebar is at the lower right corner, at the bottom of the content page

    when i put it between the first headline “blog archives” there it makes a terribly space, but its always working.

    i would like to position this calling of the new sidebar, that its shown exactly in the same height like the first headline, in my case the “blog archives”
    the only question is, how is this possible?!

    thx for all your answers

    Thread Starter yuh

    (@yuh)

    i still have this problem….
    if there is someone who had modified those sidebars on his side. pls feel free if your time alows it to contact me

    can you grab a screenshot of the problem in effect or at lesat leave the problem on your site unless it’s critical you can’t have it there. everytime i check it looks fine.

    I have the recent thing working in my sidebar, but then I don’t have half of the other stuff like about etc that you do

    I have got a solution to this which is so butt ugly I dare not demonstrate it. First I cleared everything out of footer.php. Most of it was junk which easily fitted somewhere else. Then I turned the file footer.php into a menu :). So I could use get . Then I split them for my 3 col template. ??

    Thread Starter yuh

    (@yuh)

    my sidebar works technically perfect, but its strange how its displayed. i cleared everything out of my cache in every browser but it didn?′t help. so i thought it was a mistake or a little thing i had forgotten….

    and i upped 2 pics your you so you can see what i mean with ” moved out of place”
    https://acidsugar.net/sbinie.png (sidebar shown in ie)
    https://acidsugar.net/sbinff.png (sidebar shown in the ultimate browser)

    perhaps i did a wrong way to get a static page. i used this code here:

    <?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”); ?>

    would be great if someone has an idea.
    in my css i used the <h1> for the headlines in the content. i also tried to use the h1 from the entrybody but its still displayed a bit wrong ….

    could this be a reason that i used a wrong headline??

    https://www.ads-software.com/support/topic.php?id=28259
    Here is a nice solution Avenir provided for different sidebar problems…

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