Skip Navigation

[Resolved] Changes to content template not working

This support ticket is created 5 years, 4 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by marcH-4 5 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#1341721

I am trying to: Edit my content template

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

I expected to see: An email icon in the title bar the second content template on this page

Instead, I got: A link to website

#1341807

Hello,

Thanks for the details, I can log into your website, I assume we are talking about the post view "Single line":
hidden link

In section "Loop Editor", you are using below codes:

		<div class="row ">
			<div class="col-sm-3">[wpv-post-body view_template="loop-item-in-listings"]</div>
		[wpv-item index=other]
			<div class="col-sm-3">[wpv-post-body view_template="loop-item-in-listings"]</div>
		[wpv-item index=4]
			<div class="col-sm-3">[wpv-post-body view_template="loop-item-in-listings"]</div>
		</div>

It is loading content template "loop-item-in-listings".

But in section "Templates for this View", there is another content template: Loop item in Single line.
They are different content templates.

So it conduct the problem you mentioned above:
Changes to content template not working

I suggest you try to modify above codes to:

		<div class="row ">
			<div class="col-sm-3">[wpv-post-body view_template="loop-item-in-single-line"]</div>
		[wpv-item index=other]
			<div class="col-sm-3">[wpv-post-body view_template="loop-item-in-single-line"]</div>
		[wpv-item index=4]
			<div class="col-sm-3">[wpv-post-body view_template="loop-item-in-single-line"]</div>
		</div>

And test again.

#1345843

My issue is resolved now. Thank you!