Skip Navigation

[Resolved] Blocks view loop only displays 1 columb regardless of settings

This support ticket is created 4 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 4 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#1422669
Screen Shot 2019-12-24 at 12.14.33 PM.png

I am trying to create a view loop in blocks where I display 3 columns of a post type.

Link to a page where the issue can be seen: N/A - everything is in draft because I cannot get it to function correctly.

I expected to see a view as demonstrated in hidden link

Instead, I got view where I cannot change the number of columns.

#1423121

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I just tested with my local test install and I can see when I change the columns the number gets affected and just works fine.

Can you please share the problem URL where you are trying to set the three columns?

#1425257

Sure, it's this page in draft form: hidden link

#1425703

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you for sharing the problem URL. I see the issue with the URL you shared.

I download the plugin on my local test install and added few jobs:
=> https://wordpress.org/plugins/wp-job-manager/

Then, I've added few job posts and I tried to create a block view that lists the jobs and I do not see any issues.

I see a few javascript errors on browser's console while I was checking the page in the backend:
=> hidden link

Can you please try to try to remove all the custom JS code you added one by one and check if that help you to resolve your issue.

It looks like the following code is causing the issue which is added at the head section:

<script type="text/javascript">
		document.documentElement.className = 'js';
	</script>

	<script>var et_site_url='<em><u>hidden link</u></em>';var et_post_id='0';function et_core_page_resource_fallback(a,b){"undefined"===typeof b&&(b=a.sheet.cssRules&&0===a.sheet.cssRules.length);b&&(a.onerror=null,a.onload=null,a.href?a.href=et_site_url+"/?et_core_page_resource="+a.id+et_post_id:a.src&&(a.src=et_site_url+"/?et_core_page_resource="+a.id+et_post_id))}
</script> 

On my end with my test site - block view works just fine with job listing with title and featured image.