dsamuel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: TEMPLATEPATH images direcotry?bloginfo(‘stylesheet_directory’) doesn’t work for me, but get_stylesheet_directory() does – at least it gives me the absolute path to the current theme directory. TEMPLATEPATH provides a relative (to http://) path as well.
———————
DevelopmentForum: Fixing WordPress
In reply to: Enable/Disable Comments for PagesMy apologies to those who have tried to find the article Customizing Comments in WordPress a Template, mentioned in the post above – it’s there, but a direct link would be helpful to some! Here it is:
http://discover-doug.com/2006/10/31/customizing-comments-in-wordpress-a-template/
Forum: Fixing WordPress
In reply to: Enable/Disable Comments for PagesI spent some time learning more about this so I could get my posts to behave exactly the way I want them to. I want comments to appear on some pages, but if comments are disabled, I don’t want anything about comments to appear.
I wrote an article about it on my website http://www.discover-doug.com – if you need to learn more about this subject, I hope the article might help.
–Doug
Forum: Fixing WordPress
In reply to: Enable/Disable Comments for PagesThanks! That helps with the problem, and helps me understand more about how WordPress works.
Forum: Fixing WordPress
In reply to: Enable/Disable Comments for PagesI have
comments_template()working correctly, and I can enable/disable comments.What I want to do is not display anything when posts are disabled. Right now when I disable
comments_template(), there is a message below the post saying that comments are closed. I don’t want this. I want either nothing, or the ability to post.Is there a way of doing this? I particularly want to use it for my http://www.dougs-travels.com site, and probably others that are in the works as well.
Thanks!