Removing Minimum Subscribe Button ONLY on Landing Pages

Community Forums Forums Design Tips and Tricks Removing Minimum Subscribe Button ONLY on Landing Pages

This topic is: resolved

This topic contains 7 replies, has 3 voices, and was last updated by  WJenks 1 year, 5 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #24118

    eluviis
    Participant
    Post count: 115

    Yes, I searched. :) I found this thread describing how to remove the Subscribe button: http://www.studiopress.com/forums/topic/minimum-theme-how-to-remove-the-big-subscribe-now-box/

    However, in the page-title.php file, the code is a little broad and there is no specific entry for landing pages.

    I want to remove the button from landing pages ONLY, because those pages will contain the signup form – so, the button would be redundant.

    How can I do this?

    Thanks

    #24134

    braddalton
    Participant
    Post count: 9435

    Hide it using CSS. Link to your landing page please.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #24143

    eluviis
    Participant
    Post count: 115

    Hi! The landing page is not fully built yet, but it is live… and it does have the button I want to remove. Temporary development link: http://rightisbackside.com/subscribe/

    #24147

    braddalton
    Participant
    Post count: 9435

    [css]
    .page-template-page_landing-php .page-title-button {
    display: none;
    }
    [/css]

    This removes the button from all pages using the landing page template, otherwise use this code:
    [css]
    .page-id-1561 .page-title-button {
    display: none;
    }
    [/css]


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #24151

    eluviis
    Participant
    Post count: 115

    ^^^ You sir, are a genius. So simple, yet so elegant.

    I’ll keep you in mind when it comes time to debug this thing. Maybe we can work a deal out.

    #33093

    WJenks
    Participant
    Post count: 2

    I’m in kind of a similar situation I only want the subscribe button to show on the home page and no other page. Is there a simple way to do this?

    #33094

    braddalton
    Participant
    Post count: 9435

    Link to your site please Wjenks.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #33095

    WJenks
    Participant
    Post count: 2

    It’s currently hidden by a coming soon page . . . .

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

The topic ‘Removing Minimum Subscribe Button ONLY on Landing Pages’ is closed to new replies.