Title: Place &#8220;Helpful&#8221; with Shortcode?
Last modified: December 19, 2017

---

# Place “Helpful” with Shortcode?

 *  Resolved [mending](https://wordpress.org/support/users/mending/)
 * (@mending)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/place-helpful-with-shortcode/)
 * Hi,
 * Is it not possible to place “Helpful” anywhere we want by using a shortcode?

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

 *  Plugin Author [Pixelbart](https://wordpress.org/support/users/pixelbart/)
 * (@pixelbart)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/place-helpful-with-shortcode/#post-9858013)
 * Hello! Currently not. I wanted to keep the plugin as simple as possible. But 
   maybe this is a feature for an update.
 *  Plugin Author [Pixelbart](https://wordpress.org/support/users/pixelbart/)
 * (@pixelbart)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/place-helpful-with-shortcode/#post-9864109)
 * Hey [@mending](https://wordpress.org/support/users/mending/),
 * i’ve added a shortcode, in the last version. Just use [helpful]. You can hide
   helpful in your posts, by check the option in the general section. (also added)
 * Greetings
 *  Thread Starter [mending](https://wordpress.org/support/users/mending/)
 * (@mending)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/place-helpful-with-shortcode/#post-9899244)
 * Hi,
 * Thanks! But is it only possible adding the [helpful] shortcode to a WP page or
   post? Can’t it be added to a PHP file i.e. like this:
 *     ```
       <!-- #page-header -->
       <header id="page-header" class="clearfix">
       <h1 class="page-title"><?=$wp_query->found_posts;?> <?php printf( __( 'Search results for: %s', 'framework' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
       <p><?php _e( "This is what we found...", "framework" ); ?></p>
       </header>
   
       [helpful]
       <!-- /#page-header -->
       ```
   
 * ?
 *  Plugin Author [Pixelbart](https://wordpress.org/support/users/pixelbart/)
 * (@pixelbart)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/place-helpful-with-shortcode/#post-9901245)
 * Hi,
 * so Helpful musst be placed inside the wordpress loop. But if you want place a
   shortcode via PHP you can use do_shortcode(‘[helpful’]).
 * More information you can find here: [do_shortcode();](https://developer.wordpress.org/reference/functions/do_shortcode/)
 * Greetings
 *  Plugin Author [Pixelbart](https://wordpress.org/support/users/pixelbart/)
 * (@pixelbart)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/place-helpful-with-shortcode/#post-9901319)
 * Helpful only works inside post-types e.g.: posts, cpts, pages, products… not 
   in search.php, or something else.
 * You can please helpful after `$post->the_post;` and before `endwhile;` inside
   from posts.

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

The topic ‘Place “Helpful” with Shortcode?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/helpful.svg)
 * [Helpful](https://wordpress.org/plugins/helpful/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/helpful/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/helpful/)
 * [Active Topics](https://wordpress.org/support/plugin/helpful/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/helpful/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/helpful/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Pixelbart](https://wordpress.org/support/users/pixelbart/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/place-helpful-with-shortcode/#post-9901319)
 * Status: resolved