Skip Navigation

[Resolved] When I insert the view shortcode in a page, nothing is getting displayed.

This thread is resolved. Here is a description of the problem and solution.

Problem:
A View is inserted onto a page but outputs nothing.

Solution:
The output section of the View is empty (there is nothing between the wpv-loop tags in the Loop Output, and hence nothing to output).

Relevant Documentation:
https://toolset.com/documentation/user-guides/digging-into-view-outputs/

This support ticket is created 6 years, 5 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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by deepakK-9 6 years, 5 months ago.

Assisted by: Nigel.

Author
Posts
#1106528
Blank view of the page.png
Page with the view shortcode..png

I am trying to: display view in a page, but nothing is happening.

Link to a page where the issue can be seen: hidden link

I expected to see: A paginated list of posts from the ebooks post type

Instead, I got: A blank page with just the page title/h1.

#1106695

Nigel
Supporter

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

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

Screen Shot 2018-09-12 at 15.25.43.png

Hi there

Nothing is showing from your View because the Loop Editor is empty (screenshot).

Because there is no content between the wpv-loop tags, precisely nothing is output for each iteration of the loop, i.e. for each matching post.

If needs be, run the Loop Wizard again.

You can design the resulting template with your page builder if you like, but you must link to that template from within the wpv-loop tags.

#1108995

Thanks for pointing this out.