I am sure this is a simple thing, but my attempts result in a php error and no site!
I want this code (which is in the loop.php) to only appear if comments are switched on:
So, it should not appear on my homepage (no comments on home page) or any other pages where I have disabled comments. You can see it on the top (ish) of the pages between the titles and content (or in the case of the homepage that has no title displayed, below the main horizontal menu).Code:<a href="#comment"><b>FREE ADVICE HERE</b></a> (<?php comments_number( 'Ask a question', 'one response', '% responses' ); ?>).
Any help would be much appreciated!
Cheers
Jon.


LinkBack URL
About LinkBacks
Reply With Quote



