# \#code

**URL:** https://community.hivepress.io/tag/code/28.md?match_all_tags=true&page=1&tags%5B%5D=code

[Latest](https://community.hivepress.io/latest.md) · [Categories](https://community.hivepress.io/categories.md) · [Tags](https://community.hivepress.io/tags.md)

**Page:** 2

---

## [Hiding filter sidebar in favor of more listings columns at /listings/](https://community.hivepress.io/t/hiding-filter-sidebar-in-favor-of-more-listings-columns-at-listings/17747)

<div class="topic-metadata">

**Author:** [@obtrusive170](https://community.hivepress.io/u/obtrusive170)\
**Replies:** 1\
**Last updated:** [June 9, 2026, 9:10am UTC](https://community.hivepress.io/t/hiding-filter-sidebar-in-favor-of-more-listings-columns-at-listings/17747 "2026-06-09T09:10:45Z")

</div>

Continuing the discussion from Search results shows all categories listings not just mine selected category where i prefer to do category selection(filtering) using drop-down menu in the search bar of a /listings/ page …

---

## [Account page links randomly redirect the user to be signed out \[Bluehost\]](https://community.hivepress.io/t/account-page-links-randomly-redirect-the-user-to-be-signed-out-bluehost/17706)

<div class="topic-metadata">

**Author:** [@travisdee95](https://community.hivepress.io/u/travisdee95)\
**Replies:** 21\
**Last updated:** [June 5, 2026, 5:22pm UTC](https://community.hivepress.io/t/account-page-links-randomly-redirect-the-user-to-be-signed-out-bluehost/17706 "2026-06-05T17:22:47Z")

</div>

Describe the issue in as much detail as possible. Please remove the sections below if the issue is obvious enough and doesn’t require extra details. Steps to reproduce Create an account, confirm email and sign in. Go bo…

---

## [Listing Page Image is TOO LARGE](https://community.hivepress.io/t/listing-page-image-is-too-large/17728)

<div class="topic-metadata">

**Author:** [@JasperJeff](https://community.hivepress.io/u/JasperJeff)\
**Replies:** 6\
**Last updated:** [June 3, 2026, 6:34pm UTC](https://community.hivepress.io/t/listing-page-image-is-too-large/17728 "2026-06-03T18:34:50Z")

</div>

It just doesn’t seem to matter what I do, the listing page image remains too large. I’ve looked at your AI support, I’ve looked at the related forum items, I’ve changed my landscape (large) settings, I’ve tried to add sn…

---

## [Webp, gif and svg formats allowed as attachment of a review + prevent unsupported format upload](https://community.hivepress.io/t/webp-gif-and-svg-formats-allowed-as-attachment-of-a-review-prevent-unsupported-format-upload/17709)

<div class="topic-metadata">

**Author:** [@obtrusive170](https://community.hivepress.io/u/obtrusive170)\
**Replies:** 9\
**Last updated:** [May 29, 2026, 10:01am UTC](https://community.hivepress.io/t/webp-gif-and-svg-formats-allowed-as-attachment-of-a-review-prevent-unsupported-format-upload/17709 "2026-05-29T10:01:41Z")

</div>

Hello, webp, gif and svg formats are regular web image extensions. Please allow uploading these and avoid upload of a image if its name does not have valid extension. I think that currently file is uploaded (and disac…

---

## [Users profile Attributes not to be optional](https://community.hivepress.io/t/users-profile-attributes-not-to-be-optional/17718)

<div class="topic-metadata">

**Author:** [@evansringroad](https://community.hivepress.io/u/evansringroad)\
**Replies:** 4\
**Last updated:** [May 29, 2026, 8:52am UTC](https://community.hivepress.io/t/users-profile-attributes-not-to-be-optional/17718 "2026-05-29T08:52:12Z")

</div>

I need help how to edit users settings attributes not to be optional for name last name and profile image in hivepress listhive theme.

---

## [Hiding social links for non-paid listings](https://community.hivepress.io/t/hiding-social-links-for-non-paid-listings/17641)

<div class="topic-metadata">

**Author:** [@kellettj](https://community.hivepress.io/u/kellettj)\
**Replies:** 6\
**Last updated:** [May 8, 2026, 6:27pm UTC](https://community.hivepress.io/t/hiding-social-links-for-non-paid-listings/17641 "2026-05-08T18:27:08Z")

</div>

Hello, I am using Social Links and Memberships extensions. I am offering social links as a premium paid feature for people who pay for a listing, therefore I don’t want them to appear on free memberships. Can you please…

---

## [Display attribute options with listing counts](https://community.hivepress.io/t/display-attribute-options-with-listing-counts/17648)

<div class="topic-metadata">

**Author:** [@jptromp](https://community.hivepress.io/u/jptromp)\
**Replies:** 10\
**Last updated:** [May 8, 2026, 5:57pm UTC](https://community.hivepress.io/t/display-attribute-options-with-listing-counts/17648 "2026-05-08T17:57:03Z")

</div>

Good day community. Beginner here. We have catagories and important attributes that we created. Im trying to display the attributes on the home page with the total listings in each attribute (googling i see that it mus…

---

## [Listing Title and Listing URL option for email templates](https://community.hivepress.io/t/listing-title-and-listing-url-option-for-email-templates/17631)

<div class="topic-metadata">

**Author:** [@Gavin](https://community.hivepress.io/u/Gavin)\
**Replies:** 10\
**Last updated:** [May 7, 2026, 10:11am UTC](https://community.hivepress.io/t/listing-title-and-listing-url-option-for-email-templates/17631 "2026-05-07T10:11:56Z")

</div>

Hi, I’ve seen a number of posts regarding this, but I Imagine its as important for others as it is for me. The customer message received email still doesn’t have the option for listing title and listing url tokens and it…

---

## [I need help images switch issue](https://community.hivepress.io/t/i-need-help-images-switch-issue/17636)

<div class="topic-metadata">

**Author:** [@ongraphdev](https://community.hivepress.io/u/ongraphdev)\
**Replies:** 5\
**Last updated:** [April 30, 2026, 5:18pm UTC](https://community.hivepress.io/t/i-need-help-images-switch-issue/17636 "2026-04-30T17:18:52Z")

</div>

Hi, I’m facing an issue with image ordering in listings. When I add images in a specific order, after some time the order changes automatically for example, the second image becomes the first and vice versa. I want to …

---

## [Validate listing's description field for prohibited words](https://community.hivepress.io/t/validate-listings-description-field-for-prohibited-words/17608)

<div class="topic-metadata">

**Author:** [@obtrusive170](https://community.hivepress.io/u/obtrusive170)\
**Replies:** 5\
**Last updated:** [April 30, 2026, 5:11pm UTC](https://community.hivepress.io/t/validate-listings-description-field-for-prohibited-words/17608 "2026-04-30T17:11:47Z")

</div>

I have a PHP script (Wordpress plugin) which attempts to offer a workaround for missing feature Blocklist for moderating listings by blocking Wordpress web forms data submission/update, in case form data contains blockli…

---

## [Removing permalink base from all HivePress CPTs, taxonomies, etc](https://community.hivepress.io/t/removing-permalink-base-from-all-hivepress-cpts-taxonomies-etc/17611)

<div class="topic-metadata">

**Author:** [@Prady](https://community.hivepress.io/u/Prady)\
**Replies:** 7\
**Last updated:** [April 29, 2026, 10:47am UTC](https://community.hivepress.io/t/removing-permalink-base-from-all-hivepress-cpts-taxonomies-etc/17611 "2026-04-29T10:47:56Z")

</div>

Hi I recently hit a URL structure issue that I believe affects any HivePress site using a non-empty permalink front. I’ve arrived at what seems like a clean fix, but would like to confirm if this is the right fix? If it…

---

## [How to Inform Vendors That the Same Attribute Value Exists](https://community.hivepress.io/t/how-to-inform-vendors-that-the-same-attribute-value-exists/17621)

<div class="topic-metadata">

**Author:** [@obtrusive170](https://community.hivepress.io/u/obtrusive170)\
**Replies:** 5\
**Last updated:** [April 28, 2026, 3:48pm UTC](https://community.hivepress.io/t/how-to-inform-vendors-that-the-same-attribute-value-exists/17621 "2026-04-28T15:48:35Z")

</div>

Question/issue (workaround is posted below): How one prevents submission of a “Add listing” form in case certain field (in my case custom fields of a type Text, with a Field Name “messengera\_address”, “messengerb\_addres…

---

## [How to enable email validation field](https://community.hivepress.io/t/how-to-enable-email-validation-field/17604)

<div class="topic-metadata">

**Author:** [@obtrusive170](https://community.hivepress.io/u/obtrusive170)\
**Replies:** 4\
**Last updated:** [April 26, 2026, 9:38pm UTC](https://community.hivepress.io/t/how-to-enable-email-validation-field/17604 "2026-04-26T21:38:25Z")

</div>

In a WP 6.9.4 and HivePress Version 1.7.23, I am at /wp-admin/post.php?post=174&action=edit when editing Listings / Attributes / email attribute. I paste ^\[\\w-\\.\]+@(\[\\w-\]+\\.)+\[\\w-\]{2,10}$ or /^\[\\w-\\.\]+@(\[\\w-\]+\\.)+\[\\w-…

---

## [How to get body text block on listing category pages](https://community.hivepress.io/t/how-to-get-body-text-block-on-listing-category-pages/17596)

<div class="topic-metadata">

**Author:** [@Caminoalbergue](https://community.hivepress.io/u/Caminoalbergue)\
**Replies:** 12\
**Last updated:** [April 26, 2026, 9:29pm UTC](https://community.hivepress.io/t/how-to-get-body-text-block-on-listing-category-pages/17596 "2026-04-26T21:29:13Z")

</div>

How can I get a body text block on the listing category pages before the listing cards to help google understand what the page is about. ie help with seo for each category. This is a listing category I have https://cami…

---

## [Send Email Notification 48h After Booking End](https://community.hivepress.io/t/send-email-notification-48h-after-booking-end/17601)

<div class="topic-metadata">

**Author:** [@Vik](https://community.hivepress.io/u/Vik)\
**Replies:** 3\
**Last updated:** [April 23, 2026, 6:34am UTC](https://community.hivepress.io/t/send-email-notification-48h-after-booking-end/17601 "2026-04-23T06:34:21Z")

</div>

I use RentalHive for a store that will offer renting of physical products. Basically, what I want to do is send an email on the booking end date to both the host and the renter, to warn them that they have 48 hours to r…

---

## [How to add custom snippets?](https://community.hivepress.io/t/how-to-add-custom-snippets/17597)

<div class="topic-metadata">

**Author:** [@obtrusive170](https://community.hivepress.io/u/obtrusive170)\
**Replies:** 5\
**Last updated:** [April 22, 2026, 6:35pm UTC](https://community.hivepress.io/t/how-to-add-custom-snippets/17597 "2026-04-22T18:35:48Z")

</div>

Please how to use hook hivepress/v1/forms/user\_register to include custom code in HivePress as mentioned at Add support for hCaptcha - #6 by GoVegan by @GoVegan @Ardain ? I will not use Google spyware on my site and need…

---

## [Completely block messages for specific plans](https://community.hivepress.io/t/completely-block-messages-for-specific-plans/17590)

<div class="topic-metadata">

**Author:** [@Glitta](https://community.hivepress.io/u/Glitta)\
**Replies:** 2\
**Last updated:** [April 14, 2026, 4:07pm UTC](https://community.hivepress.io/t/completely-block-messages-for-specific-plans/17590 "2026-04-14T16:07:16Z")

</div>

How can I block messaging access for both users and vendors completely. I want to create a membership plan that if user has this specific plan, don’t allow sending messages at all, even from previous interactions.

---

## [Hide street name, show State (Google Maps)](https://community.hivepress.io/t/hide-street-name-show-state-google-maps/17579)

<div class="topic-metadata">

**Author:** [@Alberto](https://community.hivepress.io/u/Alberto)\
**Replies:** 3\
**Last updated:** [April 6, 2026, 5:12pm UTC](https://community.hivepress.io/t/hide-street-name-show-state-google-maps/17579 "2026-04-06T17:12:35Z")

</div>

Very nice plugin! I would like to hide the name of the street and add the state to the shown location with Google Maps. I have tried dozen of codes but cant get what I need, Any thoughts? Thanks.

---

## [Show specific listing attributes only if vendor has an active membership plan](https://community.hivepress.io/t/show-specific-listing-attributes-only-if-vendor-has-an-active-membership-plan/17560)

<div class="topic-metadata">

**Author:** [@IvanM](https://community.hivepress.io/u/IvanM)\
**Replies:** 13\
**Last updated:** [April 3, 2026, 2:54pm UTC](https://community.hivepress.io/t/show-specific-listing-attributes-only-if-vendor-has-an-active-membership-plan/17560 "2026-04-03T14:54:04Z")

</div>

Hi everyone, I’m building a marketplace with HivePress where vendors can purchase a membership plan to unlock the visibility of certain listing attributes (phone, social links, website) on their listings. The logic I n…

---

## [Missing "Received Orders" menu item](https://community.hivepress.io/t/missing-received-orders-menu-item/17496)

<div class="topic-metadata">

**Author:** [@ChrisB](https://community.hivepress.io/u/ChrisB)\
**Replies:** 7\
**Last updated:** [March 28, 2026, 4:42pm UTC](https://community.hivepress.io/t/missing-received-orders-menu-item/17496 "2026-03-28T16:42:59Z")

</div>

Hey, I’ve not been working on my site for a while. However, yesterday, I was trying to refresh my memory and tested out registering a new vendor, creating a new listing and then purchasing the new vendor’s listing via a…

---

## [Message notifications are not triggered when using WappPress](https://community.hivepress.io/t/message-notifications-are-not-triggered-when-using-wapppress/17559)

<div class="topic-metadata">

**Author:** [@rob2](https://community.hivepress.io/u/rob2)\
**Replies:** 4\
**Last updated:** [March 27, 2026, 5:01pm UTC](https://community.hivepress.io/t/message-notifications-are-not-triggered-when-using-wapppress/17559 "2026-03-27T17:01:25Z")

</div>

“I have WappPress Pro + HivePress on jammingads.com. Test pushes with sound work fine. Private replies (buyer to ad poster messages) do not trigger any push. Your built-in triggers only do new posts/comments. Can you giv…

---

## [Custom HivePress plugins – let's exchange code!](https://community.hivepress.io/t/custom-hivepress-plugins-lets-exchange-code/17561)

<div class="topic-metadata">

**Author:** [@zzzzarad](https://community.hivepress.io/u/zzzzarad)\
**Replies:** 1\
**Last updated:** [March 27, 2026, 4:57pm UTC](https://community.hivepress.io/t/custom-hivepress-plugins-lets-exchange-code/17561 "2026-03-27T16:57:31Z")

</div>

Hey HivePress community! :waving\_hand: I’ve been building a niche listing platform on top of HivePress and wrote some custom plugins along the way. Two worth mentioning: OpenStreetMap Geolocation plugin – replaces the…

---

## [Related listings by parent categories](https://community.hivepress.io/t/related-listings-by-parent-categories/17551)

<div class="topic-metadata">

**Author:** [@RS777RS](https://community.hivepress.io/u/RS777RS)\
**Replies:** 2\
**Last updated:** [March 24, 2026, 8:52pm UTC](https://community.hivepress.io/t/related-listings-by-parent-categories/17551 "2026-03-24T20:52:24Z")

</div>

Hi HivePress community, I’m looking to improve how “Related Listings” work on my site. Currently, HivePress displays related listings based on the most specific (child) category of a listing. The problem is that in man…

---

## [How to retrieve opening hours attribute value?](https://community.hivepress.io/t/how-to-retrieve-opening-hours-attribute-value/17530)

<div class="topic-metadata">

**Author:** [@astro](https://community.hivepress.io/u/astro)\
**Replies:** 1\
**Last updated:** [March 16, 2026, 7:51pm UTC](https://community.hivepress.io/t/how-to-retrieve-opening-hours-attribute-value/17530 "2026-03-16T19:51:22Z")

</div>

I am creating a code snippet where I am retrieving listings’ information including title, image, rating, attribute values and so on. I am able to retrieve those but I am not sure how should I go about retrieving the valu…

---

## [Download on click for attachments in Messages, instead of opening in new window](https://community.hivepress.io/t/download-on-click-for-attachments-in-messages-instead-of-opening-in-new-window/17514)

<div class="topic-metadata">

**Author:** [@Arthur](https://community.hivepress.io/u/Arthur)\
**Replies:** 4\
**Last updated:** [March 11, 2026, 10:33am UTC](https://community.hivepress.io/t/download-on-click-for-attachments-in-messages-instead-of-opening-in-new-window/17514 "2026-03-11T10:33:02Z")

</div>

Hello, I’ve noticed that if I send an attachment via Messages, when the recipient clicks on it the platform opens it up in another browser window. This is pretty annoying sometimes and would prefer much better to have t…

---

## [Generating regions for existing listings](https://community.hivepress.io/t/generating-regions-for-existing-listings/17464)

<div class="topic-metadata">

**Author:** [@win2win](https://community.hivepress.io/u/win2win)\
**Replies:** 1\
**Last updated:** [February 18, 2026, 2:54pm UTC](https://community.hivepress.io/t/generating-regions-for-existing-listings/17464 "2026-02-18T14:54:03Z")

</div>

I have regions saved with listings but had misconfiguration for mapbox and regions were not created. Is there a way to create regions from existing listings and link them with these listings?

---

## [Display vendor image in the listing block on mobile](https://community.hivepress.io/t/display-vendor-image-in-the-listing-block-on-mobile/17441)

<div class="topic-metadata">

**Author:** [@Leon](https://community.hivepress.io/u/Leon)\
**Replies:** 6\
**Last updated:** [February 14, 2026, 10:05am UTC](https://community.hivepress.io/t/display-vendor-image-in-the-listing-block-on-mobile/17441 "2026-02-14T10:05:27Z")

</div>

Dear HivePress team, I am currently planning to go live with my website as I am finishing the last steps but there is one thing I noticed and wanted to ask you about. In the desktop version of my website, the listing a…

---

## [Clear the default category on Add (Submit) Listing page](https://community.hivepress.io/t/clear-the-default-category-on-add-submit-listing-page/17398)

<div class="topic-metadata">

**Author:** [@jonbarratt](https://community.hivepress.io/u/jonbarratt)\
**Replies:** 14\
**Last updated:** [February 9, 2026, 9:54pm UTC](https://community.hivepress.io/t/clear-the-default-category-on-add-submit-listing-page/17398 "2026-02-09T21:54:22Z")

</div>

If a user reaches the ‘Add Listing’ or ‘Add Details’ (/submit\_listing/details) page and selects a category, the said category appears to be stored in cache and/or saved as meta irrespective of whether the listing is subm…

---

## [Listing expire hook](https://community.hivepress.io/t/listing-expire-hook/17426)

<div class="topic-metadata">

**Author:** [@DenverK](https://community.hivepress.io/u/DenverK)\
**Replies:** 3\
**Last updated:** [February 6, 2026, 4:32pm UTC](https://community.hivepress.io/t/listing-expire-hook/17426 "2026-02-06T16:32:59Z")

</div>

Is there a hook that triggers on listing expiration. I’m trying to set some custom code so that the post doesn’t go into a draft status. I want to set a custom meta to indicate expiration instead of going into draft. I’…

---

## [How to add custom block on the vendor page](https://community.hivepress.io/t/how-to-add-custom-block-on-the-vendor-page/17428)

<div class="topic-metadata">

**Author:** [@jab97139](https://community.hivepress.io/u/jab97139)\
**Replies:** 5\
**Last updated:** [February 6, 2026, 4:30pm UTC](https://community.hivepress.io/t/how-to-add-custom-block-on-the-vendor-page/17428 "2026-02-06T16:30:02Z")

</div>

Hi, I need help. I’m using TaskHive, and I would like to know if it’s possible to customize the freelancers’ profile page. I added custom fields when a freelancer signs up, and now I would like these fields — if they wer…

[Previous page](https://community.hivepress.io/tag/code/28.md?match_all_tags=true&tags%5B%5D=code)

[Next page](https://community.hivepress.io/tag/code/28.md?match_all_tags=true&page=2&tags%5B%5D=code)
