Forums

edit sidebar in my theme (4 posts)

  1. thechaosfactory
    Member
    Posted 2 years ago #

    hi,

    i'm having a problem editing my theme. i am using a theme that apparently does not allow for the sidebar to be edited from the dashboard. here's the code for the sidebar.php page:

    <!-- Sidebar -->
    <div id="sidebar">

    <h3>Categories</h3>

      <?php wp_list_categories('title_li='); ?>

    <h3>Archive</h3>

      <?php wp_get_archives('type=monthly'); ?>

    <h3>Blogroll</h3>

      <?php wp_list_bookmarks('categorize=0&title_li='); ?>

    <h3>Meta</h3>

    </div>
    _______________________

    and here's the url for my site: http://entropy2.com/blogs/5kingdoms/

    i really like this theme, but i'm not very knowledgeable about the coding of wordpress pages. is it easy for me to edit this page to allow me to change the side bar from the dashboard?

    thanks,
    dr

  2. henkholland
    Member
    Posted 2 years ago #

    Hi,

    Apparently you can see it because you show a copy here.
    Is that from the Dashboard/Appearance/Editor?
    Is there a warning under the edit box like this: "You need to make this file writable before you can save your changes. See the Codex for more information"?

    That means yo have to chmod the file to 0644 to make it writable from the Dashboard.

    Note: most FTP programs let you edit files on the server and make it very easy to do a safe backup of any file first before editing.

  3. thechaosfactory
    Member
    Posted 2 years ago #

    thanks for responding.

    i'm sorry, i should have been more specific. what i mean is that i can't edit the widgets in the sidebar. any changes i make in the dashboard are ignored. the only widgets that show up are the default widgets as shown in the code above. i want to be able to add and edit the widgets in the sidebar with out having to edit the code. just drag and drop them in the widgets section of the dashboard like i can in my other themes.

    thanks,
    doc

  4. henkholland
    Member
    Posted 2 years ago #

    Ok, ask the theme author if it is widget-ready (not all are).

    The stuff you see now in yor sidebar are not entered through widgets, I think. Adding a widget would remove all that from the sidebar. You then would have to add more widgets; also for the archive and the meta etc.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags