Support » Fixing WordPress » Assigning ID #’s – URGENT

  • I am trying to design a site using the Green Park 0.9.1 theme, it has 3 columns (one main news column in the middle, left column would be a blog just displaying the title of the blog entry which would open up the full blog page, and the right column is for links).

    The trouble I’m having is when I set-up new categories, I want to be able to assign (lets say Main News with ID#2) to show up in the middle column and (‘Thoughts’ with ID#3) show up in my “thoughts” nav. bar on the left.

    So when I give authors writing access all they would have to do is select “Main News” to show up in the middle column or “Thoughts” and it would display the blog title on the left which would launch a new window with the full blog.

    Sorry if this doesn’t make much sense, let me know and i’ll try to clarify.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Let’s not use “URGENT!” in a title unless someone’s losing blood or about to have a limb hewn off.

    If you rewrite the above without the word “ID” (wth is an ID in WordPress?) and substitute “Category” instead, an article I recently linked here comes to mind. Maybe it’ll help your scenario?

    Thanks hs, cool link. *bookmarked*

    Thanks HandySolo, I think this would probably work for me if I can actually get this working.

    Sorry for the “URGENT” But I just might lose a limb if I don’t get this done soon. =)

    I have one question about this though, when it says to make a copy of index.php and call it home.php, then it says to add multiple loops to the file, is it saying to change the home.php file?

    And would I have to point the index.php file to home.php? How would I do this?

    WP recognizes the presence of a home.php template file – you don’t need to do anything.

    One more question.

    In her tutorial, it says to copy the loop from:

    <?php while (have_posts()) : the_post(); ?>

    <?php endwhile;?>

    In my index.php file my loop starts with:

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <?php endwhile; else: ?>

    <?php endif; ?>

    Should I be copying the if statement as well or just the while statement leaving the if out.

    Because when I pasted into my sidebar.php file i’m getting a Parse error: syntax error, unexpected T_ENDIF in /home/brochures/public_html/wp2/wp-content/themes/cordobo-green-park-09-beta-09/sidebar.php on line 95

    Thanks for all your help guys!!

    I’d suggest replacing yours, (including the if / endif) with hers until you’re comfortable with what you’re up to.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Assigning ID #’s – URGENT’ is closed to new replies.