GetSimple Support Forum

Full Version: Page Titles
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
Its in your theme

<!-- title and content -->
<h1><?php get_page_title(); ?></h1>
(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.
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.
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 ?>