WordPress Themes, Plugins and HTML Templates › Forums › Farad WordPress Theme › Linkability of Portfolio Featured Images
- This topic has 4 replies, 1 voice, and was last updated 11 years, 2 months ago by Anonymous.
-
AuthorPosts
-
October 8, 2013 at 6:50 pm #416AnonymousGuest
Hello there! Thanks so much for creating this beautiful theme – I’m having such fun creating with it. Here’s what I’m creating.
A quick question for you:
Is it possible to add specific links to the Featured Images of the Portfolio section? Currently, all the images default link to the URL location of the image but I would like to ‘break’ this, so that these images can link to their corresponding Portfolio page.
Can you let me know how I might go about doing this? I’m happy to dig into the framework code in order to achieve this.
Thank you!
Tara @[USER=108]ElasticMind[/USER]
October 9, 2013 at 4:57 pm #1053adminParticipantHi Tara,
Hello there! Thanks so much for creating this beautiful theme – I’m having such fun creating with it.
You have created wonderful website powered by Farad WordPress Theme. Congrats!
Is it possible to add specific links to the Featured Images of the Portfolio section? Currently, all the images default link to the URL location of the image but I would like to ‘break’ this, so that these images can link to their corresponding Portfolio page.
Title will link to the Portfolio or Custom URL and IMAGE will link to prettyPhoto in the current version. There is no built-in option to link the image to the Portfolio or Custom URL.
Can you let me know how I might go about doing this? I’m happy to dig into the framework code in order to achieve this.
I have forward your question to our developers so they will share the code with you soon.
I have also added this option to our development track, so this option will be added in the incoming version of Farad.
Thanks
October 9, 2013 at 7:30 pm #1054AnonymousGuestThank you very much for getting back to me on this topic:>) I look forward to hearing back from the developers, and I really appreciate you sharing the question with them. And it’s awesome to hear it’s now in the development track.
Tara
October 10, 2013 at 6:03 pm #1055adminParticipantHi Tara,
Can you let me know how I might go about doing this? I’m happy to dig into the framework code in order to achieve this.
Let play with the code to link Portfolio images to the Portfolio / Custom links for Farad WordPress theme.
Part 1: Modify Portfolio Widget
File: farad/lib/core.php
Section: Portfolio Widget
Line No: ~3684Locate the code: ~3838 Line
” rel=”prettyPhoto”>[/CODE]
Replace it with the following code:
[CODE]“>[/CODE]
[B]Part 2: Modify Portfolio Layout[/B]
File: farad/layout-portfolio.php
Locate the code: ~103 Line[CODE]” rel=”prettyPhoto”>[/CODE]
Replace it with the following code:
[CODE]“>[/CODE]
Don’t forget to take backup before made changes in the files.
Enjoy![CODE]” rel=”prettyPhoto”>[/CODE]Replace it with the following code:
“>[/CODE]
[B]Part 2: Modify Portfolio Layout[/B]
File: farad/layout-portfolio.php
Locate the code: ~103 Line[CODE]” rel=”prettyPhoto”>[/CODE]
Replace it with the following code:
[CODE]“>[/CODE]
Don’t forget to take backup before made changes in the files.
Enjoy![CODE]“>[/CODE]Part 2: Modify Portfolio Layout
File: farad/layout-portfolio.php
Locate the code: ~103 Line” rel=”prettyPhoto”>[/CODE]
Replace it with the following code:
[CODE]“>[/CODE]
Don’t forget to take backup before made changes in the files.
Enjoy![CODE]” rel=”prettyPhoto”>[/CODE]Replace it with the following code:
“>[/CODE]
Don’t forget to take backup before made changes in the files.
Enjoy![CODE]“>[/CODE]Don’t forget to take backup before made changes in the files.
Enjoy!October 13, 2013 at 1:41 am #1056AnonymousGuestAwesome. Worked like a charm. Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.