Vendor profile page customization not working

Hi,

We’ve been struggling for days with customizing the vendor profile page (vendor_view_page) in HivePress / ExpertHive — and nothing works.
We’ve tried literally every documented hook, filter, and action, and none of them have any effect on the frontend output.

Here’s what we’ve already tried (as an example):

add_action('hivepress/v1/vendor_view', function($vendor){
    if(!$vendor || !$vendor->get_categories()) return;
    echo '<div class="vendor-categories" style="margin-bottom:1em;"><strong>Kategóriák:</strong> ';
    $cat_links = [];
    foreach ($vendor->get_categories() as $cat) {
        $term_link = get_term_link($cat->get_id(), 'vendor_category');
        if (!is_wp_error($term_link)) {
            $cat_links[] = '<a href="' . esc_url($term_link) . '">' . esc_html($cat->get_name()) . '</a>';
        }
    }
    echo implode(', ', $cat_links);
    echo '</div>';
});

No errors, but nothing shows up on the vendor page.

We’ve also tested:

  • hivepress/v1/templates/vendor_view_page filter

  • hivepress/v1/models/vendor/view_blocks

  • hivepress/v1/vendor_view_block

  • hivepress/v1/vendor_view_sidebar

  • Custom templates under /hivepress/templates/vendor/view/ in a child theme

  • Even tried completely disabling HivePress caching, but still nothing changes

No matter what hook or filter we use, the vendor profile page layout and content cannot be modified.

We just want to achieve something very simple:
:white_check_mark: Add extra content (like vendor category list, custom fields, or links)
:white_check_mark: Possibly remove or rearrange existing blocks (e.g., listings, reviews)
:white_check_mark: Maybe style or wrap the profile in a custom container

But HivePress doesn’t seem to respond to any of the usual template or hook methods that normally work elsewhere in the theme (including custom listing templates).

Can you please clarify:

  1. Which exact filter or action controls the main content area of the vendor profile page (not the sidebar)?

  2. Is there any way to inject or modify HTML directly after the vendor name and before listings?

  3. Is there a documented way to override the vendor_view_page template safely in a child theme?

  4. Are there any internal restrictions (like caching or block registration) preventing custom output on vendor pages?

We’ve read your docs and tried every possible method, but nothing seems to take effect.
Please advise — at this point, we just need a reliable, documented way to modify the vendor profile layout.

Thanks in advance,
Mark

1 Like

Thanks for your message — our team will reply shortly.

In the meantime, you can also get instant help from our AI Assistant, familiar with all the docs and solutions we’ve shared over the years.

Hi,

There are two main ways to customize pages in HivePress:

  1. Without code: You can use the block editor in HivePress > Templates to override the entire vendor page. This approach is sufficient if you want to reorder elements, add wrappers, or make general layout changes: How to customize templates - HivePress Help Center
  2. With code: If you need more advanced customization and are familiar with coding, you can use hooks. For the vendor page, the correct hook is: hivepress/v1/templates/vendor_view_page [please see the screecast that proves that the hook works]. You can find this article useful: How to override template parts - HivePress Help Center. Regarding categories, you can refer to this solution and adjust it to your needs: Display category on vendor's profile - #4 by yevhen

Please note that if you create a template in HivePress > Templates, it will take priority. Changes made in the template editor will override any custom code snippets. For specific template parts, you can also override them safely by copying them into your child theme [e.g. you can override these parts].

Hope I helped with your request.

The code you sent doesn’t work. None of it. There is no template created in the editor (HivePress > Templates) that would override it. But it doesn’t show the category on the vendor profile either. Not in the list. I’ll send you pictures, take a look.

Check: https://imgur.com/a/vX37SNL

Please make sure you’ve added the snippet correctly using the Code Snippets plugin or in your child theme’s functions.php file. If you’ve tried everything and the issue persists, please send temporary WP access to support@hivepress.io with the link to this topic, and we’ll check it (please send only the link, without login and password). You can create a temporary access link using this plugin.

It’s not working. I’ll send you pictures. I also sent you the login details by email so you can check it out.

Check: https://imgur.com/a/Do35380

Hi @smck1337,

Not sure if the link works for others, but when I visit it, I see:

Content Not Available
Content not available in your region.

Learn more about Imgur access in the United Kingdom

Cheers,
Chris :victory_hand:

We addressed your request via email.