• All of the pages your plugin creates have shortcodes on them. Where can I find a list of all the shortcodes, so we can just use the features we want on existing pages?

    Actually, I just tried one of the shortcodes [SMAR_INSERT] on our existing page for testimonials and the button to leave a review appears, but when clicked, it doesn’t expand.

    Should the shortcodes work on any page we put them?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Scott Hendison

    (@cyber49)

    Actually, this morning I checked again and the shortcode is working on another page. Must have been a cache issue. Anyway, that brings me back to the original question… Where can I find a list of all the shortcodes?

    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.

    Thread Starter Scott Hendison

    (@cyber49)

    thanks for the reply, and it sure would be nice if all of that short cods from the original WP Customer Reviews plugin were restored. I like your output better because it includes schema data, but theirs has more options and functionality. have you got any plans to restore those?

    Plugin Author isabel104

    (@isabel104)

    Well, no because my intention was to add minimalistic Reviews capability to the QBW plugin. Its intended for people who may not even know how to use shortcodes, so its intended to just work automatically. I took from WP Customer Reviews the basic review capability, but without the extra options for having Reviews on products, and the extra shortcode.

    My modifications focus on adding microdata to the home page for businesses, rather than to individual product pages. I only include capability for 1 set of reviews, which are for the business. The extra functionality from WP Customer Reviews has to do with pulling Reviews from different posts or pages, which doesn’t apply to QBW plugin. If what you need is a stand-alone Reviews plugin, WP Customer Reviews is excellent.

    Thread Starter Scott Hendison

    (@cyber49)

    Okay, and thanks for the reply – Yes I agree that WP Reviews is excellent, but unfortunately they have not integrated schema output as you have, and I don’t know if they intend to…

    Thread Starter Scott Hendison

    (@cyber49)

    I’m marking this as “resolved”

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Shortcodes?’ is closed to new replies.