Forums

Include mailing list signup form on custom home page (2 posts)

  1. barndotcom
    Member
    Posted 4 years ago #

    Hello,

    I am using the technique outlined on this page to employ a custom home page that is separate from the main Word Press installation. It works as advertisted:

    http://turbochargedcms.com/2006/11/building-a-true-home-page-into-your-wordpress-blog/#thesolution

    I am also using this mailing list plug-in:

    http://blue-anvil.com/archives/maillist-for-wordpress-a-mailing-list-mass-mailing-mailer-plugin

    Now. what I would like to do is include the mailing list signup form on my custom home page.

    I followed the instructions here, which describe how to call WordPress content from outside WordPress:

    http://www.voodish.co.uk/articles/display-wordpress-content-from-outside-wordpress/

    I can get the example code to work, but I am unable to figure out how to include the mailing list form.

    The standard way to do the include - using <!--mail_sign_up--> - obviously doesn't work, since the custome home page is not a regular WP page.

    I also tried including the whole maillist_v1.php page but nothing showed up when I did that.

    I'm stuck, but imagine the solution can't be that difficult - anyone have any ideas?

    Thanks in advance,

    barndotcom

  2. davebobak
    Member
    Posted 4 years ago #

    Without actually recreating this scenario on my local machine, I can only really come up with guesses or suggestions.

    I don't think the example of pulling WordPress content from outside WordPress will help you.

    I believe the issue has to do with the location of the maillist include files. I think you are on the right track when trying to include the whole maillist_v1.php page, but I think you will need to include all the files in the maillist package. (For example, the piece of code that replaces <!--mail_sign_up--> is not in maillist_v1.php, but is in plugins/maillist.php)

    If you end up including all the files, you will probably have to modify some paths, which could end up being a pain.

    I'll keep investigating.

Topic Closed

This topic has been closed to new replies.

About this Topic