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.
It looks like you got it working.
Do you still need help?
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.
Yeah, had a look there thanks Brandon but I couldn't get it to work on the pages. Posts are fine, but not pages.
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]
Thanks for that pal.
I'll have a play about with it and see how I get on. Many thanks!
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!