Title: Use it only by shortcode ?!
Last modified: April 28, 2019

---

# Use it only by shortcode ?!

 *  [NicolausX](https://wordpress.org/support/users/nicolausx/)
 * (@nicolausx)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/use-it-only-by-shortcode/)
 * Hello, first thank you for creating this plugin !, it’s a great tool.
 * Can you please help me with this, i only like to use this by shortcode, i don’t
   like the user to find the added recipes by general search or to find or see the
   blossom recipe maker generated page : [http://www.site.com/recipes/](http://www.site.com/recipes/).
 * I only wish the user to see a recipe in the wp posts i use the blossom recipe
   maker shortcode,
 * at least to be able to have custom css file for shortcode and custom css file
   for full recipe post…, i modified the css to match my theme the shortcode itself
   looks perfect but the full recipe generate post looks out of place.
 * All the best.
    -  This topic was modified 7 years, 1 month ago by [NicolausX](https://wordpress.org/support/users/nicolausx/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fuse-it-only-by-shortcode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [NicolausX](https://wordpress.org/support/users/nicolausx/)
 * (@nicolausx)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/use-it-only-by-shortcode/#post-11475727)
 * I solve it, this is the code :
 *     ```
       		'label'                 => __( 'Blossom Recipe', 'blossom-recipe-maker' ),
       		'description'           => __( 'Blossom Recipe Post Type', 'blossom-recipe-maker' ),
       		'labels'                => $labels,
       		'taxonomies'			=> array('recipe-category', 'recipe-cuisine', 'recipe-cooking-method','recipe-tag'),
       		'supports'              => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' ),
       		'menu_icon'				=> 'dashicons-blossom-receipe',
       		'hierarchical'          => false,
       		'public'                => false,
       		'show_ui'               => true,
       		'show_in_menu'          => true,
       		'show_in_admin_bar'     => true,
       		'show_in_nav_menus'     => true,
       		'can_export'            => true,
       		'has_archive'           => false,		
       		'exclude_from_search'   => true,
       		'publicly_queryable'    => true,
       		'capability_type'       => 'post',
       		'rewrite'               => false,
       ```
   
 * Add this to : class-blossom-recipe-admin.php
 * carefull the aurhor is not answering by any methods so with this plugin you must
   know PHP and be very patient with code.
    -  This reply was modified 7 years, 1 month ago by [NicolausX](https://wordpress.org/support/users/nicolausx/).

Viewing 1 replies (of 1 total)

The topic ‘Use it only by shortcode ?!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/blossom-recipe-maker.svg)
 * [Blossom Recipe Maker](https://wordpress.org/plugins/blossom-recipe-maker/)
 * [Support Threads](https://wordpress.org/support/plugin/blossom-recipe-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/blossom-recipe-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blossom-recipe-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blossom-recipe-maker/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [NicolausX](https://wordpress.org/support/users/nicolausx/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/use-it-only-by-shortcode/#post-11475727)
 * Status: not resolved