diff --git a/admin/includes/class.settings.php b/admin/includes/class.settings.php
index 8fd22b7..aa6053f 100644
--- a/admin/includes/class.settings.php
+++ b/admin/includes/class.settings.php
@@ -302,7 +302,16 @@ function get_settings_fields() {
'type' => 'text',
'default' => '',
'sanitize_callback' => 'idea_factory_sanitize_int'
+ ),
+ array(
+ 'name' => 'if_positive_only',
+ 'label' => __( 'Positive Votes Only', 'idea-factory' ),
+ 'desc' => __( 'Check this box to only allow positive votes.', 'idea-factory' ),
+ 'type' => 'checkbox',
+ 'default' => '',
+ 'sanitize_callback' => 'idea_factory_sanitize_checkbox'
)
+
),
'if_settings_advanced' => array(
array(
@@ -378,9 +387,3 @@ function idea_factory_sanitize_int( $input ) {
endif;
$settings = new if_settings_api_wrap();
-
-
-
-
-
-
diff --git a/public/includes/helpers.php b/public/includes/helpers.php
index 11a1f20..b11fae0 100644
--- a/public/includes/helpers.php
+++ b/public/includes/helpers.php
@@ -56,7 +56,7 @@ function idea_factory_get_votes( $postid = 0 ) {
/**
*
-* Grab an optoin from our settings
+* Grab an option from our settings
*
* @param $option string name of the option
* @param $section string name of the section
@@ -448,9 +448,14 @@ function idea_factory_vote_controls( $postid = '' ) {
$postid = get_the_ID();
?>
-
-
- " data-post-id="" href="#">
+
+
+