Support » Fixing WordPress » Permalink pages look like index

  • What’s the easiest way to make my archive and category pages look like my index page? I would like to have my sidebar appear on the pages of individual posts….

    thanks for the help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • one additional thing: by including the line

    <?php get_sidebar(); ?>

    I’ve gotten the sidebar to appear on permalink pages; but it appears down at the bottom of the post instead of in a sidebar on the right-hand side of the page. How can I move it up to make it appear in a sidebar?

    I assume I have to add a div class=”narrowcolumn” somewhere, but I’m not sure where to put it.

    just take your index.php page, and gut out all the stuff within the “contents” div and then save them as archives.php and category.php. i think that’ll work?

    can someone explain to me/correct my understanding of the following pages in the default kubrick theme:

    archive.php : controls the presentation of monthly, yearly archives

    archives.php : ??

    index.php : controls home page of site

    page.php : ??

    single.php : ??

    where is all of this broken down? Is there a wiki guide to 1.5?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    thanks very much, macmanx.

    But I still don’t understand the difference between single.php and page.php

    You’ll want to change the div id(class? I can’t access my site right now) from “widecontent” to “narrowcontent.” This will put the content of the page in the same constraints as it is on the main page. You’ll also want to go into the single.php file and find the php code for where it determines whether it’s a single post or not. Just comment it all out. You should be left with #page {background blah blah …kubrickbg.jpg}

    Do this for every template page you want the sidebar to show up on.

    This is actually good timing on your part =P I JUST did this on my site before the server went down.

    Page.php determines how your pages (not posts) are displayed. Whereas single.php determines how a single post (when you click on the permalink, for example) are displayed.

    Thank you, satoshi–changing “widecolumn” to “narrowcolumn” did the trick!

    one more thing: am I right in thinking that “pages” refers to static pages? and also that there are no static pages in the default install?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Permalink pages look like index’ is closed to new replies.