Support » Theme: Highwind » Change display of author information?

  • Resolved cconstantine


    <aside class="post-meta">

    contains an LI for the author information. I generates something like this:

    <li class="author"><a href="" title="Posts by Some Author" rel="author">Some Author</a></li>

    can I swap that out entirely with a custom taxonomy? …via some filter I add to invoke my own code?

    So just like I have a tags display in the aside, I’d have another taxonomy displayed.

    I can write the code (I’ll borrow from the tags taxonomy) to pull from the new taxonomy, but I don’t know where to ‘splice’ it in via (I’m guessing) an add_filter() call??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cconstantine


    I’m not sure if this is the best way to do this, but this worked for me:

    I replaced the definition of the highwind_post_meta() function by declaring my own version in my child theme’s functions.php. In my version, I’m using a custom taxonomy (where the terms happen to be people’s names) and then I can continue to use the “author” class to get the tiny “person” icon to show next to the people-taxonomy’s terms.

    function highwind_post_meta() {
    	if ( ! is_page() ) {
    	<aside class="post-meta">
    			<li class="categories"><?php the_category( ', ' ); ?>
    			<?php the_tags( '<li class="tags">', ', ','' ); ?>
    			<?php the_terms($post->ID, 'people', '<li class="author">', ', ','' ); ?>
    	</aside><!-- /.post-meta -->


    Hi, I’m very new to this. Where do I go to change that code? And if possible can you give a more detailed explanation? (Just to be sure this gets rid of the user icon to simply display “constantine” alone, right?)

    Thread Starter cconstantine


    No, I was removing the usual meta-information showing the author(s) of the post, and replace it with the list of terms from a custom taxonomy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change display of author information?’ is closed to new replies.