Home › Forums › Arnold WordPress Theme › Picture Grid with External Links
- This topic has 18 replies, 2 voices, and was last updated 1 week, 1 day ago by
kickassidy.
- AuthorPosts
- November 9, 2020 at 6:10 pm #22965
I’m wanting to make a page with a grid of 50-100 images that link to other websites. It will be product images that link to where someone can purchase (all different websites). The closest example I can find is like this: https://cupofjo.com/editors-picks/
Each image will need a text rollover or text underneath. Each image does not have a page within my WordPress nor is it a portfolio item, it is just an image that links to another website.
What is the best way to accomplish this within the way this theme is made?
Thank you so much for your help and recommendations!
November 10, 2020 at 3:43 am #22966Hi,
1, create the image items(Gallery post): Posts>Add New, set as Gallery format, set a category, set a featured image(shown in the grid list). You don’t need to add content and other options to the posts.
2, install https://wordpress.org/plugins/redirection/ redirect the gallery post URL to the product URL
3, list the images on a page, Page > add new, set a portfolio template, select the category of Gallery posts. refer to : https://doc.seatheme.net/static/arnold/#pages
video tutorial: https://www.youtube.com/watch?v=TBUbgr0m1Vs&feature=emb_titleRegards!
SeaTheme – SeaTheme.net – Twitter – Facebook
November 10, 2020 at 5:45 pm #22973November 11, 2020 at 1:22 am #22974Welcome! π
November 25, 2020 at 5:50 pm #23115Your instructions are working fantastic!
The only other thing I’m hung up on is: How do I make the clicked-on gallery images (which are redirected perfectly thanks to your instruction) open in a new tab (target=βblankβ)?
Here’s the page I’m wanting to make the products opened in a new tab.
Thank you!
AmyNovember 26, 2020 at 1:55 am #23118HI,
Please refer to https://seatheme.net/forums/topic/get-links-to-open-up-in-a-new-tab/#post-18740
Regards
January 28, 2021 at 5:25 pm #23726This reply has been marked as private.January 29, 2021 at 3:05 am #23730This reply has been marked as private.January 29, 2021 at 2:24 pm #23734Theme has been updated per your instruction.
User role is now admin.Please take a look b/c the JS is still not making the “Shop” links open in a new window.
Thank you so much for your timely assistance!
AmyJanuary 30, 2021 at 6:12 am #23743Hi,
THanks
It was fixed.
I updated the JS:
jQuery(document).ready(function( $ ){ if($('body').hasClass('page-id-1257')) { $('.grid-item-con').on('click', function() { var url = $(this).find('.grid-item-mask-link').attr('href'); window.open(url, '_blank'); return false; }); } });
added the custom CSS:
.page-id-1257 .grid-item-mask-link{pointer-events:none;} .page-id-1257 .grid-item-con:hover{cursor:pointer}
Regards
February 1, 2021 at 4:39 pm #23753February 9, 2021 at 5:33 pm #23826Hello smart humans!
How can I make images on this page not clickable (I just want them to be large images on the page, not encourage the viewer to click on them)?
My previous login should work, so feel free to log in and take a look π
Thank you!
AmyFebruary 10, 2021 at 2:29 am #23832Hi,
Please add the custom CSS:
[data-lightbox="true"]{pointer-events:none;}
Regards
February 10, 2021 at 2:42 am #23835February 23, 2021 at 3:48 pm #23951Hello, super smart humans.
How may I add text above the gallery on this page?
Thank you for your help π
February 24, 2021 at 2:15 am #23954Hi,
Please activate “Introduction Section”, enter the text to the WP classic editor π
Regards!
February 24, 2021 at 3:55 pm #23958Thank you! It’s working, however the content will only take up 3/4 of the width, and I’d like full width (just like the text under the images here is full width).
Thank you for your help π
February 25, 2021 at 1:08 am #23959Hi, welcome
Please paste the custom CSS code to “Appearance > Customize: Additional CSS”:
.ux-portfolio-template-intro { width: 100%; }
Regards
February 26, 2021 at 3:35 pm #23980 - AuthorPosts
- You must be logged in to reply to this topic.