-
AuthorPosts
-
July 24, 2015 at 3:09 pm #478189
Hi support,
I have some text followed by a portfolio grid with several items. Would it be possible to open a portfolio grid item from a link in the text above?
Hope this makes the description understandable:
———————————- website page start
This is the text which is placed above the portfolio grid. When I click on this linked part of the text it should open the item no. 8 of the portfolio grid below.portfolio grid item 1 … portfolio grid item 2 … portfolio grid item 3 …
portfolio grid item 4 … portfolio grid item 5 … portfolio grid item 6 …
portfolio grid item 7 … portfolio grid item 8 … portfolio grid item 9 …
portfolio grid item 10 … portfolio grid item 11 … portfolio grid item 12 …
———————————- website page endThanks in advance
Claus- This topic was modified 9 years, 3 months ago by LarryLayouter.
July 25, 2015 at 5:47 am #478536Hey LarryLayouter!
I’m not sure if that is possible, could you provide us with a link to the site in question so that we can take a closer look please?
Cheers!
RikardJuly 27, 2015 at 9:17 pm #479302Hi Rikard,
thanks for your reply; the site is still local but it is a general question and doesn’t depend on my install.
If the question is not easy enough to understand I have uploaded a screenshot of the enfold demo (link to be found it in “private content” below).In your support area I’ve found a post referring to an already opened portfolio item:
https://kriesi.at/support/topic/portfolio-item-direct-link-ajax/
Maybe the solution is next to this attempt?
Cheers
ClausJuly 29, 2015 at 2:46 pm #480250Hi!
Try creating the link like so.
<a href = "#" onclick = "jQuery('.post-entry-1111 .grid-image').click();">Portfolio item 11</a>
Cheers!
ElliottJuly 29, 2015 at 3:06 pm #480267Dear Elliott,
thats a.b.s.o.l.u.t.e.l.y. great – thank you very much!
For anyone else who needs this:
<a href = "#" onclick = "jQuery('.post-entry-1111 .grid-image').click();">my link text</a>
Replace the portfolio number example 1111 with the number of your portfolio entry. You can find the number in the browser’s URL when editing the entry … something like
http://mydomain.com/wp-admin/post.php?post=3787&action=edit
… maybe the number can be found somewhere else in WP but this is where I found it.
@kriesi.at-support Let me say it again: your support is why I advise anybody to buy Enfold and bought it 4 times so far – beside the fact that it is a wonderful theme!greetz
Claus- This reply was modified 9 years, 3 months ago by LarryLayouter.
July 30, 2015 at 10:23 am #480582 -
AuthorPosts
- You must be logged in to reply to this topic.