Skip Navigation

[Résolu] Imported listings not showing in view

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

I have a custom view for a custom post type. I have just imported 248 records from a CSV via WP Ultimate CSV Importer and the posts work absolutely fine and can be navigated to, but they don't show up in Toolset until I go into each one manually and 'Update'.

Link to a page where the issue can be seen:

I expected to see:
All 248 imported listings appearing in the search results

Instead, I got:
The imported listings aren't appearing. In the image you can see there are 251 but the view is only displaying one (that was manually entered previously).

Is there anything I can do to get these to display in Toolset?

Solution:

There might be some wrong setting in the client's website.

You can create a new post view, display the post found count shortcode directly:
Toltal found count: [wpv-found-count]

Relevant Documentation:

This support ticket is created Il y a 6 années et 10 mois. 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.

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

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Marqué : ,

Ce sujet contient 5 réponses, a 2 voix.

Dernière mise à jour par Luo Yang Il y a 6 années et 10 mois.

Assisté par: Luo Yang.

Auteur
Publications
#614385
Screen Shot 2018-02-08 at 17.08.12.png
Screen Shot 2018-02-08 at 17.07.49.png

I am trying to:
I have a custom view for a custom post type. I have just imported 248 records from a CSV via WP Ultimate CSV Importer and the posts work absolutely fine and can be navigated to, but they don't show up in Toolset until I go into each one manually and 'Update'.

Link to a page where the issue can be seen:

I expected to see:
All 248 imported listings appearing in the search results

Instead, I got:
The imported listings aren't appearing. In the image you can see there are 251 but the view is only displaying one (that was manually entered previously).

Is there anything I can do to get these to display in Toolset?

#614513

Dear Jean,

Please check these:
1) Disable the cache feature of Views shortcode [wpv-view], find and edit the shortcode [wpv-view] for displaying your custom view, add attribute cached="off" in it, like this:
[wpv-view cached="off" ...]
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-view
cached (opt): off
Turns off the caching system for the View.

2) in case there is any compatibility problem, deactivate other plugins and switch to wordpress default theme, and test again

3) If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, I need to test and debug it in my localhost, thanks

#615077

Thanks for the details, I am downloading the file, and will feedback if there is anything found

#615081
imported-listings.JPG

Here are what I found:
I assume we are talking about posts of post type "Virksomheder", since you did not point out the problem page URL and view URL, I tried below steps:
1) Import your database in my localhost with a fresh wordpress installation + the latest version of Toolset plugins + 2017 theme
2) Create a view list posts of post type "Virksomheder", display the post found count shortcode directly:
Toltal found count: [wpv-found-count]
It works fine, it does output number 251, see screenshot imported-listings.JPG

Please correct me if there is anything missing, and point out the problem page URL and view URL, thanks

#615200

Hi Luo,
You're absolutely correct, sorry I didn't realise I hadn't mentioned the post type.
Sincere apologies, I've found my error now through creating a new view.
Thanks very much indeed!

#615467

You are welcome