![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Bland for life
Industry Role:
Join Date: Nov 2004
Posts: 10,468
|
Help with a little PHP and the Wordpress Codex
If I disable comments on a particular post then I'd like it to be reflected on the blog's main with "comments closed" instead of the user clicking on comments and then seeing that they are disabled on the single page.
I'm guessing I need an "If" statement. If comments are closed then post "comments closed" otherwise "Comments 0, 1" Who can help me out.
__________________
★★★
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Bland for life
Industry Role:
Join Date: Nov 2004
Posts: 10,468
|
Well...figured it out on my own. In case anyone is wondering...
PHP Code:
__________________
★★★
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
. . .
Industry Role:
Join Date: Apr 2007
Location: NY
Posts: 13,724
|
thank you for sharing
![]()
__________________
__________________ Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs Check out the #1 WordPress SEO Plugin: CyberSEO Suite |
![]() |
![]() ![]() ![]() ![]() ![]() |