$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>customization - Delete page titles|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

customization - Delete page titles

matteradmin7PV0评论

I'm making a website with the Primer theme, and it includes a big bar with the title in huge letters across every page. I prefer the titles be in the body of the post, so I want to delete the title bar altogether.

However, inserts that have been suggested on here like

.page_header {
display: none !important;
}

don't work at all when I input them into "Additional CSS". What am I doing wrong? Keep in mind, when you answer, that I'm a complete novice.

I'm making a website with the Primer theme, and it includes a big bar with the title in huge letters across every page. I prefer the titles be in the body of the post, so I want to delete the title bar altogether.

However, inserts that have been suggested on here like

.page_header {
display: none !important;
}

don't work at all when I input them into "Additional CSS". What am I doing wrong? Keep in mind, when you answer, that I'm a complete novice.

Share Improve this question asked Feb 28, 2019 at 14:07 BasherAtKeysBasherAtKeys 11 bronze badge 2
  • More than likely there's an option in the customizer somewhere to hide the page title. Check with the theme developers if you have trouble finding it. – mrben522 Commented Feb 28, 2019 at 14:24
  • No, there isn't any way to do it with the regular tools. – BasherAtKeys Commented Feb 28, 2019 at 21:14
Add a comment  | 

2 Answers 2

Reset to default 0

Simply you can remove the title tag or you can comment also

<?php //the_title(); ?>

I figured it out manually: It turns out the code I was given didn't specify what part needed to be changed. In the theme I'm using, the title is in page-title-container rather than page_header and it worked just fine once I made that change. Thank you for your help!

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far