Skip Navigation

[Resolved] Content template not showing as planned

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

Problem:
Content template not showing as planned

Solution:
The issue was correct Layout was not assigned to the post type archive.

Relevant Documentation:
https://toolset.com/documentation/getting-started-with-toolset/customize-post-archives/

This support ticket is created 6 years, 1 month 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 10 replies, has 2 voices.

Last updated by alanS3341 6 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1119897
events_new.JPG
events_old.JPG

Tell us what you are trying to do?

Display a content template or view

Is there any documentation that you are following?

No

Is there a similar example that we can see?

Yes here: hidden link

I made some changes then backed it up but seemed to loose some formatting or styling. I have been through templates, views, layouts, css and just about everything. Checked against the existing site here:

hidden link

I have checked the new content on the site above. But I have no idea why it is not displaying the same.

What is the link to your site?

hidden link

If you could point me in the direction what might be causing the difference between one site and the other, I'd appreciate it. I would like it to look like the events_old.jpg format again with the border etc...

#1120752

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - could you please share problem URL with the expected output. Which content template you want to display where?

Please share a few screenshots of your expected output.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#1121530

Minesh
Supporter

Languages: English (English )

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

Well - the wp-admin access details you shared is not working at this end.

Could you please send me working access details.

I have set the next reply to private which means only you and I have access to it.

#1121555

Minesh
Supporter

Languages: English (English )

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

Could you please check now.
=> hidden link

I've created the layout to display the post type archive for post type "Event" and I can see it just working fine.

#1121579
events_old.JPG

Does it show the lines around it and the spacing like the image that I sent with the original request, so it looks like a card? I am not seeing the same look. Only the same as the image I sent where the "card" look had gone missing... It should look like the one I have attached to this reply.

#1121592

Minesh
Supporter

Languages: English (English )

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

Ok - the reason why it was not working because you didnt set parent layout.
=> hidden link

Now, I've set the parent layout to your event archive.
=> hidden link

Now, if you need same match as the events page - you need to design above layout as per the layout assigned to following link:
=> hidden link

#1121614
events_old.JPG
line.jpg

I am simply asking you to help me establish why the new version has no line around the card even though all the css, template code etc is the same... Why does the new version look differently to the events_old.JPG image.

#1121630

Minesh
Supporter

Languages: English (English )

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

Well - please check following archive where I've added the CSS to template's CSS section:
=> hidden link

.event-grid-card {
  margin-bottom: 20px;
  border: 1px solid #C4CBD5;
  padding-top: 10px;
  padding-right: 10px;
    padding-left: 10px;
  min-height: 350px;
}

.event-main-image {
    min-height: 150px;
}

I see the border now. Do you see it?

#1121665

I see no difference sorry

#1122642

Minesh
Supporter

Languages: English (English )

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

Well - for me the test site you shared is not working now and shows ERR_NAME_NOT_RESOLVED message when I try to access the following URL:
=> hidden link

is this issue is resolved or do you need further help?

#1122694

Sorry Minesh, I had a problem with a site at the weekend so deleted all other sites that were not being used due to some malware. I fixed the problem, but rather than have too many sites hanging around to maintain I decided to delete ones that are not used and only for development purposes.

Thanks

Al