Support » Fixing WordPress » WP 1.5 new installation questions

  • I’m not sure whether I should combine my questions or put them in separately. I’m going to err on the side of impulse and put them all here. Sorry if that’s wrong.

    What I’m designing is a town political committee site, managed by one person (me) only. Not a blog. I’m using WP as an informational CMS. I have very extensive hand coding experience in HTML, XHTML and CSS but pretty much none with PHP. OK. That’s the background. Unless I’ve forgotten something important. <sigh> Wrong end of the day here.

    I’ve just installed (via Fantastico) WP 1.5 – for the umptieth time. Each time, I’ve gotten frustrated by things I can’t intuitively do but that’s my own impatience and not really germane. I’m sticking with it and – tah dah – asking for help!

    I have a very cool header (IMHO of course) that I want to use in place of the Kubrick header.jpg. It works beautifully except of course the site name and slogan appear on top of it. I can eliminate them by removing the H1 and description code but then I have no home link. Which is also OK if I can solve the next issue.

    I’d much rather have a side menu with ‘home’ at the top than the header link – most non-CMS folk don’t realize they should link on the header to get back to the index and I’d rather a more obvious link.

    Every time I mess with the sidebar template, I screw myself up. Here’s what I’m aiming for: I can either have an internal page reserved for links or use a javascript menu thingy so they slide out. Haven’t decided yet. I might even use the LI and have them all listed on every page. But I do want the same right column menu on every page.

    Next, I don’t want the comments or posted line below my content. I found a reference to removing it from 1.2 but haven’t been able to solve it in 1.5. You can see from my mockup how I don’t want anything under the content.

    Oh! And I’d just as soon the topic line not be linked.

    Here’s the actual site (just starting it):

    I’m going to eliminate the categories links. But I want to make some pages and link to them directly, specifically the contact page and the about us page. Can I do this once I get the menu how-to solved?

    I love the Kubrick theme. I might make it a tad wider as I add content but that’s not a problem. I have the graphic in layers and have already played with it in half dozen different CMS attempts. 🙁 Sheesh. Gotta learn to ask.

    Anyway, if anyone knows of a template set that already accomplishes the non-blog type of site, I’d be very cool adapting it back to Kubrick. It’s back to that comfortable with CSS bit…

    Anyway, thanks for any help and if this would be better in pieces, please let me know and I’ll post them individually.


    PS I’ve just gotten the O’Reilly PHP book and am trying to learn as I go. Not working wonderfully because jobs and families and life keeps getting in the way. But I am trying to work toward PHP independence. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Presuming that you want to use a normal link and not some javascript garbage, to add your home link to the sidebar:
    1. Go into WordPress’s theme editor
    2. Select the Sidebar Template
    3. Under this:
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>

    Add this:
    <li><a href="" title="Click here to return to the home page">Home</a></li>

    As for removing the comments/posted line, with Kubrick that’s a bit tricker (especially since I don’t use that theme) but the section you want to look at is in the Post Template and looks like this:
    <p class="postmetadata alt">
    This entry was posted
    <?php /* This is commented, because it requires a little adjusting sometimes.
    You'll need to download this plugin, and follow the instructions: */
    /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    and is filed under <?php the_category(', ') ?>.
    You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.

    <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Both Comments and Pings are open ?>
    You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(display); ?>">trackback</a> from your own site.

    <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Only Pings are Open ?>
    Responses are currently closed, but you can <a href="<?php trackback_url(display); ?> ">trackback</a> from your own site.

    <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    // Comments are open, Pings are not ?>
    You can skip to the end and leave a response. Pinging is currently not allowed.

    <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    // Neither Comments, nor Pings are open ?>
    Both comments and pings are currently closed.

    <?php } edit_post_link('Edit this entry.','',''); ?>


    Try replace all of that with:
    <?php edit_post_link('edit', '<p>', '</p>'); ?>

    I think that should get rid of what you want while still leaving you a link to edit your posts.

    Wow! Thanks so much. I have to go digest all that but I did want to thank you for taking the time to help.


    Good luck!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP 1.5 new installation questions’ is closed to new replies.