- This topic has 12 replies, 6 voices, and was last updated 5 years, 7 months ago by
Leo.
-
AuthorPosts
-
September 19, 2014 at 4:23 pm #31971
Gary Nixon
Tom,
Love the theme and all the addons. Using them almost exclusively.
That being said, I have a site where the post and page titles are not showing and was wondering if you could help me out. When you get a chance, please look at http://www.nixonfs.com
Thanks for your help.
September 19, 2014 at 5:02 pm #31973Tom
Lead DeveloperLead DeveloperYou’re hiding the post title with CSS in your child theme.
Go to “Appearance > Editor” and look for this:
.entry-title { display: none; }
Delete it, and you should be good to go 🙂
November 8, 2014 at 9:04 am #44906Christian
Tom I’m having problems with the tabs after migrating them from localhost to my site.
Inside my localhost I have several tabs with images, however after migration to bluehost.com they won’t appear.November 8, 2014 at 9:09 am #44907Christian
Tom I’m having problems with the tabs after migrating them from localhost to my site.
Inside my localhost I have several tabs with images, however after migration to bluehost.com they won’t appear.
Please check out my site http://christianpisc.com. Thanks in AdvanceNovember 8, 2014 at 1:52 pm #44947Tom
Lead DeveloperLead DeveloperHi there,
Where are these images supposed to be?
If I had to guess, it would be that when you migrated, the URLs to the images didn’t change to your domain name.
You may want to try a plugin like this: https://wordpress.org/plugins/velvet-blues-update-urls/
It will allow you to replace all instances of http://localhost to your new URL.
Let me know 🙂
July 18, 2016 at 3:38 pm #211038Jessica
I am having the same problem, but I have no style containing:
.entry-title { display: none; }
My other GP site is showing page titles so I’m not sure what could have happened.
July 18, 2016 at 4:14 pm #211041Jessica
Appears that the conflict is: If I have a featured image displayed on the page, the page title disappears. The pages with no featured image show the page title. Not sure what the conflict is.
I have this in my functions file to show the featured image:
add_image_size( 'featured-image', 945, 400, true ); add_filter( 'generate_page_header_default_size','generate_change_page_header_size' ); function generate_change_page_header_size() { return 'featured-image'; }
I don’t see anything relating to “remove” or “replace” so I’m stumped.
July 18, 2016 at 4:32 pm #211043Jessica
Alright… so, I’ve narrowed this down by trial and error, and discovered what appears to be the conflict:
The featured image itself is not the conflict. However, when I enable the use of “Sections” on the page, that is when the page title disappears (despite not having disabled the page title). That option is definitely not enabled. I have yet to even use that add-on’s options.
Thus, the ONLY difference between the pages that show the title and not, is the use of sections on the ones that are hiding it.
How can I override this so I can use/see both?
July 18, 2016 at 5:30 pm #211057Tom
Lead DeveloperLead DeveloperHi Jessica,
Page titles aren’t displayed by default with Sections, as it would look pretty ugly to have a stray title above your sections.
You can add your own page title into your first section – simply type it it and wrap it in a Heading 1 🙂
July 18, 2016 at 5:55 pm #211062Jessica
Page titles aren’t displayed by default with Sections, as it would look pretty ugly to have a stray title above your sections.
I’d say “ugly” is subjective. When a designed and styled properly, nothing needs to looks ugly. I know how I want to style and position the title but since it’s been removed for me, I’m stuck. :/
You can add your own page title into your first section – simply type it it and wrap it in a Heading 1
Starting off with at least 10 pages, having the page title appear by default is far more efficient, allowing me the flexibility to style it as needed. I’d prefer not to have to choose one or the other. This will create more manual work + risking the client “messing up” what is on the page (which is already hard enough to control regardless of user roles assigned).
How do I override this so I can see the page title & use sections? I would prefer to choose when I don’t want the page title to show.
July 18, 2016 at 6:18 pm #211064Tom
Lead DeveloperLead DeveloperIn order for it to look good, you’ll need to apply CSS to it so it matches the rest of your page style.
You can add it with a function like this:
add_action( 'generate_before_main_content','generate_add_sections_title' ); function generate_add_sections_title() { global $post; $use_sections = ( isset( $post ) ) ? get_post_meta( $post->ID, '_generate_use_sections', TRUE) : ''; if ( ! $use_sections ) return; if ( generate_show_title() ) : ?> <header class="entry-header"> <?php the_title( '<h1 class="entry-title" itemprop="headline">', '</h1>' ); ?> </header><!-- .entry-header --> <?php endif; }
February 27, 2018 at 12:51 am #506640Boris
Hi!
I have a situation where only the “home” page of the site doesn’t display the page title in the browser TAB.
When it’s loading it’s OK – the real title is displayed. But when finishes loading then what is displayed is the following text: Homepage Title
The real title is gone.Other subpages are OK.
February 27, 2018 at 8:46 am #507077Leo
StaffCustomer SupportHi there,
Can you open a new topic and link us to the page in question?
Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.