Support » Plugins » Wordpres Email Notification Plugin 2.3.1 – Where To Put Code

  • Resolved Velanche

    (@velanche)


    Greets:
    I’ve been fruitlessly searching far and wide for an answer to (I hope) a simple question. I’ve gone through the comments on the author’s page, combed through the support section of the Codex, and even did Google searches….and still, no luck.

    I’ve installed the plugin, and I’m going through the directions. Then there’s the part where it reads to put the following code into my header template file…

    <?php email_notification_future_send(); ?>

    What it didn’t tell me was exactly *where* to put it. I’ve tried inserting it in several different locations, and I’d either get a fatal error message coming from the server or (usually) everything disappears except for the page’s background (this includes the header image and text, content, sidebar and footer).

    I’d appreciate any assistance that can be offered; thanks much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • garbonzo

    (@garbonzo)

    It’s just got to be anywhere above the code for the corresponding “subscribe” form.

    He suggests the header template file because that file gets run on every page on your blog, thus ensuring that the function is active.

    Perhaps you just haven’t included the code for the actual subscribe form? You need that function call in the header, AND you also need this stuff:


    <form method="post" action="maillist/index.php">
    Enter your e-mail address to receive notifications when there are new posts

    <input type="text" name="email" size="12" maxlength="36" />
    <input type="submit" name="submit" value="sign up" />
    </form>

    Velanche

    (@velanche)

    Hey thanks for the clarification!

    I’ve actually put the form method code within the sidebar. While that was able to display, I’ve had fits figuring out why the smaller code did not work. But once I’ve added it just above the form code, I was able to move forward.

    I’ve ended up with a few other errors on top of it, but I was able to figure things out and now it’s working. Thanks very much again for the assistance!
    Velanche

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wordpres Email Notification Plugin 2.3.1 – Where To Put Code’ is closed to new replies.