Tagged: custom fields, portfolio grid
-
AuthorPosts
-
March 20, 2017 at 5:47 pm #763709
I have a custom post type which contains a Title, Featured Image and Link to a PDF. I have managed to make the portfolio grid show a page of the featured images from the custom post type, however I would like the images in the grid when clicked on to go directly to the pdf, or preferably, load the pdf in the AJAX Portfolio.
Could you provide any guidance on how to do this?
March 20, 2017 at 10:15 pm #763831Hey anthonycamilleri!
You will have to modify the grid, and change get_permalink() with the link of your PDF.
I guess thta if you load the pdf from a custom post type, you can load the link there.Let us know if you start doing it and we can help further.
Regards,
BasilisMarch 20, 2017 at 10:33 pm #763843Hi, I figured that much. My simple question is which file do I need to modify to work with the grid?
Sincerely,
AnthonyMarch 22, 2017 at 12:07 am #764446Hi,
This is the file you will need to edit to make changes to Portfolio Grid: enfold\config-templatebuilder\avia-shortcodes\portfolio.php
Hope this helps.Best regards,
NikkoOctober 16, 2017 at 11:56 am #864765Hello there,
AJAX-Portfolio works great! It shows information of the product and images.
Now, what i would like to do, is to add the custom portfolio link underneath the description of the product, is this possible?
Do i also need to edit the portfolio.php file or is there a token for this?October 18, 2017 at 3:49 pm #865764Hi mjpschouten,
The custom portfolio link is added in the portfolio item itself.
Best regards,
VictoriaOctober 18, 2017 at 3:51 pm #865765Hi Victoria,
I know this, but i want to add this as a extra button in the ajax portfolio grid!
So how can i achieve this?- This reply was modified 7 years, 1 month ago by mjpschouten.
October 19, 2017 at 9:05 pm #866448Hi mjpschouten,
Could you please attach a mockup of what you’re trying to achieve? Can you show us what you’ve got so far?
Best regards,
VictoriaOctober 23, 2017 at 11:41 am #867572Yes ofcourse, in the private content you will see the link to the overview of the portfolio grid.
Here you will see the portfolio items, then a title and description.What my client wants:
1. To add the Read more button below the description, instead of hovering over the image.
2. And load the information in the popup in an overlay, rather then push the portfolio items to under (but maybe i can fix that with css).
3. To add a “Buy now”-button, with the custom link from portfolio item. (Extra settings within the portolio item “Define custom link”)Is this a bit clear?
October 23, 2017 at 3:45 pm #867650Hi mjpschouten,
Unfortunately it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
VictoriaNovember 2, 2017 at 12:53 pm #871625Ok Victoria,
Thank you for your reply, another question then.
In the preview text (summary of portfolio item) i have added a link to external website. But when i click on this link it will open the AJAX preview in the portfolio grid.
How can i let this link behave like a normal link?November 4, 2017 at 10:30 pm #872618Hi,
Please see this post: https://kriesi.at/support/topic/external-link-in-ajax-preview-portfolio-item/#post-590769Best regards,
MikeNovember 6, 2017 at 11:11 am #872961Thank you!
November 7, 2017 at 3:30 am #873491Hi,
Glad that Mike helped you. :) Let us know if you need more assistance or if we can close this thread.
Best regards,
NikkoNovember 8, 2017 at 10:48 am #874098You can close this now:)
November 9, 2017 at 7:06 am #874467 -
AuthorPosts
- The topic ‘Custom Link with Portfolio Grid’ is closed to new replies.