Community Forums › Forums › Archived Forums › Design Tips and Tricks › Minimum Pro – Replace Site Tagline with welcome text
- This topic has 5 replies, 2 voices, and was last updated 11 years, 5 months ago by
Lise.
-
AuthorPosts
-
September 3, 2014 at 8:01 am #122568
Lise
MemberHi,
I've been reading posts to figure out how to do this and I just want to confirm if I'm right in doing the following:
in the functions.php delete this whole code
//* Add the site tagline section add_action( 'genesis_after_header', 'minimum_site_tagline' ); function minimum_site_tagline() { if (is_home() ) printf( '<div %s>', genesis_attr( 'site-tagline' ) ); genesis_structural_wrap( 'site-tagline' ); printf( '<div %s>', genesis_attr( 'site-tagline-left' ) ); printf( '<p %s>%s</p>', genesis_attr( 'site-description' ), esc_html( get_bloginfo( 'description' ) ) ); echo '</div>'; printf( '<div %s>', genesis_attr( 'site-tagline-right' ) ); genesis_widget_area( 'site-tagline-right' ); echo '</div>'; genesis_structural_wrap( 'site-tagline', 'close' ); echo '</div>'; }Under Register Widget Areas, just replace the wordings to read Welcome instead of Site Tagline
Then in front-page add a widgetized area for the welcome
I only want the Welcome on the home page.
Thanks
http://studiokiko.comSeptember 3, 2014 at 11:34 am #122616DTHkelly
MemberUnder Register Widget Areas, just replace the wordings to read Welcome instead of Site Tagline
Site Tagline links to:
ADMIN > Appearance > Customize > Site Title and Tagline
Whatever you have typed into "Tagline" will be pulled into Minimum Pro's display of Site Tagline.
Have you seen the tutorials to conditionally replace site tagline with a custom field (in which you can type "Welcome")?
How to replace Site Tagline on Pages in Minimum Pro with Custom text using Advanced Custom Fields
September 3, 2014 at 12:26 pm #122628Lise
MemberThanks Kellylise,
Humm, I read so many posts, so not sure, but I'll go look at these 2 links you gave me.
But also I want the new welcome to show up only on the home page and right now the tagline does that on the desktop because I played with the css, but it still shows up on mobile, not matter what I do...I just wanted to get rid of the whole thing 🙂
September 3, 2014 at 1:01 pm #122630DTHkelly
Member1. Remove the Site Tagline conditionally with CSS
Add the page ID to this CSS
2. Remove the site tagline
You just need a conditional to remove it only from the home page.
is_front_page() || is_home()September 3, 2014 at 1:01 pm #122631DTHkelly
MemberHave you submitted a help ticket to StudioPress? Since you're removing an element, hopefully they will help.
September 3, 2014 at 1:10 pm #122635Lise
MemberI did use the css like Brad said and it still shows up on mobile.
If I can have the site tagline on the home page only on mobile too, then I would leave it alone,
Thanks for your help...I'll play with it some more and see.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.