Enable Threaded Comments on Sandbox theme - Wordpress Solution
[Solved] - Enable Threaded Comments on Sandbox theme - Wordpress Solution |
---|
Try following codes |
I am using the Sandbox WordPress theme, I would like to enable Threaded Comments... I have already checked the settings box and turned it on in the admin.
I just am not sure what function or code I need to put in. I would like to have a reply button, display when you hover over the comment box - similar to http://uxbooth.com
You can view my site here... http://lab.inspiredology.com/holly-web-header-hell/#comments
Here is the current code for the comments page....
Solution - 1Chad, I encountered this exact problem almost a year ago. My own framework is forked from Sandbox, let me fetch the code for you! Quick answer while I patch it in to what you have: you need to use function wp_list_comments to handle the comment loop for you, and wrap your comment format in a function that is referenced by wp_list_comments. Same is true for trackbacks. Here is your new code:
Solution - 2I don't think you need to change any of the comments.php code for this. Threaded comments are a little tricky, you'd do best to use one of the many plugins available. This article will get you started on modifying your template, but also has a list of plugins that will do the same thing: http://idratherbewriting.com/2009/05/31/wordpresss-threaded-comments/ |
Date: 2022-10-21 05:22:14 |
Category: Wordpress |
Join the discussion
1 ? __('%d Trackbacks', 'sandbox') : __('One Trackback', 'sandbox'), $ping_count) ?>