WordPress.org

Ready to get started?Download WordPress

Forums

Mail List
[resolved] Form placement and customization? (17 posts)

  1. fnadde42
    Member
    Posted 2 years ago #

    I installed the plugin and it worked just fine. One problem though; I want the form to be IN the page. I want to be able to place the form and possibly style it. Maybe you could give the objects som classes for CSS-ninjas to work with.

    Tanks for an awesome plugin!

    http://wordpress.org/extend/plugins/mail-list/

  2. danycode
    Member
    Plugin Author

    Posted 2 years ago #

    If you want to have the form in a custom position you can hack this file front_form.php

    - Remove the hook in the beginning of the file:
    add_action( 'get_footer', 'front_end_form' );

    - Place the content of the function "front_end_form" where you want.

    - Hack the /css/style.css as you want.

  3. fnadde42
    Member
    Posted 2 years ago #

    Thanks bro!

  4. jeffpim
    Member
    Posted 2 years ago #

    Can you clarify "Place the content of the function "front_end_form" where you want" means? I see the line "function front_end_form()" but do not know what portion of the code to use on another page?

  5. danycode
    Member
    Plugin Author

    Posted 2 years ago #

    Hallo jeffpim the content of the function print the function on the page.

    It's an hack, after the placement on your page you must adapt the CSS and maybe also other things, it's not a standard feature.

    Maybe in the next version i will add the possibility to place the form anywhere but now there is no an easy and fast way to do that.

  6. Tathroth
    Member
    Posted 1 year ago #

    Hi.

    I'm wondering if you could be more specific? I tried to use the content of the function in a page-template, but got an empty site. Do I have to specify the placement in the plugin, or am I just doing this plain wrong?

    Btw, the plugin is awesome !

  7. danycode
    Member
    Plugin Author

    Posted 1 year ago #

    Try to remove the first IF:

    if(!isset($_COOKIE['maillistcookie'])){

    }

  8. Tathroth
    Member
    Posted 1 year ago #

    Thanks.

    I already tried that, but the page still ends up being an empty page, with just the body and head tags. I've also tried with removing the WordPress content-loop from the template, witch also didn't work.

  9. danycode
    Member
    Plugin Author

    Posted 1 year ago #

    Hallo, you can also place that code in a single page/post if you remove the php part.

  10. Tathroth
    Member
    Posted 1 year ago #

    Could you post exactly what code to post and were, to get this to work in a page?

  11. Tathroth
    Member
    Posted 1 year ago #

    Never mind, just got it to work. All i had to do was to remove everything before and after the echoes.

    Thanks for your help.

  12. dapottster
    Member
    Posted 1 year ago #

    would somebody mind helping out a noob like me with this? I would love to be able to put this plugin on a sidebar, or even a header, but do not have the necessary knowledge to figure it out on my own. Could somebody please help me out by posting how they got it to work.
    Thanks!

  13. whiteatom
    Member
    Posted 1 year ago #

    Yes.. the docs for this plugin are very poor...

    How do we make the form appear? not a widget, not a short code? Could anyone point me in the right direction? Plugin activated and the back end is working.. but the form is nowhere to be seen. Is there a way to add email addresses to the list through a function?? I would like to add from another plugin.

    Looks good, but not of any use without this form...

  14. danycode
    Member
    Plugin Author

    Posted 1 year ago #

    The form is automatically displayed in the bottom part of the screen, link you website with the plugin activated.

  15. whiteatom
    Member
    Posted 1 year ago #

    Not in my theme - and it does include wp_footer. Any other ideas?

    I don't think many people want it on the footer of every page - why the choice to put it there? A widget would make way more sense wouldn't it?

  16. danycode
    Member
    Plugin Author

    Posted 1 year ago #

    A widget might be an idea for a future update.
    A big form on the bottom of the page is useful to have an high conversion rate ( subscriptions / impressions ), the form then disappears when a visitor completes the subscription.

  17. helgatheviking
    Member
    Posted 1 year ago #

    A shortcode might be useful for a future update too.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic