Skip Navigation

[Resolved] [wpv-found-count]

This support ticket is created 2 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by Shane 2 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#2329637
Screenshot 2022-03-29 182448.jpg

Hi,
I've added [wpv-found-count] to count items of a specific type in a post type.
You can an example on hidden link

As seen in the attached image, the count works, but when there are zero items it displays (0), but it also shows a message "No items found". How can I eliminate that message?

Thanks,
Nadav

#2329723

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nadav,

The No Items found text is actually on the view itself.

If you're using the Classic Editor for your view, you will see this text under the Loop Editor section within the [wpv-no-items-found] shortcode. You can simply delete the text.

Thanks,
Shane

#2330043

My issue is resolved now. Thank you!

#2330069
Screenshot 2022-03-30 133136.jpg

Sorry, I have another question regarding the same view.

As you can see in the attached image, it's very high and has a lot of space at the bottom.
I tried removing that space and changing the height with different settings but nothing really helped.

You can see this button (which is a view) on any Tour. e.g. hidden link

Could you please see if you can help with this?

Thanks

#2330253

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nadav,

You are going to have to set a height value for the text block that you're using to display this.

However i've crafted some generic css for this but you may need to add some custom class to the block and use the css.

.tb-fields-and-text{
height: 20px;
}

Thanks,
Shane

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.