- This topic has 25 replies, 3 voices, and was last updated 7 years, 11 months ago by
Leo.
-
AuthorPosts
-
January 11, 2018 at 2:56 pm #468761
Tom
Lead DeveloperLead DeveloperYou can learn more about child themes and download our blank child theme here: https://docs.generatepress.com/article/using-child-theme/
Direct download: http://generatepress.com/api/themes/generatepress_child.zip
January 15, 2018 at 9:32 am #471551John
I couldn’t get the “Home” word to be removed.
I added/changed the child theme functions.php to this
<?php
/**
* GeneratePress child theme functions and definitions.
*
* Add your custom PHP in this file.
* Only edit this file if you have direct access to it on your server (to fix errors if they happen).
*/function generatepress_child_enqueue_scripts() {
if ( is_rtl() ) {
wp_enqueue_style( ‘generatepress-rtl’, trailingslashit( get_template_directory_uri() ) . ‘rtl.css’ );
}
}
add_action( ‘wp_enqueue_scripts’, ‘generatepress_child_enqueue_scripts’, 100 );
add_filter( ‘generate_show_title’, ‘title_by_johnbraun’ );
function title_by_johnbraun()
{
return ‘Your new value’;
}What do I do to remove the “Home” on the main page and all the other pages? It’s such a waste of valuable real estate at the top.
January 15, 2018 at 9:34 am #471552Tom
Lead DeveloperLead DeveloperThat title is actually an H1 with microdata which really helps when it comes to search engine rankings.
However, if you’d like to add your own H1 in the text body, try this function instead:
add_filter( 'generate_show_title', '__return_false' );January 15, 2018 at 12:20 pm #471672John
Ah, then that makes sense why the color of the H1 header I created is the same. Ok, I’ll just make the title of the page longer and set now that I know it’s an actual H1 header.
January 15, 2018 at 3:10 pm #471793Tom
Lead DeveloperLead DeveloperThat’s definitely the best route to take 🙂
January 19, 2018 at 12:15 pm #475156John
How do I make something with a header at the very top and then a changing picture all the way across the screen like on http://www.icarpetcleaningatlanta.com
January 19, 2018 at 7:33 pm #475339Leo
StaffCustomer SupportYou would need a slider plugin.
If you want to add it at the very top of the page then you can insert the slider shortcode the before header hook:
http://demo.generatepress.com/hook-locations/
https://docs.generatepress.com/article/hooks-overview/January 23, 2018 at 12:35 pm #478302John
Okay, I got a slider to work at http://www.pcssuperior.com But how do I get it to only show up on the home page only? And not on the other pages?
January 23, 2018 at 1:22 pm #478342Leo
StaffCustomer SupportMay 7, 2018 at 10:21 am #569896John
How do I make the header a different address?
Particularly, I’d like to make the mobile header into a clickable phone number.
http://www.okemocarpetcleaning.com
By the header, I mean the graphic at the very top with the logo and phone number.
May 7, 2018 at 2:56 pm #570109Leo
StaffCustomer SupportWould you consider uploading the logo only (without the phone number) as the mobile header logo, then add the phone number in as mobile header content?
https://docs.generatepress.com/article/mobile-header/#adding-html-inside-the-mobile-headerIt should look better.
Let me know 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.