• Hello. I’m using the PHPlist plugin (email signup form)and have got it working in my right sidebar, which involved adding the code to my sidebar.php:

    <?php
    $content = apply_filters(‘the_content’, ‘<!–phplist form–>’);
    echo $content;?>

    What’s odd is that it seems to be interacting with another plugin i have–Share This–that adds share links to posts and pages. I don’t want these share buttons appearing below the phplist email signup, but i can’t seem to figure out the coding that’s causing this to occur. Anyone have any clues on this?

    My website is:
    http://www.archetypalimages.com

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Could you maybe show the full coding of the side bar? The code here (to me) seems to be right, but I don’t know the other plugins.

    Thread Starter ericwilmoth

    (@ericwilmoth)

    Thanks for the response. Here’s the code:

    <div id=”sidebar”>

      <h2>Get the A.I. Newsletter!</h2>
      <?php
      $content = apply_filters(‘the_content’, ‘<!–phplist form–>’);
      echo $content;?>

      <?php /* Widgetized sidebar, if you have the plugin installed. */
      if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(right) ) : ?>
      <li id=”search”>
      <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>

      <!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.

    • <h2>Author</h2>
      <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
    • –>

      <?php if ( is_404() || is_category() || is_day() || is_month() ||
      is_year() || is_search() || is_paged() ) {
      ?>

    • <?php /* If this is a 404 page */ if (is_404()) { ?>
      <?php /* If this is a category archive */ } elseif (is_category()) { ?>
      <p>You are currently browsing the archives for the <?php single_cat_title(”); ?> category.</p>

      <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
      <p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> blog archives
      for the day <?php the_time(‘l, F jS, Y’); ?>.</p>

      <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
      <p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> blog archives
      for <?php the_time(‘F, Y’); ?>.</p>

      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
      <p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> blog archives
      for the year <?php the_time(‘Y’); ?>.</p>

      <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
      <p>You have searched the /”><?php echo bloginfo(‘name’); ?> blog archives
      for ‘<?php the_search_query(); ?>’. If you are unable to find anything in these search results, you can try one of these links.</p>

      <?php /* If this is a monthly archive */ } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?>
      <p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> blog archives.</p>

      <?php } ?>

    • <?php }?>

      <?php wp_list_pages(‘title_li=<h2>Pages</h2>’ ); ?>

    • <h2>Archives</h2>
      <?php wp_get_archives(‘type=monthly’); ?>

    <?php wp_list_categories(‘show_count=1&title_li=<h2>Categories</h2>’); ?>

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php wp_list_bookmarks(); ?>

    • <h2>Meta</h2>

    <?php } ?>

    <?php endif; ?>

    </div>
    <!– end #sidebar –>

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

The topic ‘PHPlist plugin sidebar coding confusion’ is closed to new replies.