Title: problem with shortcode
Last modified: August 8, 2018

---

# problem with shortcode

 *  [Mostafa Shahiri](https://wordpress.org/support/users/mostafadeveloper/)
 * (@mostafadeveloper)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/problem-with-shortcode-16/)
 * Hi
 * I have a serious problem to work with shortcode. I checked my code many times
   but I don’t know why I can’t see the output of my plugin. In main file of my 
   plugin, I use following code to add shortcode to wordpress:
 *     ```
       function image_label_maker_makeshortcode() {
         ob_start();
         image_label_maker_apply();
          html_form_code();
         return ob_get_clean();
       }
       add_shortcode('image_label_maker_form','image_label_maker_makeshortcode');
       ```
   
 * ——————————————–
    html_form_code is the input form for the plugin and image_label_maker_apply
   function checks and processes sending values from the input form. I use Twenty
   Sixteen theme and I think it is an issue that is related to theme, because other
   shortcode such as gallery does not work. If you know what is the problem, please
   guide me.
 * Thanks
    -  This topic was modified 7 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 7 years, 10 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 10 months ago](https://wordpress.org/support/topic/problem-with-shortcode-16/#post-10571241)
 * >> I think it is an issue that is related to theme, because other shortcode such
   as gallery does not work. <<
 * This may be a plugin or theme conflict. Please attempt to disable all plugins,
   and use one of the default (Twenty*) themes. If the problem goes away, enable
   them one by one to identify the source of your troubles.
 * If you can install plugins, install “Health Check”: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
   On the troubleshooting tab, you can click the button to disable all plugins and
   change the theme for you, while you’re still logged in, **without affecting normal
   visitors to your site**.

Viewing 1 replies (of 1 total)

The topic ‘problem with shortcode’ is closed to new replies.

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/problem-with-shortcode-16/#post-10571241)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
