When I click on "Tags, Categories, Archive", this appears on page:
Fatal error: Call to undefined function the_archive_title () in /home/u932610063/public_html/wp-content/themes/powen-lite/archive.php on line 20
How should I fix this error?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityWhen I click on "Tags, Categories, Archive", this appears on page:
Fatal error: Call to undefined function the_archive_title () in /home/u932610063/public_html/wp-content/themes/powen-lite/archive.php on line 20
How should I fix this error?
I'm using WordPress 4.0.1
You need to update WordPress to the latest version. the_archive_title()
was added in version 4.1.
You can use this function intends of the_archive_title()
get_the_archive_title()
the_archive_title()
Introduced in wordpress 4.1.0 if your version less then 4.1.0 then use above one.