Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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 end

    Thanks in advance
    Claus

    • This topic was modified 9 years, 5 months ago by LarryLayouter.
    #478536

    Hey 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!
    Rikard

    #479302

    Hi 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
    Claus

    #480250

    Hi!

    Try creating the link like so.

    <a href = "#" onclick = "jQuery('.post-entry-1111 .grid-image').click();">Portfolio item 11</a>
    

    Cheers!
    Elliott

    #480267

    Dear 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, 4 months ago by LarryLayouter.
    #480582

    Hi,

    Glad we could help and thanks for the kind words :-)

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.