deepstandard
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Excluding category from homepage…causing empty pagesYou guys are AWESOME!!!
Forum: Fixing WordPress
In reply to: Restoring from database via phpMyAdmin – Keep getting INSTALL SCREENThanks guys. The issue was that the table’s prefix were different. I had to go back and change it.
Forum: Themes and Templates
In reply to: Displaying content when an image is not presentI did write the code, but i got lucky with it LOL. I got the coding to display the image from somewhere online, and edited it to work in my favor. And I apologize for the code being sloppy…my girlfriend was breathing down my neck telling me to hurry up before I posted it, so I didn’t have time to format it to look good on here…but trust me, it looks good in my code. lol
The posts are laid out traditionally. However, I have the metadata (date, # of comments, etc.) to show OVER the first image, which is why I had to pull the first image out of the content loop.
That is where the issue ensues. When there is not an image, the metadata will STILL try to show over an image. That is where the else statement came from. It is designed to echo a generic image. But I’d rather have the youtube video display on the homepage instead of having people click into the post to see the video. (Any opinions on that are welcome also, because I’m still undecided about whether they should click into the site to see the vid or show it on the homepage.)