GetSimple Support Forum
QUESTION Page Titles - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: QUESTION Page Titles (/showthread.php?tid=7205)



Page Titles - Splashsky - 2015-04-15

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!


RE: Page Titles - shawn_a - 2015-04-15

Its in your theme

<!-- title and content -->
<h1><?php get_page_title(); ?></h1>


RE: Page Titles - Splashsky - 2015-04-15

(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.


RE: Page Titles - shawn_a - 2015-04-15

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.


RE: Page Titles - Carlos - 2015-04-17

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 ?>