Title of Archive page missing

[ad_1]

Archive page is missing the page title. Also when I try to use the generate_after_archive_title hook to instantiate the following function:

function search_form_in_archive() {
get_search_form();
}
add_action(‘generate_after_archive_title’, ‘search_form_in_archive’);

It’s not working as expected. I believe, for some reason, generate_archive_title is not being instantiated or there might be something missing. The page is in staging, so I can provide you with a link, perhaps you have some ideas on what I might be doing wrong?

  • This topic was modified 7 hours, 6 minutes ago by alyshtva.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer