Customizing Listings and Posts page

I have a few changes I want to make on my website and I’d like to know if it’s possible to do them or not.

  1. In a Listing category like this one: Honda Vezel for sale in Mombasa - Car Point Mombasa - Cars for Sale in Mombasa How can I make the listings random instead of them showing as from the time I created them?
  2. I have created a blog post and want to show a popular Attribute on the page, say Toyota. How do I go about that? I only see an option for Categories.
  3. I want to remove the excerpt entirely on the posts page. Kindly help.

Hi,

  1. Please check this similar topic: Randomize listing order code still dysfunctional

  2. Unfortunately, there is no such feature, it will require a custom implementation or the use of third-party plugins that support custom taxonomy.

  3. Please send a screenshot of what you would like to delete and we will try to help.

Screenshot. I have circled the part I’d love removed.

  1. And can you please suggest a third-party plugins that support custom taxonomy? I can seem to get the right one on the repository.

Hi @andrii

About point 1, I tried to insert the snippet provided by yevhen in the post you mention but it does not work. There is no randomization at all and listings still appear according to when they were added.

I inserted the php snippet directly into the Listings template. Am I doing something wrong or did something change?

Thanks

Hi,

Please try to add a PHP snippet using this doc: How to add custom code snippets - HivePress Help Center

I also noticed that the code is not working

Hi,

thanks, but the issue is that the code itself does not work anymore. I know how to insert code snippets, but the code provided here Randomize listing order code still dysfunctional is not randomizing the listings anymore

Hi,

We checked this issue from our side, and it seems okay. Could you please clarify if you have the Listings page overwritten as a custom template?

The code is working on Listings page but not on Listings Category.

It’s working on here: https://carpoint.co.ke/listings/

How do I make it work here?: https://carpoint.co.ke/listing-category/mazda-demio-for-sale-in-mombasa/

Hi

in my case, I have it indeed overwritten as a custom template. It does not work then?

Hi,

We checked your site as well, and everything is working correctly: You searched for - Car Point Mombasa - Cars for Sale in Mombasa

Hi,

If you have overwritten the template in HivePress > Template, everything should work correctly. Additionally, 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. Also, make sure that there is no caching on the part of the hosting provider.