• 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 : https://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 5 years, 10 months ago by NicolausX.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter NicolausX

    (@nicolausx)

    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 5 years, 10 months ago by NicolausX.
Viewing 1 replies (of 1 total)
  • The topic ‘Use it only by shortcode ?!’ is closed to new replies.