WordPress Advanced Custom Fields for Beginners (Step by Step Tutorial)
Vložit
- čas přidán 21. 07. 2024
- In this WordPress Advanced Custom Fields basics video I'll be teaching you step by step how to install the ACF plugin, add a custom field group, add a custom text field, and display it on the backend and frontend of your Wordpress Website.
I will show you how to display these fields using a shortcode (with no PHP coding necessary) and also how to display the custom fields by editing your theme template files.
This is only part 1 in this series, there will be more advanced lessons and wordpress website project to come on using advanced custom fields as the backbone.
My Gear:
Eye Tracker: amzn.to/3DSBbj9
Microphone: amzn.to/3Y3UP45
Keyboard: amzn.to/3RxSKe8
Camera: amzn.to/3jBo3bh
Mouse: amzn.to/3l9urHo
Desk: amzn.to/3jwuAnI
Chapters:
0:00 Intro
0:29 How to Install the ACF Plugin
0:42 Create a Field Group
1:17 Creating a Custom Field
3:21 ACF Location Options
4:25 Adding a Custom Field to a Post
4:57 How to Display the ACF Field
Disclaimer: Please assume that any and all links in my video descriptions that lead you to a product or service are affiliate links, that I will receive a small commission on. I will only link to products and services that I personally or have investigated and and believe they will deliver you value.
#programming #wordpress #tutorial #lesson #training #development #php #coding #technology #code #tech #webdevelopment #websites - Věda a technologie
Thank you for a simple concise explanation, I've been "farting" around with ACF for ages unsuccessfully
Thanks for the feedback, glad it was helpful!
Just did not work using shortcode. But it did work via spectra dynamic content.
Would be nice to see how to make and apply it to custom post types
Check out the ACF Playlist here: czcams.com/play/PLzsLSSdJhz0zB15eROpc00XrDftZCxsLL.html
Check the description to see the code editor/gear that I use.
Hey bro if i want to show this in page type not in post what file should i edit for page for the code?
It would likely be page.php that you would want to add the code to, but it may vary depending on your theme, or if the page you are adding on
to has a custom template assigned to it.
Thank you.
You're welcome!
can you add into workreap theme posting services template??
I am not familiar with that theme (I mostly create custom ones) but ACF can work with any theme. Where you would need to actually add code to use the fields may differ though, depending on how the theme is built.
How can i display on frontend now? I need to display color buttons from color picker. How did you display color buttons on frontend ?
I'm sorry I'm not exactly sure what you are asking.