Twitter | Search | |
Jeffrey Carandang
👀 Toggling title visibility on Gutenberg editor. Would really appreciate some feedback. Cheers!
Reply Retweet Like More
JR Tashjian May 28
Replying to @phpbits
What is the purpose of this? Is there a specific page template that hides the title? If so, it might be best to hook into the page template select box to hide or show. This would require page templates to somehow register if they display a title or not so you can query for it.
Reply Retweet Like
Jeffrey Carandang May 28
Replying to @jrtashjian
With everything can be added via blocks there should be option for title to be optional. Best example for this is the homepage. There's no need for page template, I've used the_title filter to hide the title when selection is toggled. I hope this makes sense. Thanks!
Reply Retweet Like
JR Tashjian May 28
Replying to @phpbits
ah yes, you are right haha. Old ways of thinking sticking around in my head 😆
Reply Retweet Like
Jeffrey Carandang May 28
Replying to @jrtashjian
I'm actually just tired of seeing (no title) on my homepage so I've decided to create this option 😅
Reply Retweet Like
Jeffrey Carandang May 29
Replying to @phpbits
A little improvement for better user interface 👍
Reply Retweet Like