WordPress.org

Forums

[resolved] maybe i'm doing it wrong... (8 posts)

  1. hsu0886
    Member
    Posted 9 years ago #

    in reference to my earlier post
    (http://wordpress.org/support/topic/43193)

    is it possible to form a URL that calls just the sidebar?

  2. hsu0886
    Member
    Posted 9 years ago #

    somebody please help with this... no replies at all is semi-annoying.

  3. Minna
    Member
    Posted 9 years ago #

    What if you made the sidebar into an independent page a la popup comments template?

    You shouldn't be in such a hurry, not all threads are answered within the same day they were started. (Referring to an own thread like this is a bit like bumping, isn't it? *tsk tsk*)

  4. hsu0886
    Member
    Posted 9 years ago #

    Yeah... but I'm on a bit of a time schedule with this. Honestly, I only referred to my own thread because I wasn't even sure if it was in the right forum...

    My goal is to have the sidebar (the links to archives, catagories, pages, links, etc.) independent from the posts... as crudely diagramed here: http://s93111428.onlinehome.us/cbb/plan.png

  5. moshu
    Member
    Posted 9 years ago #

    Well, in every decent theme all that stuff in blue on the left should be in the sidebar.php template.

  6. hsu0886
    Member
    Posted 9 years ago #

    But I can't simply copy that code and drop it in blank php file, or can I... ? Won't the index I'm trying to create require some info to tell the php code that's trying to pull the sidebar elements what to pull from?

  7. moshu
    Member
    Posted 9 years ago #

    That's the "punishment if you post in two places + a non-clickable link to your previous post :)
    = nobody is really reading what did you ask initially...
    So, you want the content of the sidebar (of the theme) to be displayed somewhere else?
    You can use any WP feature on any .php file that you create, if you put at the top of that file this:
    <?php
    require('./path_to-your-blog/wp-blog-header.php');
    ?>

    Hope this helps.

  8. hsu0886
    Member
    Posted 9 years ago #

    It did help, it was exactly what I was looking for - thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags