REF URL: https://learnmechanical.com/category/automobile-engineering/
In my case, as you can see, there is no category title, same as for search result and posts page.
Is it possible to have a title like this?
REF URL: https://learnmechanical.com/category/automobile-engineering/
In my case, as you can see, there is no category title, same as for search result and posts page.
Is it possible to have a title like this?
Hello Saswata,
Thanks for posting in! The WPEagle site is using the X theme with the Ethos stack. The navbar is the default navbar displaying the logo, menu navigation breadcrumb and the landmark header which has the Category title in it.
In your site, you are Pro theme with the Integrity stack. The header were replaced with your custom built header. If you want to display a category title, you will need to duplicate your current header and insert another bar. This bar will contain a headline element. You can then utilize the dynamic content to display the category title of the page in the headline element.

To learn more about the dynamic content, please check out this documentation:
Great, it is working for Category pages, but seems not working for Search Result page.
In the search result page 1 category of the post is shown, instead of the search query. Can you please help me with this?
Hi Saswata,
You need to have a separate header for search result page because of the dynamic content does not work there. You can follow the guide provided here on to assign a header to the search result page.
Hope it helps,
Cheers!
Thanks @friech, I set up all those, lastly, I want to assigned a header to the Author pages, because now there is unusual text in author pages, like this,
I already have this filter:
add_filter('cs_match_header_assignment', 'custom_search_header');
function custom_search_header($match) {
$user = wp_get_current_user();
if (is_archive()) {
$match = 5305; // the post ID for your header
}
elseif (is_search()) {
$match = 5308; // the post ID for your header
}
return $match;
}
Hey Saswata,
The code you posted is only for header assignment. Please post what Dynamic Content setup you used for the text so we could replicate your setup and see if there’s a problem with the Dynamic Content.
I logged in to your site using the credentials on your other thread but the Pro header fails to load on my end. If the header loads on your end, please give us a screenshot of your Dynamic Content setup.
Thanks.
Hello @christian, Sorry for the inconvenience happened to you, as we are using Cloudflare EDGE cache rule, maybe that is conflicting with header builder, we need to purge the cache for that particular URL then the header builder is loaded.
So now come to the thread, here is my setup for ARCHIVE pages,
and This header is fetched on Author Pages if I am not wrong.
Hi Saswata,
What you need is {{dc:user:display_name user="author"}} for author pages and not the same archive title. Hence, you need the same fix similar to search page, and with separate header using the correct dynamic content shortcode.
Example,
add_filter('cs_match_header_assignment', 'custom_search_header');
function custom_search_header($match) {
$user = wp_get_current_user();
if (is_author()) {
$match = 5309; // the post ID for your header
}
elseif (is_archive()) {
$match = 5305; // the post ID for your header
}
elseif (is_search()) {
$match = 5308; // the post ID for your header
}
return $match;
}
Hope this helps.
Thanks @rad but here what I am getting:
This is my custom header for Author Pages,
but this is what I am seeing in author pages:
THE NAME FIELD IS MISSING
So what is the problem here? Can you please help me with this.
Thanks
Hi Saswata,
Would you please kindly get back to us with the URL/User/Pass of your website and a description on how you added that author archive page? You can use a Secure Note to add the information:
That will help us to know how things are set up and try to recreate the same case scenario on our installation to know if it is an isolated issue for your environment or something that we need to add into our issue tracker.
Thank you for your understanding and cooperation.
Hello there,
I have assigned this header to author pages, with the help of above function.
P.S.: Kindly note that, you may have issue while accessing header builder or to see any changes. We are using Cloudflare edge to edge cache rule to cache our whole website, that include, CSS, JS even HTML. So you need to purge individual URL to see the changes, even some time need to purge header builder URL too, otherwise, header builder is not opened.
Hello Saswata,
I have investigated this issue and I can confirm that this is a bug. The dynamic content for the author does not display correctly. I’ve submitted this to our issue tracker so the developers will be made aware of it.
Please bear with us.
Sure no issue at all 
Thank you for understanding. 
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.