Skip Navigation

[Resolved] Kallyas Theme 4.16.9 Not displaying

This support ticket is created 5 years, 10 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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by melaniS 5 years, 10 months ago.

Assisted by: Waqar.

Author
Posts
#1221531

Tell us what you are trying to do? Trying to get the individual and archive pages show for new page types

Is there any documentation that you are following?
https://toolset.com/documentation/user-guides/theme-support-for-content-templates/

I have also reverted back to the basic theme - where the content shows. Which is what leads me to it being a Kallyas compatibility issue.

Have just purchased the toolset and am having trouble getting the layouts to appear. I use Kallyas theme, and have followed the documentation above. What I get as a result is:

Content Template debug:

Calling functions are zn_setup_post_data, WP_Hook::apply_filters

I have tried entering the following in the Theme support for Content Templates spot:
- zn_setup_post_data
- WP_Hook::apply_filters
- zn_setup_post_data, WP_Hook::apply_filters

None of those seem to work.

Does anyone have any insight as to what I need to put in the heme support for Content Templates field to get it to work?

#1221537

Hi Melani,

Sorry, it seems that chat was disconnected due to a connection issue.

I'll need to perform some research and tests around the compatibility with the Kallyas Theme.

As soon as I'll have some findings, I'll update you through this ticket.

regards,
Waqar

#1221618

Thank you for waiting, Melani.

The Kallyas theme uses its own functions to show content on the post pages, instead of using the WordPress' standard "the_content" function that most themes use.
( ref: https://developer.wordpress.org/reference/functions/the_content/ )

This is why, you'll note that the assigned Toolset Layouts will work for single pages and home page, but not for the native posts or custom post types.

As explained in the compatibility guide ( https://toolset.com/home/compatibility-toolset-plugins-themes/ ), to make Toolset layouts work with such themes, theme-specific functions will need to be replaced with the standard "the_content" function.

For example, with the Kallyas theme's default settings, you can replace following code at line # 14 in file "kallyas/components/blog/default-single-classic/single-content.php", from:


<?php echo $current_post['content']; ?>

To:


<?php the_content(); ?>

This change will allow the single post and custom post type pages to use the assigned Toolset Layouts.

I hope this helps.

regards,
Waqar

#1226185

My issue is resolved now. Thank you!