fhewitt
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Author information in author pageAfter many research, I’ve used exactly the solution proposed by Silvar in your first link. I’m happy to see than it’s a good solution.
But the lorelle’s post give many interesting informations, it’s a good reading and I will keep the link for future reference.
Thanks for your answer.
Forum: Plugins
In reply to: Extend Feedsmith to authors feedFinally! I’ve search a long time around $withcomments, but is’t just not the good direction. The answer is:
$wp->query_vars['author_name']
Like
$wp->query_vars['category_name']
which is pretty evident after reflection. The good thing is that I now understand that we can generate a rss feed for any entry (including page who don’t accept comments) just by adding /rss in the url.Now, all what I hope, is too see feedburner support multiple feeds ??
Forum: Requests and Feedback
In reply to: Missing the ability to pass class (or id, or title) to functionFirst, it’s not only for the paging, each elements generated by WordPress function don’t allow custom attribute for the tag, which is restrictive without any justification.
Your right: it’s not so bad just for css selection, as we can wrap in other element. Not perfect, but workaround is easy and pretty common on the web.
But when it’s come to microformats,
rel
attribute for prev/next links, ortitle
attribute over a link, this lack of flexibility is no more acceptable.Inspired of Symfony, I think about something like that:
previous_post_link('%link', 'Previous post', array( 'rel' =>'prev', 'class' =>'previous') );
Forum: Plugins
In reply to: Extend Feedsmith to authors feedFor reference, we have actually:
function ol_feed_redirect() { global $wp, $feedburner_settings, $feed, $withcomments; if (...) { // Global rss feed } elseif (...) ( // Comment feed } }
$withcomments is a boolean variable who allow the redirection to the good feedburner when it’s the comment rss. What variable did we have for the author rss ?
Forum: Plugins
In reply to: Authors list in sidebarThanks.
Don’t output the avatar, as it’s directly use
wp_list_authors
but it’s a good starting point. I’ve finally choose to rewrite awp_list_authors_with_avatar
that make the job I want.Honestly, the need to rewrite a 60 lines function just for add an avatar in a listing (or just because you want the rss icon before the name) look like if the templating system is flawed somewhere. Why not an author loop? Something like:
<?php if (have_authors()) : while (have_authors()) : the_author(); ?> <?php the_author_rss(); the_author_name(); the_author_avatar(); ?> <?php endwhile; else: ?>
Forum: Themes and Templates
In reply to: categories widget prevent css targetingIt’s me who write incomprehensible questions or no ones know the answer?
After some testings, the number in the id seems stable and don’t change. But I still don’t know why it is here and if it can change in some cases.