• Resolved Michael

    (@bazzarello)


    Hello, how are you?

    I’m using the ListingHive theme (https://wordpress.org/themes/listinghive/). I added the code <?php echo do_shortcode(‘[meta_gallery_slider]’); ?> with and without parameters, but it is not appearing in the frontend. What am I doing wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Michael

    (@bazzarello)

    I did some tests and the images appear only when I add new images. If I add images that are already in the WordPress media it won’t work. What can it be?

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Thanks for reaching here.

    please add “id” parameter in you are using shortcode
    EX:- <?php echo do_shortcode('[meta_gallery_slider id="445"]'); ?>

    Please refer below screenshot.
    http://tinyurl.com/rs4p5jz

    Note:- Please do not copy and paste the shortcode parameter because if cause the quote(“) issue writes manually.

    Please let me know if you have any other queries.

    Thanks,

    Thread Starter Michael

    (@bazzarello)

    Thanks for the feedback!

    I’m actually using the plugin in another way, the steps are as follows:

    1 – Add New Post (CPT / post_type=hp_listing);
    2 – I go to the field “Meta slider and carousel with lightbox – Settings”;
    3 – I add images in the “Gallery Images” button;
    4 – I copy the shortcode that appears in this field ([meta_gallery_slider] OR [meta_gallery_carousel]) and paste it in the code of my theme, but I’ve tried to add it to the content of the post as well to test it.

    From step 1 to step 3 it works well, it’s perfect and exactly as I needed it! However, step 4 does not work. I also tested it on the native WordPress Post and it didn’t work. I tested it on another WordPress installation and it didn’t work either.

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello

    Our plugin creates a simple post type “Meta Gallery”.
    This plugin the most important parameter “id” because you do not add the “id” parameter if you are not displaying any post gallery image.
    This plugin, not any custom post type support.

    Please join our live chat because we will provide a proper solution.

    Thanks

    Thread Starter Michael

    (@bazzarello)

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Doesn’t work on my theme’ is closed to new replies.