Title: willcm's Replies | WordPress.org

---

# willcm

  [  ](https://wordpress.org/support/users/willcm/)

 *   [Profile](https://wordpress.org/support/users/willcm/)
 *   [Topics Started](https://wordpress.org/support/users/willcm/topics/)
 *   [Replies Created](https://wordpress.org/support/users/willcm/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/willcm/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/willcm/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/willcm/engagements/)
 *   [Favorites](https://wordpress.org/support/users/willcm/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Product FAQs] how to display the author name and date posted](https://wordpress.org/support/topic/how-to-display-the-author-name-and-date-posted/)
 *  Thread Starter [willcm](https://wordpress.org/support/users/willcm/)
 * (@willcm)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/how-to-display-the-author-name-and-date-posted/#post-4198553)
 * Sorry Josh,
 * For author (i.e. person that asks the question):
    <div class=”author” itemprop
   =”creator” itemscope itemtype=”[http://schema.org/Person”&gt](http://schema.org/Person”&gt);
   <span itemprop=”name”>Question askers name</span> </div>
 * For date posted:
    <span itemprop=”commentTime”>date comment asked</span>
 * <span itemprop=”comment” itemscope itemtype=”[http://schema.org/UserComments”>question](http://schema.org/UserComments”>question)
   asked</span>
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Product FAQs] how to display the author name and date posted](https://wordpress.org/support/topic/how-to-display-the-author-name-and-date-posted/)
 *  Thread Starter [willcm](https://wordpress.org/support/users/willcm/)
 * (@willcm)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/how-to-display-the-author-name-and-date-posted/#post-4198429)
 * Perfect thanks Josh, just one more thing that would really help – microdata for
   SEO
 * Please can you add – [http://schema.org/Blog](http://schema.org/Blog)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Product FAQs] how to display the author name and date posted](https://wordpress.org/support/topic/how-to-display-the-author-name-and-date-posted/)
 *  Thread Starter [willcm](https://wordpress.org/support/users/willcm/)
 * (@willcm)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/how-to-display-the-author-name-and-date-posted/#post-4198357)
 * okay solved both 🙂 (is there a way to do this so I dont have to “hack” the original
   plugin files?
 * line 160 loop-faqs.php
 *     ```
       echo '<p><span class="faq-author">Asked by ' . get_post_meta( $faq_id, '_woo_faq_author_name', true ) . ' on </span>';
   
       echo '<span>' . comment_date() . '</span></p>';
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Product FAQs] how to display the author name and date posted](https://wordpress.org/support/topic/how-to-display-the-author-name-and-date-posted/)
 *  Thread Starter [willcm](https://wordpress.org/support/users/willcm/)
 * (@willcm)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/how-to-display-the-author-name-and-date-posted/#post-4198207)
 * Found the issue for the author name, now how do I add the date?
 * line 160 loop-faqs.php reads:
 * `echo '<p class="faq-author">— ' . get_post_meta( $faq_id, '_woo_faq_author',
   true ) . '</p>';`
 * This should be:
 * `echo '<p class="faq-author">— ' . get_post_meta( $faq_id, '_woo_faq_author_name',
   true ) . '</p>';`
 * Notice _woo_faq_author_name instead of _woo_faq_author
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Remove brackets on category count and keep in a tag](https://wordpress.org/support/topic/remove-brackets-on-category-count-and-keep-in-a-tag/)
 *  Thread Starter [willcm](https://wordpress.org/support/users/willcm/)
 * (@willcm)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/remove-brackets-on-category-count-and-keep-in-a-tag/#post-3708845)
 * For anyone that’s interested this solves it:
 *     ```
       function categories_postcount_filter ($variable) {
          $variable = str_replace('</a> (', '<span class="post_count"> ', $variable);
          $variable = str_replace(')', ' </span> </a>', $variable);
          return $variable;
       }
       add_filter('wp_list_categories','categories_postcount_filter');
       ```
   

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