Comments (16)
Please add this function to the customizer finaly - an option to be able to exclude all titles at once.
Better this would be even the default setting.
Everyone waits for this, because no one wants to use extra hooks - no normal user does that and the catch is that elementor is primary developed for normal users.
I will add the hook, however it would be still very useful!
from hello-theme.
@yaniv691 I know you said you don't want to use CSS, but that's the quickest way to do this globally, without adding bloat to the theme (which I assume is meant to be lightweight).
It's easy to go into WP Customizer and add global CSS:
.entry-title {
display: none;
}
from hello-theme.
@BigWilliam The reason I want to avoid CSS is because I don't want multiple h1 tags (one inserted by the theme and another by me). Even through the user will only see one heading, this is bad practice in terms of accessibility (specifically screen readers) and SEO. Also, I don't want unnecessary HTML markup on the page which cannot be seen.
The theme supposed to be lightweight but should also provide some basic filters to customize some critical parts.
from hello-theme.
Add the following line to your functions.php to hide the title from all the pages on your website:
add_filter( 'hello_elementor_page_title', '__return_false' );
from hello-theme.
@RomainJM - thank you for pointing that out. Will be included in the next release.
from hello-theme.
I'm interested too... Doesn't clicking the Gear icon to get to Page Settings allow you to Hide the Title for pages? Or did I misunderstand?
from hello-theme.
@badcat Your suggestion is correct, but it's rather tedious to do on a lot of page. It would be great to have a global setting (or filter like @nuritsha commited to her branch ;-) )
from hello-theme.
Hi @yaniv691, @badcat and @BigWilliam,
Thank you for your suggestions,
Please take a look at the new filter introduced in version 2.1.0:
'hello_elementor_page_title'
,
You can add it to your functions.php and prevent the theme from printing h1 tags throughout the site, just follow the instruction in the theme's readme
.
from hello-theme.
Thank you very much @nuritsha. This is exactly what I needed - simple hooks.
from hello-theme.
There is a problem now, we have a empty header.
Can this filter include header too ?
from hello-theme.
+1
from hello-theme.
+1
from hello-theme.
Add the following line to your functions.php to hide the title from all the pages on your website:
add_filter( 'hello_elementor_page_title', '__return_false' );
And then readd that everytime the themes get an update? No, it needs to be a setting.
from hello-theme.
And then readd that everytime the themes get an update? No, it needs to be a setting.
Perhaps adding that to a child theme functions file makes more sense.
from hello-theme.
Add the following line to your functions.php to hide the title from all the pages on your website:
add_filter( 'hello_elementor_page_title', '__return_false' );
And then readd that everytime the themes get an update? No, it needs to be a setting.
Add it to your child theme's functions.php. The other option is to change the theme's version to a huge number like 99999 so that it will never update. Alternatively, you can create a shell theme yourself. It's not difficult
from hello-theme.
https://elementor.com/blog/wordpress-child-theme/
from hello-theme.
Related Issues (20)
- WHY??? $content_width = 800; // Pixels. HOT 1
- Woocommerce reviews doesn't works
- Author Archive is Redirecting to HomePage HOT 1
- Skip to content button has a blank href HOT 2
- 2.7.0: hello_elementor_body_open) no longer working HOT 6
- 2.7.0: hello_elementor_body_open) no longer working HOT 1
- 2.7.0: hello_elementor_body_open no longer working HOT 1
- Fatal error after update HOT 1
- Changelog of 2.7.0 HOT 2
- Featured image in a post is broken if you change theme (Hello >theme 2023)
- The hamburger menu didn't show in guest mobile
- get 404 in author archive
- Default pink still overrides Global styles and custom CSS HOT 3
- Elementor Single post template - post content widget - image size
- Multiple tags on post pages are merged
- Single.php is not used in Custom Post Types with Display Conditions
- additional meta tag on sites with yoast HOT 3
- Generated CSS has duplicate table style entries
- Reduce the size of hello-elementor-theme-style-css by splitting the CSS and only loading the relevant parts HOT 1
- Thème Hello - Buddypress - xprofile HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hello-theme.