Topic: Open post in new window? | WP Masonry Layout

Open post in new window?

Home Forums Pro Version Open post in new window?

This topic contains 2 replies, has 3 voices, and was last updated by  Don West 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3887 Reply

    Don West
    Participant

    Hi,
    I purchased PRO and it works well.
    Two Questions:
    -I need the image links to open in a new window so the user does not lose their place in the masonry view. I can do the edit, just need you to point me to where 🙂

    -How can I have the WordPress blog use the Masonry short code rather than putting the short code in a page and using the static page? Once again, I can do the edit. Just tell me where 🙂

    Thanks!
    Nice Work 🙂

    #3896 Reply

    Masonry Guy
    Keymaster

    Hi,

    Regarding the image to open in new link, you need to modify our theme. For modification, we have a Copy to WordPress Theme option in each layout. So you can copy it to your wordpress theme folder and make it safe from future update.

    Please go to layout, from the list of layout, click on Copy to WordPress Theme link next to the layout you are using. After that you will get the new path of the layout. Please go the that folder and open layout.php. Just above the_post_thumbnail function you can give target=”_blank” to the a tag there. This should fix your image issue.

    Regarding blog layout, only option is to use via shortcode. However you can place it in your theme files like this way. < ?php echo do_shortcode('[MASONRY SHORTCODE HERE]') ?>

    Hope this helps.

    Thanks

    #3899 Reply

    Don West

    Excellent!
    Thanks much 🙂 That will do the trick!

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Open post in new window?
Your information: