- This topic has 1 reply, 2 voices, and was last updated 8 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › Photo Perfect › Replace pop up image with link to blog entry
I would love to be able to replace the functionality of the popup image when you click on a masonry tile with a link to go into the individual post, does anyone know how to do this? My website is http://obrien-photo.com Thank you.
Hello @ben2,
There are two options for layout of theme, Masonry and Post Excerpt.
Go to Appearance > customize > Theme options > Layout Options > Archive Layout.
This should get rid of masonry layout.
You have to write some custom code to remove the two icons.
The best way to make changes like this to a theme is to use a child theme, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:
https://codex.wordpress.org/Child_Themes
Copy the file content-masonry.php and it’s parent folders from parent theme into child theme. Now, you have to delete all the existing codes of line 22 of ‘content-masonry.php’ & paste this one in exactly the same line.
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
And to remove the two circles, delete the codes from line 36 to 39 of ‘content-masonry.php’.
Note: ‘content-masonry.php’ is inside ‘template-parts’ folder.
Regards
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |