Topic: How to implement in php? | WP Masonry Layout

How to implement in php?

Home Forums Pro Version How to implement in php?

Tagged: 

This topic contains 4 replies, has 2 voices, and was last updated by  Masonry Guy 1 year, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5577 Reply

    For example, WP related posts was called with <?php wp_related_posts(); ?>

    How can I similarly call Masonry?

    #5590 Reply

    Masonry Guy
    Keymaster

    Hi,

    You can use it in PHP like this way. < ?php echo do_shortcode('SHORTCODE HERE'); ?>

    Thanks

    #5596 Reply

    Thank you, but when I implement this it overlaps my Disqus.

    I have them in separate divs, and the Disqus one is above the Masonry one. How can I cause Masonry to load BELOW Disqus?

    These images show the bottom of the page during load. Disqus loads, then Masonry loads overtop.

    Masonry

    #5597 Reply

    Nevermind that.

    For those who have this problem, a solution is to draw a line between your objets.

    #5602 Reply

    Masonry Guy
    Keymaster

    Hi,

    Thank you so much for sharing your problem here. If you don’t want to create line you can use this as well. <br style="clear:both" /> after shortcode placement.

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: How to implement in php?
Your information: