• Hello there,

    I want to add a gallery plugin to my homepage. I have been trying by following the instruction of the plugin, adding the shortcode to static page named “home” and then it will take the content from my “post”. However, eventually only the title and the contents shows up.

    What I want to ask are “how to insert the gallery successfully” and “once the plugin works, how can I make photos uploaded be displayed in the gallery?” (Sorry I really have no idea how to make the post or default gallery connect to the plugin)

    This is the one I want to use: https://wordpress.org/plugins/wp-masonry-layout/

    And following is the template I applied to homepage.
    Is there something wrong or missing?
    —————————————————
    <?php
    /*
    Template Name: JSL_wordpress_gallery
    */

    ?>
    <?php get_header(); ?>

    <section id=”about” class=”bg-light-white”>
    <div class=”container”>

    <?php if (have_posts()) : while (have_posts()) : the_post();?>

    <?php the_content(); ?>

    </div>

    <?php
    endwhile;
    endif;
    ?>

    </section>

    <?php get_footer(); ?>

    —————————————————

    Many thanks in advance.

    Sheri

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Gallery plugin shortcode is not working’ is closed to new replies.