Skip Navigation

[Resolved] Layout is not working on single posts

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.

This topic contains 21 replies, has 3 voices.

Last updated by Waqar 8 months, 3 weeks ago.

Assigned support staff: Waqar.

Author
Posts
#1379887

I am trying to: to create a costume layout ( slider images ) for my posts, i've created one and assigned it to post, but it seems that single pages of CPTs is not recognising the layout.

Link to a page where the issue can be seen: this issue appears on all single CPT pages but here is an example
hidden link

I expected to see: This is how my posts should look like hidden link

Instead, I got: the basic blog structure

#1380089

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hadi,

Thank you for getting in touch.

I tried to take a look at this for you but the credentials dont seem to work.

Could you check on them and let me know when I can log in ?

Thanks,
Shane

#1380107

Can you make this message private after you check it plz.

#1380141

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hadi,

Thank you I was able to log in.

Are both sites using the same theme ?

It could be that layout is not compatible with this theme.

As a workaround you can disable Layouts and then copy your code into a content template and then assign this content template to your post.

This should yield the same results.

Thanks,
Shane

#1380603

hi again shane

Yes they are using same theme ( Yootheme ).
although i've tried your suggestion but it doesn't seem to work also!

#1381095

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hadi,

This seems to be a live site so I wouldn't want to do any testing on it.

Would you mind if I grabbed a copy of the site using the Duplicator plugin?

Thanks,
Shane

#1381099

No not at all ,
I don't mind that.

#1381107

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hadi,

It works fine when i used a content template instead it works fine.

It seems now the issue is with your thumbnails not showing up for the images to navigate through . However this one was being caused by this attribute here
uk-img=""

Please let me know if this helps.
Thanks,
Shane

#1384965

Hi there again Shane..

I've tried an external solution to fix the problem, i think that is when tried the content template and worked fine for you .
i've removed it. and tried the layout / content and it doesn't work.
Can you check please, i've removed all the external code related to fixing the issue.

Thanks in advance

#1386011

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hadi,

Since you responded over the weekend I wasn't able to check on this for you.

However could you let me know if the custom solution that you've used is still removed?

Thanks,
Shane

#1386025

Hi Shane,
No worries. Yes it is still removed.

Thanks

#1386125

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hadi,

Would you mind allowing me to grab a copy of the site so that I can test it out locally ?

Thanks,
Shane

#1386621

Hi Shane
No i don't mind at all.

Thanks,

#1388041

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Thanks Hadi,

Testing this out now.

#1388111

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hadi,

I've tested this for you and the issue seems to be that your theme is not compatible with our Views or Layouts plugin.

The developers didn't use a defined function for the theme so views isn't able to hook into the content section to display the content templates.

Could you allow me to have access to the site where this theme works with our views plugin?

Thanks,
Shane