Aaron,
Love your work! Really useful stuff and I will be a donor shortly. I have 2 quickish questions:
1. I wish to use the inline comments feature outside of the loop. I am using the "Inline Posts" plugin to generate one or so pages that are essentially "pages of posts". (ie the page consits of some introduction and then some directives to include post n, post m, post x etc). The code for this executes outside the loop. I have actually got your inline comments working by adding code to that plugin's main function to generate the html just as you do within the loop. The lines of PHP below build up the requisite html in the variable $showcomments and then that variable gets inserted in the appropriate place in the output. ($postId has been set up beforehand):
-------------------------------------------------------------------------------------------------------------
$showcomments = '<a href="'.get_permalink($postId).'#comments" id="awpcomments_link_'.$postId.'" class="comments_link" onclick="aWP.doit({\'id\': \''.$postId.'\', \'type\': \'comments\'}); return false;" rel="nofollow">Show Comments ('.get_comments_number($postId).')</a>';
$showcomments = $showcomments.'<div id="awpcomments_'.$postId.'" class="awpcomments" style="display:none;"></div>' ;
$showcomments = $showcomments.'<div id="awpcommentform_'.$postId.'" class="commentform" style="display:none;"></div>' ;
------------------------------------------------------------------------------------------------------------------------------
(a) So it is working but I would prefer not to have to hack it like this. Is there a better way?
(b) Maybe there's a better approach to getting a page of posts than the above plugin? Any suggestions appreciated.
2. With the inline posts feature, I cannot see the html for the "hide 'postname'" link. I just wish to apply some CSS to it. Can you tell me the ID or class of this link?
Thanks heaps.
Tom