Home › Forums › Backend Issues (wp-admin) › Where to find Post Custom Heading in theme files?
Please check https://www.dropbox.com/s/d18klzsu4epuyrh/Screenshot%202016-08-07%2000.56.55.png?dl=0
it will show you Post Custom Heading and Custom Title
I want to know where can I find these fields? which plugin file?
I could not get it in post template.
Hi @suyash87,
Thanks a lot for reaching out to us.
In order to access and display the field values on the front end/ template files, you will need to the_field/get_field function.
Here is a read on how to use the same.
https://www.advancedcustomfields.com/resources/the_field/
https://www.advancedcustomfields.com/resources/get_field/
Let me know if you get stuck.
Hello James, which file is using this function? can you please let me know the plugin file?
what basically I am trying to do is check link https://drjohnfagbemi.co.uk/your-quick-fact-guide-to-invisalign/
Want that small title tag to be changed, which is h1 , yo can check browser
Hi @suyash87 ,
Thanks a lot for getting back to me.
The function should go into your template file that the page is using.
Let me know how it goes.
Hi James
I found the function in file, but it is wrapping <h1> which I want to change, could not get that though
Hi @suyash87 ,
I am not certain I clearly understand where you are stuck as the_field does not add any markup to the field value.
Kindly share with us the code that you are using so that I may be able to understand and advise on the same.
Hope to hear from you soon.
Hi @suyash87,
I am not certain I clearly understand where you are stuck as the_field does not add any markup to the field value.
Kindly share with us the code that you are using so that I may be able to understand and advise on the same.
Hope to hear from you soon.
check link https://drjohnfagbemi.co.uk/your-quick-fact-guide-to-invisalign/
title – Invisalign London
check browser, this title is wrapped into <h1> and set through custom tile
so while printing this title it ust be wrapped in h1, I am not able to get to that code therefore want to know if it is any plugin file which is used to display it
Hi @suyash87 ,
Thanks for the follow up.
You can wrap the field around h1 in the markup as follows.
echo “<h1>”.the_field(‘title’).”</h1>”
I hope this helps.
but where? i could not find the location, does any plugin file echo the_title()?
if yes, then which one?
Hi @suyash87
It depends on where you want it to show up. If you want to show it on a post, you need to modify single.php file. If you want it on a page, then you need to modify page.php file. Please check this page to learn more about WordPress templates: https://codex.wordpress.org/Templates.
If you don’t know anything about programming and don’t have the time to learn it, I suggest you hire a developer to help you out with it, and I’d recommend looking for one on https://studio.envato.com/, https://www.upwork.com/, or https://codeable.io/.
I hope this helps 🙂
The topic ‘Where to find Post Custom Heading in theme files?’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.