• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

HELP: How to add a link at the tagline in Minimun Theme?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › HELP: How to add a link at the tagline in Minimun Theme?

This topic is: not resolved

Tagged: anchor link, minimun theme, tagline, text, title

  • This topic has 9 replies, 2 voices, and was last updated 11 years, 11 months ago by josbarrios.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • August 9, 2013 at 4:05 pm #55353
    josbarrios
    Member

    Hi. How can I add a link at the tagline in Minimun Theme? (The text beside the suscription button) I want to turn that text in a big powerfull and minimalist call to action.

    I know it can be done in the page-title.php file, but I have tried and it didn't worked.

    Below is the code. I don't know how to add the href=# for the text I want.

    Am from Venezuela, so my english is really bad. (Sorry for my bad grammar!)

    I'll apreciatte A LOT your help!

    
    <?php
    
    if ( is_home() ) {
    	echo '<div id="page-title"><div class="wrap"><p>' . __( 'Haz clic aquí y adquiere gratis mi ebook', 'minimum' ) . '<a class="page-title-button" href="#">' . __( 'Suscríbete gratis', 'minimum' ) . '</a></p></div></div>';
    }
    elseif ( is_404() ) {
    	echo '<div id="page-title"><div class="wrap"><p>' . __( 'Ooops! Hubo un error :/', 'minimum' ) . '<a class="page-title-button" href="#">' . __( 'Suscríbete gratis', 'minimum' ) . '</a></p></div></div>';
    }
    elseif ( is_post_type_archive( 'portfolio' ) || is_singular( 'portfolio') ) {
    	echo '<div id="page-title"><div class="wrap"><p>' . __( '< Adquiere gratis mi ebook >', 'minimum' ) . '<a class="page-title-button" href="#">' . __( 'Suscríbete gratis', 'minimum' ) . '</a></p></div></div>';
    }
    elseif ( is_singular( 'page' ) ) {
    	echo '<div id="page-title"><div class="wrap"><p>' . __( '< Adquiere gratis mi ebook >', 'minimum' ) . '<a class="page-title-button" href="#">' . __( 'Suscríbete gratis', 'minimum' ) . '</a></p></div></div>';
    }
    elseif ( is_author() || is_category() || is_date() || is_search() || is_singular() || is_tag() ) {
    	echo '<div id="page-title"><div class="wrap"><p>' . __( '< Adquiere gratis mi ebook >', 'minimum' ) . '<a class="page-title-button" href="#">' . __( 'Suscríbete GRATIS', 'minimum' ) . '</a></p></div></div>';
    }
    else {
    	echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( '< Adquiere gratis mi ebook >' ) ) . '<a class="page-title-button" href="#">' . __( 'Suscríbete gratis', 'minimum' ) . '</a></p></div></div>';
    }
    
    http://josuebarrios.com/blog/
    August 10, 2013 at 1:02 am #55406
    Brad Dalton
    Participant

    This is how i did it and added font icons:

    https://gist.github.com/braddalton/6157211


    Tutorials for StudioPress Themes.

    August 10, 2013 at 7:18 am #55434
    josbarrios
    Member

    Heeey Brad, that's smart! I will try it right now before close the conversation. Thanks a lot! Greeting from Venezuela!

    August 10, 2013 at 7:56 am #55450
    Brad Dalton
    Participant

    Yes you can also add your conditionals after the function in the code as well Jos.


    Tutorials for StudioPress Themes.

    August 10, 2013 at 12:44 pm #55505
    josbarrios
    Member

    Hi Brad. I tried and it worked... but not very well. Look.

    http://josuebarrios.com/blog/

    I add the link at where says "< Adquiere gratis mi ebook >" (That's is what I wanted!! Finally!!)

    BUT...

    The title of my website was replaced (and his font)

    How can I solve that?

    That's the only thing I need to finally release my blog. 😀

    August 10, 2013 at 1:07 pm #55508
    Brad Dalton
    Participant

    The code is simply sample code which you can modify to suit your needs.

    You will need to change the site title hook to the description hook.

    You can also replace the HTML for the link.


    Tutorials for StudioPress Themes.

    August 10, 2013 at 1:28 pm #55511
    Brad Dalton
    Participant

    Try this Jos.

    https://gist.github.com/braddalton/6201792


    Tutorials for StudioPress Themes.

    August 10, 2013 at 2:21 pm #55520
    josbarrios
    Member

    That didn't worked as I expected, haha. Take a look: http://josuebarrios.com/blog/

    Mmm... I think I will keep trying. I'll leave this thread open in case someone can help me.

    Thanks a lot Brad! If you know about a idea, I'll apreciatte!

    (again, sorry for my bad english...)

    August 10, 2013 at 2:26 pm #55522
    Brad Dalton
    Participant

    I tested this code and it works perfectly.

    You will need to change the link to a page that works on your site.

    You will also need to add your own CSS code to style that link.


    Tutorials for StudioPress Themes.

    August 10, 2013 at 2:36 pm #55524
    josbarrios
    Member

    The code works really fine, but don't do what I really need though I apreciatte a lot your help, Brad.

    Look:

    http://josuebarrios.com/blog/

    The code puts a new text below mi site title. Also, when I set up the primary navigation menu, the big tagline beside the suscription button don't show a anchor link (that is what I want to display a link).

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble