Forum Replies Created

Viewing 1 replies (of 1 total)
  • Plugin Author Delete account

    (@smartestthemes)

    Sorry for the delay. There are only 2 shortcodes in the plugin:

    1. The Reviews:

    [SMAR_INSERT]

    and

    2. The Contact Form:

    [smartest_themes_contact_form]

    However, they were not originally meant to be used freely because they both require some javascript (and CSS) files to work properly. In order to make the plugin lighter, those files are only loaded on the default ‘Reviews’ page and ‘Contact’ page which the plugin creates automatically.

    To get the Reviews shortcode to work properly on any page, you could add this to your functions:

    /**
     * Load script for Smartest Reviews
     */
    function st_load_reviews_script() {
    	wp_enqueue_script('smartest-reviews');
    }
    add_action( 'wp_enqueue_scripts', 'st_load_reviews_script' );

    That should make the Reviews shortcode work on any page or post. Hope this helps.

Viewing 1 replies (of 1 total)