Topic: Error after replacing loop code with shortcode in Category | WP Masonry Layout

Error after replacing loop code with shortcode in Category

Home Forums Lite Version Error after replacing loop code with shortcode in Category

This topic contains 1 reply, has 2 voices, and was last updated by  Masonry Guy 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17949 Reply

    Trudy Kuipers

    Hi Masonry guy,

    If i delete:
    <?php
    // Start the Loop.
    while ( have_posts() ) : the_post();

    /*
    * Include the post format-specific template for the content. If you want to
    * use this in a child theme, then include a file called called content-___.php
    * (where ___ is the post format) and that will be used instead.
    */
    get_template_part( ‘content’, get_post_format() );

    endwhile;
    // Previous/next page navigation.
    twentyfourteen_paging_nav();

    else :
    // If no content, include the “No posts found” template.
    get_template_part( ‘content’, ‘none’ );

    endif;
    ?>

    and copy in:
    <?php echo do_shortcode(‘[wmls name="Masonry - default" id="1"]‘); ?>

    the page will no longer load.

    I just published my page and only posted two articles, I don’t thank that should be a problem though?
    For now I have changed it back again.
    What should I do to get the plugin working?

    Thank you
    Trudy

    #17957 Reply

    Masonry Guy
    Keymaster

    Hi Trudy,

    What error msg do you get ? Can you please send that to me ?

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Error after replacing loop code with shortcode in Category
Your information: