title: How to get Wordpress frontent widget get/post example working on the front end and back end?
body: <p>I was unable to get my wordpress widget to post forms correctly.  I took the advice on this website and researched the issue (see relevant links at the bottom of the post) to see what the problem was.  The first issue was that I could not use "name" for a field.  I needed to make sure that the posted name was unique.  If not, Wordpress would bring me to a "Site Not Found" which was really cryptic.  </p>
  
  <p>The key to figuring this out was to start with this example:</p>
  
  <p><a href="https://www.w3schools.com/php/php_forms.asp" rel="nofollow noreferrer">https://www.w3schools.com/php/php_forms.asp</a> </p>
  
  <p>I literally copied and pasted that example into the widget function, of course taking out the html head and tail business.  It did not work because it was posting to "name" which already existed.  Also, the file reference for Wordpress did not start in the plugin directory, but rather the wordpress directory; so it ended up looking in the wrong place for the action.php file that is run after the submit is made.  Look carefully at the URL address bar when the post is made to see if the action is actually getting to the right place.  Finally, I adjusted the address, and everything worked like in the example;  however, it left the main Wordpress page.  So I was stuck.</p>
  
  <p>I put back "" as the action page.  I tried the GET method; that did not work for me (and I am still not sure why, but I should adjust it and check it out because GET is preferable for this application; it allows bookmarks);  it ended up (thank G-d) that the "post" method worked.  (Just now, I changed all occurrences of "post" to "get" and all instances of "POST" to "GET" and it is working as expected.  I was having a problem with GET where the URL was being formed correctly and then I could not access it.  That problem was I was nesting PHP.  I removed all the nested PHP.  Along the route, I updated the initial slider value which was not set correctly.</p>
  
  <p>And finally it works!</p>
  
  <p>Starting Code:</p>
  
  <pre><code>    public function widget( $args, $instance ) {
      /* include "thiswidget.php"; */ /*disable for now*/
        /* Include the widget($args, $instance) function body */
        /* include "businesspartnerships.php"; */ /*Original works fine with id update */
      static $recommended_ex_no = 3;
          static $example_run = 4;
         $example_max = 4;
         $example_min = 0;
         $this_widg_id = $this-&gt;id;  /* Get the widget ID to be the unique ID Key */
  
         $default_slider_value = 3;  /*Default slider value if nothing new has been posted */
         if ($example_run &gt; 0) { /*Provide a slider to select examples */
      /*See http://foundation.zurb.com/sites/docs/v/5.5.3/components/range_slider.html */
      /*See http://www.html5tutorial.info/html5-range.php */
      /*See https://www.w3schools.com/php/php_forms.asp */
  
          ?&gt;&lt;p&gt; Recommended View Example Number: &lt;?php echo $recommended_ex_no ?&gt;&lt;/p&gt;
          &lt;!-- See: http://stackoverflow.com/questions/11788005/how-to-get-fetch-html5-range-sliders-value-in-php --&gt;
          &lt;form action="" method="post"&gt;
          &lt;input type="range" min="&lt;?php echo $example_min;?&gt;" max="&lt;?php echo $example_max;?&gt;" step="1" value="&lt;?php echo $set_slider_value ?&gt;" id="&lt;?php echo $this_widg_id; ?&gt;" name="&lt;?php echo $this_widg_id; ?&gt;" onchange='document.getElementById("text_&lt;?php echo $this_widg_id; ?&gt;").value = "Slider Value = " + document.getElementById("&lt;?php echo $this_widg_id; ?&gt;").value;'/&gt;
      &lt;br&gt;&lt;center&gt;&lt;input type="text" style="text-align: center" name="text_&lt;?php echo $this_widg_id; ?&gt;" id="text_&lt;?php echo $this_widg_id; ?&gt;" value="Slider Value = &lt;?php echo $set_slider_value ?&gt;" disabled /&gt;&lt;/center&gt;
      &lt;br /&gt;
      &lt;center&gt;&lt;input style="text-align: center" type="submit" value="Submit" /&gt;&lt;/center&gt;
      &lt;/form&gt; 
  
      &lt;?php
      $this_widg_id = esc_attr( $this-&gt;id) ;  /* Get the widget ID to be the unique ID Key */
  
      echo "The key is : "; echo esc_attr( $this-&gt;id); echo "&lt;br&gt;&lt;br&gt;";
      if(isset($_POST[esc_attr( $this-&gt;id)])){
          echo '&lt;br&gt; isset below get &lt;br&gt;';
          echo "&lt;center&gt;The example selected is: ".$_POST[esc_attr( $this-&gt;id)]." &lt;/center&gt;";
          // Your Slider value is here, do what you want with it. Mail/Print anything..
              $example_run = $_POST[esc_attr( $this-&gt;id)];
              $set_slider_value = $_POST[esc_attr( $this-&gt;id)];  /*If the value has been posted, then show it.*/
      } else {
              /* $set_slider_value = $default_slider_value; */ /* Slider value is initially set to default. */ 
      }
      }
  
      /* Try https://www.w3schools.com/php/php_forms.asp example here, since form update was not working before */
      ?&gt;
      &lt;!-- &lt;form action="wp-content/plugins/carousel_edit_url_for_newspro/welcome_get.php" method="post"&gt; --&gt;
  
      &lt;form action="" method="post"&gt;
  
      Name: &lt;input type="text" name="thisexname"&gt;&lt;br&gt;
      &lt;!-- E-mail: &lt;input type="text" name="email"&gt;&lt;br&gt; --&gt;
      &lt;input type="submit"&gt;
      &lt;/form&gt;
  
      &lt;?php 
      if (isset($_POST[esc_attr("thisexname")])){
          echo 'Welcome '; echo $_POST["thisexname"]; echo "&lt;br&gt;";
          }
      ?&gt;
  
      &lt;?php
      /*Setup example runs;  an example run of 0 does not run! */
  
        if ($example_run &gt; 0) {
          echo '&lt;p&gt;Example content being viewed currently is now example number '.$example_run.':';
          }
  </code></pre>
  
  <p>...</p>
  
  <p>Intermediate code (full Widget Function):</p>
  
  <pre><code>    public function widget( $args, $instance ) {
      /* include "thiswidget.php"; */ /*disable for now*/
        /* Include the widget($args, $instance) function body */
        /* include "businesspartnerships.php"; */ /*Original works fine with id update */
      static $recommended_ex_no = 3;
          static $example_run = 4;
         $example_max = 4;
         $example_min = 0;
         $this_widg_id = $this-&gt;id;  /* Get the widget ID to be the unique ID Key */
  
         $default_slider_value = 3;  /*Default slider value if nothing new has been posted */
         if ($example_run &gt; 0) { /*Provide a slider to select examples */
      /*See http://foundation.zurb.com/sites/docs/v/5.5.3/components/range_slider.html */
      /*See http://www.html5tutorial.info/html5-range.php */
      /*See https://www.w3schools.com/php/php_forms.asp */
  
          ?&gt;&lt;p&gt; Recommended View Example Number: &lt;?php echo $recommended_ex_no ?&gt;&lt;/p&gt;
          &lt;!-- See: http://stackoverflow.com/questions/11788005/how-to-get-fetch-html5-range-sliders-value-in-php --&gt;
          &lt;form action="" method="get"&gt;
          &lt;input type="range" min="&lt;?php echo $example_min;?&gt;" max="&lt;?php echo $example_max;?&gt;" step="1" value="&lt;?php echo $set_slider_value ?&gt;" id="&lt;?php echo $this_widg_id; ?&gt;" name="&lt;?php echo $this_widg_id; ?&gt;" onchange='document.getElementById("text_&lt;?php echo $this_widg_id; ?&gt;").value = "Slider Value = " + document.getElementById("&lt;?php echo $this_widg_id; ?&gt;").value;'/&gt;
      &lt;br&gt;&lt;center&gt;&lt;input type="text" style="text-align: center" name="text_&lt;?php echo $this_widg_id; ?&gt;" id="text_&lt;?php echo $this_widg_id; ?&gt;" value="Slider Value = &lt;?php echo $default_slider_value ?&gt;" disabled /&gt;&lt;/center&gt;
      &lt;br /&gt;
      &lt;center&gt;&lt;input style="text-align: center" type="submit" value="Submit" /&gt;&lt;/center&gt;
      &lt;/form&gt; 
  
      &lt;?php
      $this_widg_id = esc_attr( $this-&gt;id) ;  /* Get the widget ID to be the unique ID Key */
  
      echo "The key is : "; echo esc_attr( $this-&gt;id); echo "&lt;br&gt;&lt;br&gt;";
      if(isset($_GET[esc_attr( $this-&gt;id)])){
          echo '&lt;br&gt; isset below get &lt;br&gt;';
          echo "&lt;center&gt;The example selected is: ".$_GET[esc_attr( $this-&gt;id)]." &lt;/center&gt;";
          // Your Slider value is here, do what you want with it. Mail/Print anything..
              $example_run = $_GET[esc_attr( $this-&gt;id)];
              $set_slider_value = $_GET[esc_attr( $this-&gt;id)];  /*If the value has been posted, then show it.*/
      } else {
              /* $set_slider_value = $default_slider_value; */ /* Slider value is initially set to default. */ 
      }
      }
  
      /* Try https://www.w3schools.com/php/php_forms.asp example here, since form update was not working before */
      ?&gt;
      &lt;!-- &lt;form action="wp-content/plugins/carousel_edit_url_for_newspro/welcome_get.php" method="post"&gt; --&gt;
  
      &lt;form action="" method="get"&gt;
  
      Name: &lt;input type="text" name="thisexname"&gt;&lt;br&gt;
      &lt;!-- E-mail: &lt;input type="text" name="email"&gt;&lt;br&gt; --&gt;
      &lt;input type="submit"&gt;
      &lt;/form&gt;
  
      &lt;?php 
      if (isset($_GET[esc_attr("thisexname")])){
          echo 'Welcome '; echo $_GET["thisexname"]; echo "&lt;br&gt;";
          }
      ?&gt;
  
      &lt;?php
      /*Setup example runs;  an example run of 0 does not run! */
  
        if ($example_run &gt; 0) {
          echo '&lt;p&gt;Example content being viewed currently is now example number '.$example_run.':';
          }
        if ($example_run == 1) {
          echo '&lt;p&gt;Example Business Partnerships Begins&lt;/p&gt;';
          include "businesspartnerships.php";  /*full copy*/
          echo '&lt;p&gt;Example BP Ends&lt;/p&gt;';
          }
        elseif ($example_run == 2) {
          echo '&lt;p&gt;Example for Business Begins&lt;/b&gt;';
          include "businesscarousel/business_head.php";  /*content before the loop*/
          include "businesscarousel/business_loop.php";  /*the loop*/
          include "businesscarousel/business_tail.php";  /*content after the loop*/
          echo '&lt;p&gt;Example for Business Ends&lt;/b&gt;';
          }
        elseif ($example_run == 3) {
          echo '&lt;p&gt;Example for Books Begins&lt;/b&gt;';
          include "bookscarousel/books.php";
          echo '&lt;p&gt;Example for Books Ends&lt;/b&gt;';
          }
        elseif ($example_run == 4) {
          echo '&lt;p&gt;Example for Looped Books Begins&lt;/b&gt;';
          include "bookscarousel/books_head_vars.php";
          include "bookscarousel/books_head.php";
          include "bookscarousel/books_loop_vars.php";
          include "bookscarousel/books_loop.php";
          include "bookscarousel/books_tail_vars.php";
          include "bookscarousel/books_tail.php";
          echo '&lt;p&gt;Example for Looped Books Ends&lt;/b&gt;';
          }
  }
  </code></pre>
  
  <p>I finally cleaned up the code a little bit, taking out the examples and just running with the essentials (verified that this basically worked):</p>
  
  <pre><code>/**
       * Front-end display of widget.
       *
       * @see WP_Widget::widget()
       *
       * @param array $args     Widget arguments.
       * @param array $instance Saved values from database.
       */
  
      public function widget( $args, $instance ) {
      /* include "thiswidget.php"; */ /*disable for now*/
        /* Include the widget($args, $instance) function body */
        /* include "businesspartnerships.php"; */ /*Original works fine with id update */
         $example_run = 4;  /*Set to 0 to disable all widget output */
         $example_max = 4;
         $example_min = 0;
         $recommended_ex_no = 4;
         $default_slider_value = 4;  /*Default slider value if nothing new has been posted */
  
         $this_widg_id = $this-&gt;id;  /* Get the widget ID to be the unique ID Key */
  
         if ($example_run &gt; 0) { /*Provide a slider to select examples */ 
          ?&gt;&lt;p&gt; The Recommended Example Number To View is Example Number &lt;?php echo $recommended_ex_no ?&gt;.&lt;/p&gt;
          &lt;!-- See: http://stackoverflow.com/questions/11788005/how-to-get-fetch-html5-range-sliders-value-in-php --&gt;
          &lt;form action="" method="get"&gt;
          &lt;input type="range" min="&lt;?php echo $example_min;?&gt;" max="&lt;?php echo $example_max;?&gt;" step="1" value="&lt;?php echo $set_slider_value ?&gt;" id="&lt;?php echo $this_widg_id; ?&gt;" name="&lt;?php echo $this_widg_id; ?&gt;" onchange='document.getElementById("text_&lt;?php echo $this_widg_id; ?&gt;").value = "Slider Value = " + document.getElementById("&lt;?php echo $this_widg_id; ?&gt;").value;'/&gt;
      &lt;br&gt;&lt;center&gt;&lt;input type="text" style="text-align: center" name="text_&lt;?php echo $this_widg_id; ?&gt;" id="text_&lt;?php echo $this_widg_id; ?&gt;" value="Slider Value = &lt;?php echo $default_slider_value ?&gt;" disabled /&gt;&lt;/center&gt;
      &lt;br /&gt;
      &lt;center&gt;&lt;input style="text-align: center" type="submit" value="Submit Slider Value" /&gt;&lt;/center&gt;
      &lt;/form&gt; 
  
      &lt;?php
      $this_widg_id = esc_attr( $this-&gt;id) ;  /* Get the widget ID to be the unique ID Key */
  
      echo '&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;p style="text-align: center"&gt;This example widget instance is entitled, "'; 
      echo esc_attr( $this-&gt;id); echo '".&lt;/p&gt;&lt;/center&gt;';
      if(isset($_GET[esc_attr( $this-&gt;id)])){
          /* echo "&lt;center&gt;The example selected is: ".$_GET[esc_attr( $this-&gt;id)]." &lt;/center&gt;"; */ /*Activate to debug */
          // Your Slider value is here, do what you want with it. Mail/Print anything..
              $example_run = $_GET[esc_attr( $this-&gt;id)];
              $set_slider_value = $_GET[esc_attr( $this-&gt;id)];  /*If the value has been posted, then show it.*/
          } else {
              $set_slider_value = $default_slider_value; /* Slider value is initially set to default. */ 
          }
      } /*End if example is &gt;0 */
      /* If not working, adapt https://www.w3schools.com/php/php_forms.asp example here, since form update was not working before */
      /*Setup example runs;  an example run of 0 does not run! */
  
        if ($example_run &gt; 0) {
          echo '&lt;center&gt;&lt;p style="text-align: center"&gt;The example content being viewed currently is now example number '.$example_run.':&lt;/p&gt;';
          }
        if ($example_run == 1) {
          echo '&lt;p&gt;Example Business Partnerships Begins&lt;/p&gt;';
          include "businesspartnerships.php";  /*full copy*/
          echo '&lt;p&gt;Example BP Ends&lt;/p&gt;';
          }
        elseif ($example_run == 2) {
          echo '&lt;p&gt;Example for Business Begins&lt;/b&gt;';
          include "businesscarousel/business_head.php";  /*content before the loop*/
          include "businesscarousel/business_loop.php";  /*the loop*/
          include "businesscarousel/business_tail.php";  /*content after the loop*/
          echo '&lt;p&gt;Example for Business Ends&lt;/b&gt;';
          }
        elseif ($example_run == 3) {
          echo '&lt;p&gt;Example for Books Begins&lt;/b&gt;';
          include "bookscarousel/books.php";
          echo '&lt;p&gt;Example for Books Ends&lt;/b&gt;';
          }
        elseif ($example_run == 4) {
          echo '&lt;p&gt;Example for Looped Books Begins&lt;/b&gt;';
          include "bookscarousel/books_head_vars.php";
          include "bookscarousel/books_head.php";
          include "bookscarousel/books_loop_vars.php";
          include "bookscarousel/books_loop.php";
          include "bookscarousel/books_tail_vars.php";
          include "bookscarousel/books_tail.php";
          echo '&lt;p&gt;Example for Looped Books Ends&lt;/b&gt;';
          }
  }
  </code></pre>
  
  <p>Also I had to make sure that the double quote " was not being used where the better ' quote unquote ' should be used.</p>
  
  <p>Any advice to do this better?</p>
  
  <p>And the next part of the question:  how is this done on the back-end in the widgets appearance part of the admin screen?</p>
  
  <p>The code I have for the back-end functions is (two-parts):</p>
  
  <pre><code>    public function form( $instance ) {
          /*  
          $title - site title
          $url_config - private key to website or local file for include
        $category_name_textbox - name of the category used for the widget in the textbox
              $category_name - name of the category used for the widget  
        $posts_to_show - number of posts to show
          */
  
          $title = ! empty( $instance['title'] ) ? $instance['title'] : esc_html__( 'New title', 'text_domain' );
          $url_config = ! empty( $instance['url_config'] ) ? $instance['url_config'] : esc_html__( 'Display All', 'text_domain' );        
      $category_name_textbox = ! empty( $instance['category_name_textbox'] ) ? $instance['category_name_textbox'] : esc_html__( 'uncategorized', 'text_domain' );
      $category_name = ! empty( $instance['$category_name'] ) ? $instance['$category_name'] : esc_html__( 'uncategorized', 'text_domain' );
          $posts_to_show = ! empty( $instance['$posts_to_show'] ) ? $instance['posts_to_show'] : esc_html__( '4', 'text_domain' );
          include "form_html.php";
      }       
  </code></pre>
  
  <p>The include "form_html.php" is included near the end of "public function form( $instance ) " to make the code more readable and also to highlight the issue.  Its contents are here:</p>
  
  <pre><code>        &lt;p&gt;
          &lt;label for="&lt;?php echo esc_attr( $this-&gt;get_field_id( 'title' ) ); ?&gt;"&gt;&lt;?php esc_attr_e( 'Title:', 'text_domain' ); ?&gt;&lt;/label&gt;
          &lt;input class="widefat" id="&lt;?php echo esc_attr( $this-&gt;get_field_id( 'title' ) ); ?&gt;" name="&lt;?php echo esc_attr( $this-&gt;get_field_name( 'title' ) ); ?&gt;" type="text" value="&lt;?php echo esc_attr( $title ); ?&gt;"&gt;
  
          &lt;/p&gt;&lt;label for="&lt;?php echo esc_attr( $this-&gt;get_field_id('url_config' ) ); ?&gt;"&gt;&lt;?php esc_attr_e( 'URL Config:', 'text_domain' ); ?&gt;&lt;/label&gt;
          &lt;input class="widefat" id="&lt;?php echo esc_attr( $this-&gt;get_field_id( 'url_config' ) ); ?&gt;" name="&lt;?php echo esc_attr( $this-&gt;get_field_name( 'url_config' ) ); ?&gt;" type="text" value="&lt;?php echo esc_attr( $url_config ); ?&gt;"&gt;
          &lt;/p&gt;
  
          &lt;/p&gt;&lt;label for="&lt;?php echo esc_attr( $this-&gt;get_field_id('category_name_textbox' ) ); ?&gt;"&gt;&lt;?php esc_attr_e( 'Category Name:', 'text_domain' ); ?&gt;&lt;/label&gt;
          &lt;input class="widefat" id="&lt;?php echo esc_attr( $this-&gt;get_field_id( 'category_name_textbox' ) ); ?&gt;" name="&lt;?php echo esc_attr( $this-&gt;get_field_name( 'category_name_textbox' ) ); ?&gt;" type="text" value="&lt;?php echo esc_attr( $category_name_textbox ); ?&gt;"&gt;
          &lt;/p&gt;
  
          &lt;p&gt;
              &lt;label&gt;&lt;?php _e( 'Category', 'newsmag-pro' ); ?&gt; :&lt;/label&gt;
              &lt;select name="&lt;?php echo esc_attr( $this-&gt;get_field_name( 'newsmag_category' ) ); ?&gt;"
                      id="&lt;?php echo esc_attr( $this-&gt;get_field_id( 'newsmag_category' ) ); ?&gt;"&gt;
                  &lt;option value="" &lt;?php if ( empty( $instance['newsmag_category'] ) ) {
                      echo 'selected="selected"';
                  } ?&gt;&gt;&lt;?php _e( '&amp;ndash; Select a category &amp;ndash;', 'newsmag-pro' ) ?&gt;&lt;/option&gt;
                  &lt;?php
                  $categories = get_categories( 'hide_empty=0' );
                  foreach ( $categories as $category ) { ?&gt;
                      &lt;option
                          value="&lt;?php echo esc_attr( $category-&gt;slug ); ?&gt;" &lt;?php selected( esc_attr( $category-&gt;slug ), $instance['newsmag_category'] ); ?&gt;&gt;&lt;?php echo esc_attr( $category-&gt;cat_name ); ?&gt;&lt;/option&gt;
                  &lt;?php } ?&gt;
              &lt;/select&gt;
          &lt;/p&gt;
  &lt;p&gt;Selected Category: &lt;? echo $instance['newsmag_category'] ?&gt;&lt;/p&gt;
  
  
          &lt;label class="block" for="input_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ); ?&gt;"&gt;
              &lt;span class="customize-control-title"&gt;
                 &lt;?php _e( 'Posts to Show', 'newsmag-pro' ); ?&gt; :
              &lt;/span&gt;
          &lt;/label&gt;
  
          &lt;input type="text" name="&lt;?php echo esc_attr( $this-&gt;get_field_name( 'show_post' ) ); ?&gt;" class="rl-slider"
                 id="input_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ); ?&gt;"
                 value="&lt;?php echo esc_attr( $instance['show_post'] ); ?&gt;" /&gt;
  
          &lt;div id="slider_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ) ?&gt;" data-attr-min="4"
               data-attr-max="12" data-attr-step="1" class="ss-slider"&gt;&lt;/div&gt;
  
  
          &lt;script&gt;
              jQuery(document).ready(function ($) {
                  $('[id="slider_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ); ?&gt;"]').slider({
                      value: &lt;?php echo esc_attr( $instance['show_post'] ); ?&gt;,
                      range: 'min',
                      min  : 4,
                      max  : 12,
                      step : 1,
                      slide: function (event, ui) {
                          $('[id="input_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ); ?&gt;"]').val(ui.value).keyup();
                      }
                  });
                  $('[id="input_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ) ?&gt;"]').on('focus', function(){
                      $('[id="input_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ) ?&gt;"]').trigger('blur');
                  });
                  $('[id="input_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ) ?&gt;"]').val($('[id="slider_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ) ?&gt;"]').slider("value"));
                  $('[id="input_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ) ?&gt;"]').change(function () {
                      $('[id="slider_&lt;?php echo esc_attr( $this-&gt;get_field_id( 'show_post' ) ) ?&gt;"]').slider({
                          value: $(this).val()
                      });
                  });
              });
          &lt;/script&gt;
  &lt;?php
  </code></pre>
  
  <p>So what is going wrong on the back-end?  I can select the drop-down and it does not update anything.  And I can adjust the slider bar, but then I cannot reference its value later to save its value.  Any ideas how to solve the back-end website management aspect of this problem?</p>
  
  <p>Because I am just registering, the references are limited to two.  So you can find the more complete reference list at:</p>
  
  <p><a href="http://newyorkbusinessreview.com/wordpress/technology/stephen-elliott/technical-programming-questions/" rel="nofollow noreferrer">http://newyorkbusinessreview.com/wordpress/technology/stephen-elliott/technical-programming-questions/</a> </p>
  
  <p>By the way, if you go to the main website:</p>
  
  <pre><code>http://www.newyorkbusinessreview.com/
  </code></pre>
  
  <p>The main site currently redirects while still under construction to:</p>
  
  <pre><code>http://www.newyorkbusinessreview.com/wordpress/
  </code></pre>
  
  <p>I may have the plugin front-end disabled to not bring down the site while I am still working on the issues.  </p>