However in my post the view is not showing multiple headers or even the headers that are affiliated with the "lessons" post type, even though I have dynamic selected.
I also noticed a few error messages in the toolset dashboard.
How do I fix both of these issues? Are they related?
That is the post type that the View is querying (the content selection).
So you have a Heading block, and for the source you have selected the post title from the current post.
The View queries the database for the chosen post type, and then in the output section iterates over those posts in a loop to output the chosen fields.
From your screenshot the first post found by the View is "List of Lessons", whatever kind of post that is appears to be the content type selected for the View.
I see a message that the Loop Output block had to be recreated, it looks like you may have accidentally deleted it, though it is required. Maybe that interfered with the settings for your View if you are seeing something unexpected, and you could try deleting the whole View block and starting again to create it.
As for the dashboard, those are not errors, they are just indications that your theme templates are being used for some post types and their archives, and if you want to customise them—to output custom fields you added with Toolset, for example—then you should create custom templates using Toolset.
Hi Nigel,
Thanks for your reply.
I have "Lessons" as the post type that the View is querying and I have created 2 sample posts for that type.
So in the View, the heading block should be pulling "Lesson 1" and "Lesson 2" Correct?
From my screenshot "List of Lessons" is just a regular WP post.
I'm not sure what you are talking about with the "message that the Loop Output block had to be recreated", but I have tried to recreate the View several times with the same results.
It's quite odd, your editor doesn't bring up the block editor for your Archive.
I went ahead and took a copy of the site to test here locally and it works fine on my end. See Screenshot
It would appear that we're dealing with a server issue. Practically speaking the only difference I noticed on your end is that I'm not seeing the popup messages that normally occur in the gutenburg editor that would indicate that the server is processing some data.
What I would recommend is that you get in touch with the server support to ask them to check if they're blocking any of the wordpress services as this works perfectly fine on my end.
It's quite odd, your editor doesn't bring up the block editor for your Archive.
I went ahead and took a copy of the site to test here locally and it works fine on my end. See Screenshot
It would appear that we're dealing with a server issue. Practically speaking the only difference I noticed on your end is that I'm not seeing the popup messages that normally occur in the gutenburg editor that would indicate that the server is processing some data.
What I would recommend is that you get in touch with the server support to ask them to check if they're blocking any of the wordpress services as this works perfectly fine on my end.
Thanks,
Shane
The topic ‘[Closed] template file and archive php file’ is closed to new replies.