brokenclaw
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Show comments on main index pageI found this response elsewhere:
https://clifgriffin.com/2008/10/28/display-comment-form-on-main-index-in-wordpress/
As far as I can tell, something changed in the WordPress core code that prevents
<?php comments_template(); ?>
from working by itself on the Main Index page. You actually need two lines of code:<?php $withcomments = 1; ?> <?php comments_template(); ?>
Again, you need to place it before the
<?php endwhile; ?>
, and in my experience, you need to place it before the last</div>
or you’ll lose your formatting.The caveat is that this method basically recreates the whole Single Post section on the Main Index page, including the Comment box, whether or not there are previous comments. If you only expect to have a few comments on each post, and you can live with the Comment Box on the Main Page, it works fine.
Forum: Fixing WordPress
In reply to: Text attributes (strong, em, etc) being ignoredAfter further review, I found the answer here.
Forum: Themes and Templates
In reply to: Edit meta widget (block)Thanks for the conversation. I was able to find what I needed without asking a question (which, of course, is one of the main advantages of a forum). I wanted to add a “Valid XHTML” tag in the Meta widget. I found the php file and the List of meta links within it. I added:
<li><a href="https://validator.w3.org/check?uri=referer" title="Valid XHTML 1.0 Transitional">Valid XHTML</a></li>
into the list and it worked as desired. Thanks for your help.
Forum: Fixing WordPress
In reply to: How can I move user comments to a different post?If you want to update the comment count immediately after you make the change, you can just <Edit> one of the comments under each post, and the database will correctly reset the comment counts.