Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Flexform › Manual link for Portfolio title
New Landing › How can we help? › Themeforest Theme Support › Flexform › Manual link for Portfolio title
Tagged: allows, clicks, disable, item, lead, link, manual, page, point, portfolio, specific, specifyany, thumbnail, title, url, user
-
Posted in: Flexform
-
May 21, 2013 at 12:24 am #5559
The portfolio page- allows me to have the thumbnail point to specific link – however when the user clicks on the title – it lead into the portfolio page of that item. I want to disable that, and have it lead to a url that i can specify.
Any help?
May 21, 2013 at 3:05 pm #5644Hi,
The theme currently has no option for this, so instead of telling you to go and edit theme files (edits that would get lost on update), I’m assigning this to Ed – maybe it can make it into the next update ๐
Regards,
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโCosmin
Support AssistantMay 21, 2013 at 3:27 pm #5656Thanks – i think that would be a great update for the next version.
I know with the next update – it might get lost, but can you just tell me how to do it anyways? Or is there away to just disable that link?
May 21, 2013 at 3:36 pm #5661There’s no easy way to do it, you would need to edit a lot of code in this file:
flexform\includes\page-builder\composer\lib\shortcodes\portfolio.php
This line (227) defines the link:
$link_config = 'href="'.$permalink.'" class="link-to-post"';
For now, you could only have it not link anywhere, like this:
$link_config = 'class="link-to-post"';
Regards,
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโCosmin
Support AssistantMay 21, 2013 at 4:55 pm #5672Cosmin,
i made that change – but the link still works…
May 21, 2013 at 7:58 pm #5687Hi there,
What asset is this that you’re using? Checked here, and both image/title follow the same configuration..
– Ed
May 21, 2013 at 10:00 pm #5697I am using the portfolio carousel – i have 4 “post” which i want to redirect them to a PDF file off my site.
The thumbnail works fine – but when someone clicks on the title – it goes to the actual post. i want to redirect them to the URL.
I changed the files as Cosmin said – but they still go to the post.
May 21, 2013 at 10:07 pm #5698I actually replaced both portfolio and portfolio-carousel with the code above – and still no luck.
May 21, 2013 at 11:33 pm #5703What version of the theme are you using?
– Ed
May 21, 2013 at 11:34 pm #5704Latest one – i found a work around by including the following code
<script>
jQuery("#carousel-1 .portfolio-item-title a").attr("href","javascript:void(0)")
</script>but i think it would be a great feature for future update.
May 21, 2013 at 11:35 pm #5705Ahh ok. In the portfolio-carousel.php file replace line 165 with:
$items .= '<h4 class="portfolio-item-title"><a '.$link_config.'"><span>'. $item_title .'</span><i class="icon-angle-right"></i></a></h4>';
May 21, 2013 at 11:39 pm #5708Perfect! – that works!
again – i think it would be a great new feature.
thank you
-
Posted in: Flexform
You must be logged in and have valid license to reply to this topic.