After Page Content Signup

Community Forums Forums Design Tips and Tricks After Page Content Signup

This topic is: not resolved

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

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

    bassjamm
    Participant
    Post count: 15

    Hi all..

    I’m using the metro theme over at http://injuryfree.me

    How do I add the enews extended sign up form after my page content?

    I’ve got it to work for my posts, but not after pages.

    Any ideas?

    Thanks

    Jamie

    #23729

    bassjamm
    Participant
    Post count: 15

    Any thoughts?

    #23990

    snakeair
    Participant
    Post count: 157

    It looks like you got it working.

    Do you still need help?

    #24013

    bassjamm
    Participant
    Post count: 15

    Hi,

    That’s a plugin I’m using, not the enews extended widget.

    If there’s a way I could get the enews extended widget to work there instead then I’d like to…so yeah, please, any help would be awesome.

    Thank you.

    #24044

    Kraft
    Participant
    Post count: 86

    Hi Bassjamm,

    Have you checked out Brian Gardner’s tutorial: http://www.briangardner.com/email-newsletter-signup-box/

    It’s probably the best starting off point.

    Cheers,

    BK


    Brandon Kraft
    Volunteer
    Blog | Twitter | Business
    Genesis eNews Extended Support

    #24415

    bassjamm
    Participant
    Post count: 15

    Hey

    Yeah, had a look there thanks Brandon but I couldn’t get it to work on the pages. Posts are fine, but not pages.

    Thanks

    J

    #24416

    Kraft
    Participant
    Post count: 86

    I haven’t tested it, but to get it on pages, it only requires a small tweak. From Brian’s instructions, the line <code>is_singular( ‘post’ )</code>, change to <code>is_singular( array( ‘post’, ‘page’ ) )</code>.

    I edited his gist to do that here: https://gist.github.com/kraftbj/5094618#file-functions-php

    Backup your functions.php and have FTP access. I don’t have time to test that out, but it should work just fine per the codex.

    Also, if you want this on ALL post type pages (posts, pages and any custom post types you may have), you can just use is_singular() and not specify a specific post type.

    [NOTE: DO NOT COPY STRAIGHT FROM THE FORUM POST. Use the gist instead. If you just copy/paste, the single quotes will goof everything up since they're being rendered as fancy quotes]


    Brandon Kraft
    Volunteer
    Blog | Twitter | Business
    Genesis eNews Extended Support

    #24421

    bassjamm
    Participant
    Post count: 15

    Thanks for that pal.

    I’ll have a play about with it and see how I get on. Many thanks!

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

You must be logged in to reply to this topic.