Skip Navigation

[Resolved] Editing Testimonials View, cannot access Testimonial Fields

This support ticket is created 2 years, 11 months 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.

This topic contains 5 replies, has 2 voices.

Last updated by WilliamM1564 2 years, 11 months ago.

Author
Posts
#2318199

Tell us what you are trying to do?
I am trying to edit a View which I have previously created for Testimonials.

Whereas previously I was able to access the custom fields for Testimonials, now I cannot. And I can't remember what I need to do.

If this were a content template, I know I would check off "Testimonials" under Usage but I cannot figure out what I have to do in Views. Sorry, I know I have done this before but I cannot figure it out this morning.

Here is a Loom video showing me trying to configure the fields in the View hidden link

Is there any documentation that you are following?
No.

Is there a similar example that we can see?
See the Loom video.

What is the link to your site?
This page shows the original testimonial view at the bottom of the page. I am trying to edit this view and change the fields shown.

hidden link

#2318261

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Thanks for sharing the Loom video, that's helpful to spot what is going on.

The output of the View is showing "There were no posts found to display for this View's query".

When you are designing the output of the View it uses the first found post to determine what fields to offer, but because there are no posts, and hence no first post, it appears to have fallen back to where the View block is inserted, which is a page.

Select the View block itself, and then in the right sidebar in Content Selection double-check that you still have selected the Testimonials post type. If you have, do you have any published testimonial posts?

It's not very intuitive, but to design a View of testimonial posts there must be at least one testimonial post for the View to work with.

#2318275
Notification_Center.jpg

Hey Nigel,

Here are the Content Selection settings. They look right, don't they? (I'm guessing they are not but they look right to me.)

Still not working.

Thanks so much for looking at this.

#2318491

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

You have added a relationship query filter so that the View query will only return testimonial posts related to the advisor post where this View is shown.

So the expected context for this View is an advisor post.

Have you inserted this View into the template for an advisor post?

If the starting point is something other than an advisor post then that relationship filter will fail and no testimonial posts will be found. And if the View doesn't return at least one post then it doesn't have a post to work out which fields should be offered.

#2318921

I am editing this on a page (Test Testimonials). I have also inserted into the Advisor post template (which is why I made it, it displays the Testimonials for the Advisor in question).

I can't edit in the Advisor post template because that is in Divi.

I got this working before, there must be a way to do it again...

Fingers crossed.

#2318981

I figured out how I had done this.

I had set up the View first with All Testimonials, configured the fields in the View and THEN added the filter narrowing to testimonials of the displayed Advisor.

I did that again and it worked again.

My issue is resolved now. Thank you!