Posts: 12
Threads: 4
Joined: Apr 2015
2015-04-15, 03:06:22
(This post was last modified: 2015-04-15, 03:08:05 by Splashsky.)
Yo! I've just started using GetSimple (it's actually the first CMS I've ever used; I usually build custom systems for my websites) and I was wondering where the feature is or if there's a good plugin or removing the <h1> page titles from the pages?
Cheers!
Posts: 6,266
Threads: 181
Joined: Sep 2011
Its in your theme
<!-- title and content -->
<h1><?php get_page_title(); ?></h1>
Posts: 12
Threads: 4
Joined: Apr 2015
(2015-04-15, 03:27:14)shawn_a Wrote: Its in your theme
<!-- title and content -->
<h1><?php get_page_title(); ?></h1>
Well, yes, but I mean an option to disable it per-page. I'd like it to stay on some, but disappear elsewhere.
Posts: 6,266
Threads: 181
Joined: Sep 2011
Your best option is to create a copy of your template without it, and change the template for those pages.
You could also use a custom field plugin or something and conditionally check a checkbox field.
Posts: 3,491
Threads: 106
Joined: Mar 2010
If there are not many pages that must have the title, and you're not going to be adding more, another way is using something like this in your template:
PHP Code:
<?php if (in_array(return_page_slug(), array('page1','page2','page3'))) { ?>
<h1><?php get_page_title(); ?></h1>
<?php } ?>