Didn't find anything? Ask your questions in the forum.
Documentation Getting Started Shortcodes


You can also output Helpful using shortcodes on your page. This is useful if you only want to show Helpful in certain places. The basic shortcode looks like this:


You can also change individual parameters. Actually, you can change almost anything, but this could break Helpful, here’s an example of how to change the heading:

[helpful heading="My new heading!"]

Default Values


$defaults = [
    'heading' => self::convertTags(get_option('helpful_heading'), $post_id),
    'content' => self::convertTags(get_option('helpful_content'), $post_id),
    'button_pro' => get_option('helpful_pro'),
    'button_contra' => get_option('helpful_contra'),
    'counter' => !get_option('helpful_count_hide'),
    'count_pro' => Helpful_Helper_Stats::getPro($post_id),
    'count_pro_percent' => Helpful_Helper_Stats::getPro($post_id, true),
    'count_contra' => Helpful_Helper_Stats::getContra($post_id),
    'count_contra_percent' => Helpful_Helper_Stats::getContra($post_id, true),
    'credits' => get_option('helpful_credits'),
    'credits_html' => $credits_html,
    'exists' => self::checkUser($user_id, $post_id) ? 1 : 0,
    'exists_text' => self::convertTags(get_option('helpful_exists'), $post_id),

Was this post helpful?