WordPress.org

Forums

AutoChimp
[resolved] Where does get added to template code (7 posts)

  1. matthew2582
    Member
    Posted 1 year ago #

    We are getting blank content, instead of our post content

    - we added - <div mc:edit="main">
    to the code here

    /* /\/\/\/\/\/\/\/\/\/\ STANDARD STYLING: MAIN BODY /\/\/\/\/\/\/\/\/\/\ */

    /**
    * @tab Body
    * @section body style
    * @tip Set the background color for your email's body area.
    */
    #templateContainer, .bodyContent{
    /*@editable*/ background-color:#FDFDFD;
    }

    /**
    * @tab Body
    * @section body text
    * @tip Set the styling for your email's main content text. Choose a size and color that is easy to read.
    * @theme main
    */
    .bodyContent div{
    /*@editable*/ color:#505050;
    /*@editable*/ font-family:Arial;
    /*@editable*/ font-size:14px;
    /*@editable*/ line-height:150%;
    /*@editable*/ text-align:left;
    }

    <div mc:edit="main">

    but maybe this is wrong place to insert code

    https://wordpress.org/plugins/autochimp/

  2. matthew2582
    Member
    Posted 1 year ago #

    OK problem solved - here is the code that works to populate email with post content

    <!-- // Begin Module: Standard Content \\ -->
    <div mc:edit="main" <table="" border="0" cellpadding="10" cellspacing="0" width="100%">
    </div></td></tr><tr>

  3. chitranjanbaghi
    Member
    Posted 1 year ago #

    Can you please guide to setup the same for my blog.

    I am not able to see any templates that i have created and not I am understanding where to add this code.

  4. ReneeRox
    Member
    Posted 1 year ago #

    me too

  5. matthew2582
    Member
    Posted 1 year ago #

    1. You have to create a Custom template in MC

    2. Then Edit Code in MC

    3. Code gets inserted around line 358

    <!-- // Begin Module: Standard Content \\ -->
    <div mc:edit="main" <table="" border="0" cellpadding="10" cellspacing="0" width="100%">
    </div></td></tr><tr>

    It is the div mc:edit="main" that makes this work

  6. ReneeRox
    Member
    Posted 1 year ago #

    I was able to figure it out, thanks!

  7. mantasj
    Member
    Posted 1 year ago #

    It helped alot, now my content appears on newsletter, before was just empty email

    Does anybody know how to show embeded youtube video?

    And I would like to add big action button at the end of each newsletter so visitors could come to my web

    Maybe somebody know?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AutoChimp
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.