Home Forums Newsletter Plugin Support Theming problem

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #9742

    Hi, first of all, i’m very thank you for developing this excellent plugin.

    I’m having problems for display the newsletter.
    I created a theme, when i’m in the “NEW NEWSLETTER” section i have no problem, the prewiev is fine.

    The problem occurs when i go to “GO TO EDIT THIS MESSAGE”, so i can’t advance.

    Here i post two images, the first is from “NEW NEWSLETTER”, the second from “GO TO EDIT THIS MESSAGE”.



    I was analiting my code and i’m think it’s fine, so i can’t figuere whats the problem.

    Here is the code:

    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
    global $newsletter;
    global $post;
    $filters = array();
    $filters['showposts'] = (int)$theme_options['theme_max_posts'];
    if ($filters['showposts'] == 0) $filters['showposts'] = 1;
    $posts = get_posts($filters);?>
    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>
    <body style=”background:url(<?php bloginfo(‘template_url’ ); ?>/images/bg/0<?= rand(1, 7)?>.jpg);background-size:100%;background-repeat:no-repeat;background-attachment:fixed;”>
    <table style=”margin-top:10px;” align=”center” width=”600″>
    <img src=”<?php bloginfo(‘template_directory’); ?>/images/brand-mailing.png” alt=”Logo” style=”float:left;”>
    <table style=”background-color:#C0C0C0;box-shadow:0px -3px 5px rgba(0,0,0,0.5);margin-top:15px;” width=”600″ align=”center” border=”0″ cellpadding=”0″ cellspacing=”0″>
    <td style=”background-color:rgba(255,204,0,1);color:#000;font:normal 14px calibri,sans-serif;text-align:right;padding:5px 5px 5pxpx 0;border-bottom:1px solid black;”>
    <?php setlocale(LC_ALL,”es_ES”); echo ucwords(strftime(“%A %d, %B, %Y”));?><br><strong><?php echo “Gacetilla Nº:”; echo $theme_options['theme_numerogacetilla'];?></strong>
    <?php foreach ($posts as $post) {
    <td style=”padding:0 20px 10px 20px;border-bottom:1px dotted #333″>
    <?php $key=”volanta”;
    if (!empty($key)){ ?>
    <p style=”font-family:georgia,serif;line-height:1.5em;font-size:12px;font-style:italic;margin:0;padding:0;”><?php echo get_post_meta($post->ID, $key, true); ?></p>
    <?php } ?>
    <p style=”font-family:georgia,serif;color:#333;font-size:29px;line-height:31px;margin:0;padding:0 0 4px 0;”><a href=”<?php echo get_permalink(); ?>” style=”color:#333;text-decoration:none” target=”_blank”><?php the_title(); ?></a></p>
    <?php if (has_post_thumbnail()) {?>
    <div style=”min-width:100%;background:#A0A0A0;padding:0;margin:0;”>
    <?php the_post_thumbnail(‘noticias’, array(‘style’ => ‘margin-left:auto;margin-right:auto;display:block;’));?>
    <?php };?>
    <p style=”width:100%;font-family:calibri,sans-serif;line-height:1.5em;font-size:14px;”>
    <?php global $more; $more = 0; the_content();?>
    <?php } ?>
    <td style=”color:#9ab;font:normal 11px helvetica,sans-serif;text-align:center;padding:10px 0 20px 0″>
    <p>Este correo le fue enviado porque está suscripto a nuestro sistema de gacetillas de prens.<a href=”<?php profile_url ?>”>Haga click aquí para modificar o cancelar su suscripción.</a></p>



    The code seems correct, but try to generate a content without any post to be sure is not a post content to create problem. Second try a body without styles (even if the slicer which extract the theme body toinject it into the visual editor should not got wrong with styles body.

    Let me know.


    Hi Stefano, thanks for replying.

    I tried the two posibilities that you exposed. The problem still here without posts and without styles. I’m trying to remove some code to find the problem, but, the problem still there…

    I have a test server on localhost, and in localhost don’t work too…

    Any idea?..

    Thanks again 🙂


    Can you send my by email the theme?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.