Join our new community forum for support & discussion

Join Now

Home Support Themes ExpertHive ExpertHive Listing question

ExpertHive Listing question

  • Author
  • jaimevivesfilms

    Hi, I’m really close to purchase the ExpertHive theme (currently using ListingHive).

    On Expert Hive, is there a way where you click on the vendor, and it takes you straight to a listing looking page?

    Currently in my site ( I’m using the listings as User Profiles, that way when you click on a Listing (aka “creator profile”) it takes you straight away to their information + work.

    On Expert Hive, when you click on a vendor, it takes you to their list of listings, and then you click on one of the listings. Is there a way of limiting the listings of the Vendors to 1, so that when you click on a vendor’s image, it would take you straight to the one listing (which would be their profile + work)

    Thanks a lot and congratulations on such amazing themes!

    ihor developer


    Sure, if there’s a single listing for each vendor it’s possible with a simple code snippet, for redirecting the vendor profile pages to their first listing page. Please note that merging vendor profiles and listings this way may require further customizations.


    Awesome! Is there any chance you could provide me that snippet?

    Thanks a lot ihor.

    ihor developer

    You can try using this one:

    	function() {
    		if ( ! is_singular( 'hp_vendor' ) ) {
    		$listing_id = HivePress\Models\Listing::query()->filter(
    				'status' => 'publish',
    				'vendor' => get_the_ID(),
    		if ( ! $listing_id ) {
    		wp_safe_redirect( get_permalink( $listing_id ) );

    I highly recommend using vendor profiles instead, because there may be other redirects and conflicts that will require further customizations.

Viewing 4 posts - 1 through 4 (of 4 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.