Tagged: Page Options, page titles, titles
Suggestion re: Page Titles
September 9, 2015 at 5:05 pm #23143Wendell HarnessParticipant
Great work on the latest release of Jump Start! It gets more awesome with each release. 🙂
If there is one piece of feedback I could provide, it would be concerning page titles. As soon as you select a custom layout for a page, the titles no longer appear. I know that I can re-add them as headlines or whatever, but the default styling is different than that of a regular page title (even if you apply the .entry-title style for h1). To confuse the matter further, the Page Options area of the page edit screen allows you to choose whether or not to display the title. But when using a custom layout, that setting is ignored.
My suggestion would be to honor the Page Options setting for page titles.
This certainly isn’t a deal-killer for me, but just wanted to provide my feedback.
September 9, 2015 at 9:40 pm #23146Jason BobichKeymaster
Thanks for the compliment and feedback.
You’re definitely not the first one to bring this up over the last few years, and that’s actually why the Headline element exists in the first place, with the ability to pull the title of the page dynamically.
But having the page title in their causes issues on a couple of different fronts, and is why I don’t have plans to add it.
… but the default styling is different than that of a regular page title (even if you apply the .entry-title style for h1)
See, this is a big part of the issue. How would you get the title to look how it would on a standard page? You’d have not only have to have the title, but have it in the correct context, wrapped in the block that is used to display a page. Outside of this context, it can’t really look the same I don’t think — it would just be in a big open space at top of the layout with no background or wrapping context.
And when you’re using the builder you’re not confined to the layout of a standard page. This adds complications not only with Jump Start, but other themes using the Builder plugin that have different designs for pages.
Also, if it were to be implemented at this point, you’d have the issue of people updating the theme and titles popping up all over the place where people don’t expect because of that meta value that’s already stored on pages.
It all really isn’t a simple change to make unfortunately. So adding that Headline element with a way to pull the title of the current page is a sort of a compromise, I guess you could say. You could always add styling from your child theme so the headline element looks how you want, too.
To confuse the matter further, the Page Options area of the page edit screen allows you to choose whether or not to display the title.
Yeah, I know it’s a little confusing, which is why I put the note there in the option description about it not working with the Layout Builder.
If you think about it all from a certain perspective, it all does make sense in the way it’s setup. First the custom layout is meant to replace the entire content area of the current page. Then within your layout, there are elements to put back in the missing pieces where you want in relation to other elements — page title, page content, featured image, and breadcrumbs are all elements.September 9, 2015 at 10:10 pm #23147Jason BobichKeymaster
haha sorry I just re-read my response and I don’t really like it. Sorry I didn’t mean for it sound like I was just slamming your idea or anything. I was just trying to explain some of the history and thought that’s happened already with what you suggested.September 9, 2015 at 10:32 pm #23148Wendell HarnessParticipant
Ah, I see. That makes perfect sense. I didn’t take the first post the wrong way, so no worries. 🙂 Thank you for the very thorough response!
I’ll just use some CSS to make the titles appear the same. Some pages have custom layouts and some have default layouts, and I just want them to all appear consistent throughout.
- This reply was modified 7 years, 9 months ago by Wendell Harness.
- You must be logged in to reply to this topic.