WordPress.org

Ready to get started?Download WordPress

Forums

Trying to add a poll to my sidebar (4 posts)

  1. smalls
    Member
    Posted 7 years ago #

    Kind of new at this, and I'm trying to follow some readme files on the creation of a poll and then adding the php to my side bar. I Added the required php that's stated in the readme, but keep getting errors when adding to my sidebare.: Here is the poll I'm trying to add:

    gothambaseball.twooldsaps.com/poll/poll.php

    Here is my php for the side bar:

    <div id="sidebar">

      <div class="sidebox">
      <div class="boxhead">

    • <h3><?php _e('Author'); ?></h3></div>
      <div class="boxbody">

      • Mark Healey, the author and creator of Gotham Baseball will take you on a NY ride through the past, present, and future of the NY Game!

      </div>

    • </div>
      <!--

    • <h3>Calendar for</h3>
      <?php //get_calendar(2); ?>
    • -->

      <div class="sidebox">
      <div class="boxhead">

    • <h3><?php _e('Columinst Pages'); ?></h3></div>
      <div class="boxbody">

        <?php wp_list_pages('title_li='); ?>

      </div>

    • </div>

      <div class="sidebox">
      <div class="boxhead">

    • <h3><?php _e('Archives'); ?></h3></div>
      <div class="boxbody">

        <?php wp_get_archives('type=monthly'); ?>

      </div>

    • </div>

      <div class="sidebox">
      <div class="boxhead">

    • <h3><?php _e('Links'); ?></h3></div>
      <div class="boxbody">

        <?php get_links('-1', '
      • ', '
      • ', ' ', 0, 'category', 0); ?>

      </div>

    • </div>

      <div class="sidebox">
      <div class="boxhead">

    • <h3><?php _e('Extra Crap'); ?></h3></div>
      <div class="boxbody">

      </div>

    • </div>

      <div class="sidebox">
      <div class="boxhead">

    • <h3><?php _e('NEW SIDE'); ?></h3></div>
      <div class="boxbody">

    </div>

    </div>
    <?php if (function_exists('wp_theme_switcher')) { ?>
    <div class="sidebox">
    <div class="boxhead">

  2. <h3><?php _e('Themes'); ?></h3></div>
    <div class="boxbody">
    <?php wp_theme_switcher(); ?>
    </div>
  3. </div>
    <?php } ?>

    </div>

    Any help would be awesome.

    Thanks smalls

  • red-star
    Member
    Posted 7 years ago #

    I would go for the democraty poll. You can find it in the pugin database! works perfect.

  • kensav
    Member
    Posted 7 years ago #

    GamerZ has an awesome poll plugin you can use.

    http://www.lesterchan.net

  • smalls
    Member
    Posted 7 years ago #

    I appreciate the other polls, but I already have one I like and am trying to add it into my sidebar and would like some help on how to get it into my side bar.

    The poll is located here at:

    http://gothambaseball.twooldsaps.com/poll/poll.php

    THe php code I need to add.. I think is this:

    <?php include("AJpoll_path/poll.php"); ?>

    But not sure if this is the right content or when it would go. Thanks for the help in advance

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags