How to add text next to the homepage Subscribe button – Minimal Theme

Community Forums Forums Design Tips and Tricks How to add text next to the homepage Subscribe button – Minimal Theme

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by  seozones 1 year, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18719

    rosstcorbett
    Participant
    Post count: 14

    Hi,

    I have just installed the Minimum theme.

    On the homepage there is a large ‘Subscribe Now’ button. How to I add some custom text to the line next to it like on the Demo?

    Thanks.

    #18746

    Andrea Rennick
    Keymaster
    Post count: 544

    OPen up page-title.php and change it there.


    **forum signature**
    If you need technical support for your theme please file a ticket.

    The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.

    Twitterholic

    #18750

    rosstcorbett
    Participant
    Post count: 14

    Hi,

    Where about’s in the code should I add in the text?

    #19851

    seozones
    Participant
    Post count: 6

    Like this:

    if ( is_home() ) {
    echo ‘<div id=”page-title”><div class=”wrap”><p>Place text here’ . esc_html( get_bloginfo( ‘description’ ) ) . ‘<a class=”page-title-button” href=”#”>’ . __( ‘Subscribe Now’, ‘minimum’ ) . ‘</a></p></div></div>’;
    }

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.