Reply To: Masonry Layout with custom taxonomy templates.

Home Forums Pro Version Masonry Layout with custom taxonomy templates. Reply To: Masonry Layout with custom taxonomy templates.

#14963
Masonry Guy
Keymaster

Hi Sandra,

If you can set the portfolio image as featured it will be visible in the layout. We only display the featured image in our layout.
However, it can be changed to your custom image code. For that we need little customization.

Here is the steps to do that.

1. Please copy the layout to your wordpress theme from Wp Masonry ? Layouts. You can click Copy To WordPress Theme link next to the layout you are using. Once the layout is copied you will get the new location of the layout. This will make update safe for future.

2. Open layout.php from the new location and replace

<?php if ($layoutSettings['show_featured_image'] == 'yes'): ?>
			<?php if ( has_post_thumbnail() ) :?>
                <div class="wpme_image">
                    <?php echo wmlp_featured_image($shortcodeData); ?>
                </div>
            <?php endif; ?>
        <?php endif; ?>

With your image code.

I still suggest you to use the featured image instead. As it is standard one.

Thanks