Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter fhewitt

    (@fhewitt)

    After 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.

    Thread Starter fhewitt

    (@fhewitt)

    Finally! 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 ??

    Thread Starter fhewitt

    (@fhewitt)

    First, 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, or title 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')
    );
    Thread Starter fhewitt

    (@fhewitt)

    For 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 sidebar
    Thread Starter fhewitt

    (@fhewitt)

    Thanks.

    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 a wp_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: ?>
    Thread Starter fhewitt

    (@fhewitt)

    It’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.

Viewing 6 replies - 1 through 6 (of 6 total)