WordPress.org

Ready to get started?Download WordPress

Forums

woocommerce list products by author (5 posts)

  1. alvaron
    Member
    Posted 1 year ago #

    I'm looking for a way to list products on wp-admin only for the logged author, I've seen this awesome post http://wordpress.stackexchange.com/questions/74054/woocommerce-assign-an-author-to-a-product talking about adding authors, just need one step foward and add a hook or something to woocommerce and list products that were added by a specific author on wp-admin.

    Thanks in advance for any help!

  2. dava007
    Member
    Posted 1 year ago #

    It may be a little late, but I found this solution:

    <a>/author/<?php echo get_the_author_meta('user_nicename', $author_id)?>/?post_type=product">

    The key is to add "/?post_type=product" at the end of a regular URL for WP author listsings and you will get all the wooCommerce products entered by the person.

    I hope this help!

  3. lucamoretto
    Member
    Posted 10 months ago #

    Hi, i have a site buddypress + woocommerce. I need to display a list of products published in any profile of the author... thanks in advance for any help guys!

  4. newintown
    Member
    Posted 9 months ago #

    Would be great to hear any answers someone has for this!

  5. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    This thread isn't even on the WooCommerce forum - I'd suggest you post your own thread there -

    http://wordpress.org/support/plugin/woocommerce

Topic Closed

This topic has been closed to new replies.

About this Topic