Listings Page vs Template

Hi HivePress Community,

I’ve created a new page specifically for browsing listings and used the ListingHive Block to display a 4x4 grid (16 listings total) on the page, following the tutorial here: How to Customize Layouts.

However, I’ve encountered an issue where there’s no pagination or widget at the bottom of the page to allow users to navigate through additional listings. As a result, only the first 16 listings are shown, and users can’t see any more listings beyond that making this Browse Listing page non-functional.

My questions:

  1. Is there a built-in widget or setting to enable pagination for listings, or do I need to implement this feature manually?
  2. If manual setup is required, does this involve editing an existing template? If so, which template needs modification to include pagination?
  3. Can I duplicate an existing template and create a new one without overwriting the current one? I’d like to keep the original template intact while customizing a new one for my page.

I’ve attached two screenshots to give you a better idea of what I’m trying to achieve. I’d appreciate any guidance or solutions for this issue!

Thank you in advance for your help.


Is this pagination feature only for templates and we can’t add it for inserting listings widget on a page? So, we can’t create a custom template since it will write over the existing Listing template, but we can’t just insert code like this into the CSS or a code snipet to add pagination to a custom page?

<?php the_posts_pagination( [ 'prev_text' => '', 'next_text' => '', ] ); ?>

Hi,

Please make sure that you have created a template in HivePress > Templates and not just a page in WP Dashboard > Pages (and that you have selected the Listings template for the template you added). Also, that this particular page is selected in HivePress > Settings > Listings as Listings Page (if so, it will use the template you overwrote). Additionally, check if you added the Pagination block after listings when you overwrote the template.

Hi Andril,

I have gone through the screencast for modifying the Listing Template and I’m not wanting to over-write the existing Listing Template. I want to keep the existing template and simply add another page with a different way to look at listings, like instead of seeing them on a page with 8 listings, a page with 16 that can be browsed through like the current listing page.

I was trying to create a page, drop in the HivePress Search Listing and Listing Widget and add pagination, which seems pretty simple. The plugin doesn’t allow for this, you can only use a template, but it appears if I do that I’m going to overwrite the listing page? In addition, there isn’t a pagination widget in the HivePress widgets for blocks? Which if there was one for a Page or a Template this issue would be easy to solve. See the attached screenshot. There isn’t a Pagination Block widget? Please let me know if this makes sense. Thanks again.

Are you referring to just add this pagination block? If so, couldn’t I just do this on a page with the listing widget since it’s in Wordpress and not have to use a template? - Pagination block – Documentation – WordPress.org

Hi,

I see. Most likely, you are confused between the Listing Page and Listings. That is, the Listings template is where listings are paginated, and Listing is a single listing page.

If you select the Listings template on the right sidebar when editing a template or creating a new one, you will see a pagination block, filter block, and other blocks. However, please note that currently, unfortunately, it is not possible to create multiple Listings page layouts, as they all use the same template, and if you overwrite it, they will all use the overwritten template.

If you need it just for variety or SEO, then you can create a separate page in the WP > Pages with the Listings block and View More button, which, for example, links to the default listing page.

This is what I figured, so you clarified it for me. Thank you.

Are you saying that I just create a new button under the listings and put View More on it and link it back to the Listing Page or is there a specific View More Button that you’re referring to that does this automatically? This will be a solution and I can build out a page that is say 4 x 4 with 24 listings on it and then the View More will take them back to the standard listing page. I can do it with a standard button and link back there, but if you don’t mind let me know if there is some other View More button you’re referring to. Thank you for the clarification.

Hi,

Yes, we mean a regular Button block. This is a workaround if you want to create alt pages with a different layout, for SEO or just as a landing page, then the easiest option is to use the Listings block and a regular linked button for further listings that need to be shown with certain criteria.

I setup a Button and linked it to the standard listing page after the other page. Thanks for the clarification.

Hi HivePress,

I have a quick question and it’s a possible bug in the software, so if you can please take a look. If you look at this page - Browse Listings – Travelers Freak it’s just a simple Browse Listing using a Page (not a Template) with the Listing Hive “widget” for showing listings. It shows up now problem in Google Chrome on a PC, but on a phone running Safari or Google Chrome the listings do not show up? I’m not sure why that would happen, but maybe you have some thoughts?

Hi,

Please provide more details regarding this issue (e.g., your actions step by step with screenshots, screencast, etc.). This will help us to reproduce and resolve the issue faster.


Here are two screen shots on the mobile device. The listings do not show up on the page. They do on a desktop?

Hi,

Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users.

Thanks. I have too many third-party plugins to debug this to try to get the page to work properly on a mobile device. I just disabled our “Browse Listing” page that we created and we will just stick with your one listing page that works as a template on a mobile device.

1 Like

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