How to add instructional text above Vendor Calendar?

Hi HivePress team,

I am trying to add a short instruction text above the Vendor → Calendar page.

What I did:

  1. WP Admin → HivePress → Templates → Add New

  2. Selected template: “Calendar (vendor)”

  3. Added a single Content block with text.

  4. Saved the template

Result:

  • My title and text show up

  • The calendar disappeared from the page. Before this change the calendar was visible

Expected:

  • Keep the built-in calendar visible

  • Render my Content block above it

  • In other words: add my block on top of the defaults, not replace them

Questions:

  1. For “Calendar (vendor)”, should adding a Content block preserve the default calendar automatically, or do I have to add a specific calendar block manually? If manual, what is the exact block name or identifier for the calendar?

  2. Is there a setting in Templates that switches the behavior from additive to replacement? If yes, which one and how should I configure it so the default blocks remain?

  3. If needed, what is the correct template slug for the filter approach so I can prepend a content block via code? For example, is it hivepress/v1/templates/listing_availability_manage_page, or another slug?

Thanks!

Ivan

Hi @IvanM,

When you’re editing a HivePress template, you’re essentially overriding the default one, and your edited version will be used instead.

When you’re editing a template, select the page template you intend to edit, then Save, and refresh the page.

Now, in the blocks selection panel, you’ll find the choice of blocks has been updated, and all of the default blocks that originally made up the page will be available for selection.

So, to achieve what you’re describing, you’d add your custom text block, and then use the page-specific HivePress blocks to recreate the page.

I hope this helps!

Cheers,
Chris :victory_hand:

1 Like

Hey @ChrisB,

thank you for the quick response - it was super helpful!

Finally understood how this templates work.

Best regards,

Ivan

2 Likes

Hi,

I’m glad that ChrisB helped with the request.

And thank you for pointing out the need to improve the templates documentation. We’ll make sure to address this.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.