addnon
Forum Replies Created
-
Forum: Hacks
In reply to: Display posts ONLY if date is in the past/futureOkay so I think I came up with a solution. This is for displaying only future events. I’m not sure how precise it is, but it works. If someone has a better, more professional solution (i.e – a function) please let me know.
<?php if (strtotime($post->post_date) > strtotime('-1 days')): ?>Forum: Installing WordPress
In reply to: Using old version of wordpressYes it will be.
Forum: Installing WordPress
In reply to: Trying to install WP on university hosted directoryThanks for the reply.
I installed Putty and I was able to connect via SSH but I don’t know the MySQL database name. Guess I’m stuck for now?
Forum: Themes and Templates
In reply to: Div is stretching more than necessaryThanks for the tip. What I ended up doing was replacing the body background with the footer color and then created a “faux” gray background using an image. I’m still curious to know the answer as to why the div was streching so much…
Forum: Themes and Templates
In reply to: Div is stretching more than necessaryLayout code:
http://pastebin.com/xCdX9j2rForum: Fixing WordPress
In reply to: PHP noob..need help displaying comment IDNevermind, fixed it:
<?php $idx = 'post_id='.get_the_ID(); $comments = get_comments($idx); foreach($comments as $comment) : echo($comment->comment_ID); endforeach; ?>Forum: Fixing WordPress
In reply to: Loop not working. Nothing is showing up.Thank you! I’m out of it today!