Community Forums › Forums › Archived Forums › Design Tips and Tricks › beautiful pro theme – hide site title
Tagged: beautiful pro, site title
- This topic has 9 replies, 4 voices, and was last updated 11 years, 6 months ago by
Kokabella2.
-
AuthorPosts
-
June 6, 2014 at 8:24 am #108309
jlph
ParticipantHi there - We're using our logo in the image header strip so we would like to disable the site title text/header up above it. Of course we still want to site title to appear at the top of the brower/for SEO purposes. I just tried to add this to the functions.php and got a blank page (deleted it thru my cpanel).
//* Remove the site title
remove_action( 'genesis_site_title', 'genesis_seo_site_title' );Is this code correct and what am I doing wrong when adding to the functions.php?
Thanks!
June 6, 2014 at 10:15 am #108326Pixel Frau
MemberYour code looks correct except for the quotation marks. Try copy/pasting the code directly from this page.
See how your quotation marks are at an angle, but the quotes in the original code are straight up and down? Fix that and the code should work.
June 6, 2014 at 11:52 am #108338jlph
ParticipantOh perfect, yes I got it. Thanks!
July 30, 2014 at 7:16 am #116324Kokabella2
ParticipantUh oh! I tried adding this to the child theme functions.php (Beautiful Pro theme) on my site (http://kokabella.com) and it made my site go blank. I went back and removed it but it's still remaining blank. Could someone please help?! Thank you.
<?php
//* Do NOT include the opening php tag//* Remove the site title
remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
Terry-Anne
http://kokabella.com | http://twitter.com/kokabellaJuly 30, 2014 at 7:26 am #116325Pixel Frau
MemberLooks like you added the opening PHP tag by mistake.
This bit should not be there:
<?php //* Do NOT include the opening php tagThis is the part you want to add to your functions file:
//* Remove the site title remove_action( ‘genesis_site_title’, ‘genesis_seo_site_title’ );If your website is still blank, check to make sure you also removed that extra opening PHP tag.
July 30, 2014 at 7:37 am #116328Kokabella2
ParticipantThank you for the quick response. This is the only code that resembles what you said shouldn't be there:
<?php
//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );
Terry-Anne
http://kokabella.com | http://twitter.com/kokabellaJuly 30, 2014 at 7:39 am #116330Pixel Frau
MemberWithout knowing exactly what was there before and exactly what you added/deleted, it's almost impossible to tell you how to fix it. You most likely accidentally deleted (or didn't delete) something.
If that's the only change you've made to your functions file, the best thing to do would be to re-upload the original file via FTP.
July 30, 2014 at 7:41 am #116333Kokabella2
ParticipantOk, I understand. Thank you again for the quick response!
Terry-Anne
http://kokabella.com | http://twitter.com/kokabellaJuly 30, 2014 at 7:51 am #116335DTHkelly
MemberKikabella2:
After /#post-116330, consider using a free plugin to add php snippets.You can save php snippets without activating them. Activating one by one will show you which code didn't work (or worse, White Screen of Death).
July 30, 2014 at 7:55 am #116336Kokabella2
ParticipantThanks Kelly. Yes, that white screen of death was a little much before my 4th cup of coffee this morning! 😉 I'll most definitely get THAT plug-in! Have a sweet day!
Terry-Anne
http://kokabella.com | http://twitter.com/kokabella -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.