-
AuthorPosts
-
June 27, 2018 at 3:33 pm #978460John BrisbinGuest
I am configuring a site for the Designer. She has purchased and configured Enfold.
Separately, I have purchased and installed Types Toolkit and Views to handle the custom post types (CPT) needed.I create a template in the Toolkit, but Enfold does not recognise the custom fields.
I found this note in the Toolkit:
—
Content Templates modify the content when called from the_content function. Some themes don’t use this function, but define their own. If Content Templates don’t work with your theme then you can enter the name of the function your theme uses here: [ ]
—
Enfold apparently uses: apply_filtersThe next advice from Toolkit is:
Note that this method will only work if your theme has a proper dedicated function to display the content. Views will not accept generic PHP functions or auxiliar WordPress functions like …apply_filters
What is the solution here? How can I create templates using Types Toolkit and have them properly display in Enfold?
Sorry I cannot use the support forum: the designer has the purchase code.
June 28, 2018 at 10:38 am #978821Hey John,
Thanks for contacting us!
We only provide support to our registered users. Would it be possible for you to get purchase code from designer?
Also, please make sure you are using the latest version of Enfold 4.4.1 – http://kriesi.at/documentation/enfold/how-to-install-enfoldCheers!
YigitJune 28, 2018 at 11:25 am #978831John BrisbinGuestHowdy Yigit,
I’ve just purchased and downloaded my on version: 7783ae10-93ad-45d7-9266-b287271a148f
Could you please advance a response to this query.
Thanks.June 28, 2018 at 11:59 am #978847John BrisbinGuestWe are now running the latest version of Enfold and it is still not registering the Toolset templates.
I contacted Toolset ths morning and got an immediate and helpful response from one of their engineers:
—-
Hi, there are currently some known compatibility issues with the Enfold theme, including the inability to effectively utilize Content Templates for custom post types. We reached out to their development team last year and have followed up several times, but since April of this year they have been unresponsive to our collaboration requests and inquiries. We need their assistance to solve the problem, and it might help if you mention to their support team how important this is for you.https://toolset.com/forums/topic/content-templates-and-views-arent-working-on-single-pages-with-enfold-theme/
https://toolset.com/forums/topic/my-custom-post-types-layouts-displays-nothing/#post-546333
————-
Now that I am a registered user, could I ask you to please respond to this specific issue?
Enfold is a very popular theme and Toolset is is a very popular kit.
It makes little sense for their to be an air-gap between the two of you. Your customers on both sides are poorly served by this incompatibility.
Thanks.June 28, 2018 at 12:37 pm #978856Hi,
You can register to our support forum here – https://kriesi.at/support/register/
Could you please post FTP and WP admin logins here privately so we can look into it?
Cheers!
YigitJune 28, 2018 at 12:53 pm #978867I am now registered with Support and logged in.
I can provide you with my site’s login.
But…given the response from Toolset, isn’t the best idea to simply contact them and sort the problem out quickly for everyone?June 28, 2018 at 1:39 pm #978884Here’s the core of the problem: Toolset expects a theme to hook into custom objects, but Enfold does not appear to do that.
As a poor site developer I really need to have an answer:
1. Are either/both of you guys going to fix this *really soon*?
2. Can I hire a developer to create a child theme and somehow patch around this?
Please help clarify these options.
Thanks.July 1, 2018 at 7:11 pm #979886Hi,
This is not a high priority issue at the moment but we’ll look into it.
Can I hire a developer to create a child theme and somehow patch around this?
Yes – this user https://toolset.com/forums/topic/my-custom-post-types-layouts-displays-nothing/ created a custom template from the single.php file and replaced the get_template_part() function with a the_content() function. I’d recommend to copy the single.php file to the child theme directory, then rename it to single-CPTSLUG.php (replace CPTSLUG with the slug of your custom post type) and open up the file. Then replace:get_template_part( 'includes/loop', 'index' ); $blog_disabled = ( avia_get_option('disable_blog') == 'disable_blog' ) ? true : false; if(!$blog_disabled) { //show related posts based on tags if there are any get_template_part( 'includes/related-posts'); //wordpress function that loads the comments template "comments.php" comments_template(); }
with:
the_content();
and save the file.
Best regards,
Dude -
AuthorPosts
- You must be logged in to reply to this topic.