Home › Forums › General Issues › Adding seo title via acf with if clause in function.php › Reply To: Adding seo title via acf with if clause in function.php
I generally use this https://wordpress.org/plugins/autodescription/, there are other SEO plugins as well but I won’t mention the most popular to provide another link to it.
The tutorial you’re looking at will work if you remove title support from your theme. Somewhere in your theme you should find a line that looks like add_theme_support( 'title-tag' );
, comment it out and WP might stop adding the title tag.
You can also look at the seo plugins and see hoe they do it. I’m not sure and this is more of a general WP question and an ACF question.
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.