Hi, please

Vexed and Bothered

So github is still not working. Mushon, the links you gave were again for Leopard and Tiger (I have neither). They did have one that allowed you to manually install github but you needed XCode. And to download XCode you needed Leopard. So, I have copied and pasted my code onto gist so that everyone can look at it that way.

I feel that my structure is a mess right now. I’m not sure how to put the divs in the right places in php. aboveheader or belowcontainer doesn’t seem to working well. It shifts everything and that greybox div you put in last time Mushon didn’t really help.

I looked at Mushon’s post he wrote about loops from last semester.

Anyways, I have done my best with php. I have two loops now. Like Angel mentioned, I had to delete the first loop. I’m still not sure how to make my portfolio category have two columns. My site needs a lot of tweaking.

Here is the php I’ve gone with so far.


  1. mushon 12:22, Apr 12th, 10

    Keeping it to gists for now will be fine, so don’t worry about that.

    One thing I am noticing is that you are excluding categories rather than including them:

    <?php query_posts($query_string . '&cat=-1,-1'); ?>

    Not sure why you’re repeating -1,-1 but if you want to only show let’s say category 3, you can just do:

    <?php query_posts($query_string . '&cat=3'); ?>

    For the two columns you will need to define the first column’s width through CSS, and float it to the right. I think Angel’s code can be a good reference for that:
    Also inspect her css to see what is the html/css that is generated by this

    Beyond that, try to indent your code nicely so it is easily readable.

  2. mushon 12:23, Apr 12th, 10

    And keep up the good work, I do appreciate your hard work on this, and I know it isn’t easy…

Post a Comment

You must be logged in to post a comment.