Tagged: acf, advanced custom fields, CPT, Custom Post Type
-
AuthorPosts
-
March 30, 2017 at 5:23 pm #769553
My request is not bug or a problem, but more general…
Since, not all of Enfold users (like me) are php developers, I’d like you to write a guide (or a post on the forum) on how to properly integrate the fantastic plugin Advanced Custom Fields in Enfold templates, since these templates are so many (which is the starter template?)
Clearly it is assumed that users must have at least basic knowledge of the WordPress template hierarchy.
Thank guysMarch 30, 2017 at 8:30 pm #769607Hey Nicola,
Thanks for the suggestion.
You send it here: https://kriesi.at/support/enfold-feature-requests/
Best regards,
John TorvikMarch 31, 2017 at 10:00 am #769819ok, done!
March 31, 2017 at 10:30 am #769839Hi niguli ,
Thank you very much. Your idea is fantastic! :)
Best regards,
NikkoNovember 30, 2017 at 7:05 pm #883534Any follow up on this matter ?
November 30, 2017 at 7:09 pm #883537you’re right ! Admin? Up Up Up :)
November 30, 2017 at 9:30 pm #883562Hi!
That would be too complicated as there are almost endless possibilities to integrate custom fields using ACF. However following would be helpful:
1- Please refer to ACF docs to find code examples – https://www.advancedcustomfields.com/resources/
2- Since you are going to need to apply the changes directly on theme files, we recommend you to use a child theme – https://kriesi.at/documentation/enfold/using-a-child-theme/ so those changes would not be overwritten in updates.
3- For example, if you would like to display your custom field above “You might also like” in related posts section, you can simply right click and inspect elements on it and fine it’s class, in this case “related_title” – https://i.imgur.com/rkXbR7X.png
4- Then you can search that class in Enfold files to find the correct file and line – https://i.imgur.com/0LzqewP.pngI hope that helps! :)
Regards,
YigitDecember 1, 2017 at 11:16 am #883826I know it could hard to do such a tutorial, despite it will be very useful for many of us.
Could it be possible to do a tutorial in order to explain all the purpose of Enfold templates one by one (ok, many are common to the main WordPress loop)? Especially the .php ones in the root folder and in the include subfolder…
December 5, 2017 at 10:47 pm #885237Hi,
That is something which – we might be able to work something out, on our GitHub.
Maybe not for everything, but for as many as we can.I have added it to my TODO List. Cant promise when, but something we can consider.
Best regards,
BasilisFebruary 28, 2019 at 11:52 am #1072611is this tutorial been done at the end?
Thank you :)
March 3, 2019 at 7:49 pm #1074014Hi marco3253,
What do you mean?
Best regards,
VictoriaNovember 4, 2020 at 12:43 pm #1258230I think the original question was
“Since, not all of Enfold users (like me) are php developers, I’d like you to write a guide (or a post on the forum) on how to properly integrate the fantastic plugin Advanced Custom Fields in Enfold templates, since these templates are so many (which is the starter template?)”
as that seemed to be too complicated (
“That would be too complicated as there are almost endless possibilities to integrate custom fields using ACF. However following would be helpful:(….)“)
the follow-up question was
“Could it be possible to do a tutorial in order to explain all the purpose of Enfold templates one by one (ok, many are common to the main WordPress loop)? Especially the .php ones in the root folder and in the include subfolder…”
at which this was replied:
“That is something which – we might be able to work something out, on our GitHub.
Maybe not for everything, but for as many as we can.
I have added it to my TODO List. Cant promise when, but something we can consider.”And participant marco3253 was asking about the progress of these questions.
As the feature request form is frozen, I join in on this conversation: any news on either a tutorial on integration of the Advanced Custom Fields plugin in Enfold or a tutorial in order to explain all the purpose of Enfold templates (Especially the .php ones in the root folder and in the include subfolder)?thanks in advance,
KarinNovember 4, 2020 at 3:18 pm #1258292Hi Karin,
I think you can refer to Yigit’s answer above regarding the ACF tutorial.
As for the other one, our documentation already contains a vast information on using the theme, making tweaks and detailed information on Advanced Layout Builder’s elements.Best regards,
NikkoDecember 3, 2020 at 12:45 pm #1264751Hi, can someone (a developer, maybe from Team Kriesi.at) cast their eyes over a modified custom shortcode – https://github.com/raspberryrippl3/enfold-shortcode-post-types-custom-fields
It’s built to pull a custom post type with an ACF field into a testimonial slider.
I want to make sure i’ve done it right and not missed anything that might trip up ALB. Any suggestions for improvements more than welcomed
December 4, 2020 at 12:25 pm #1264982Hi themepack,
If it works properly when you test it in the frontend then it’s good since you are already following the element’s template.
For suggestions, since it’s tied only with testimonials post type it becomes limited, I think you should be able to create a dropdown for so you can select other post types. :)Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.