New Landing How can we help? Themeforest Theme Support Flexform Manual link for Portfolio title

  • This topic has 11 replies, 3 voices, and was last updated 10 years by ojasray.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Flexform
  • #5559
    ojasray
    Member
    Post count: 11

    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?

    #5644
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    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 Assistant

    #5656
    ojasray
    Member
    Post count: 11

    Thanks – 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?

    #5661
    Cosmin – SUPPORT
    Member
    Post count: 3851

    There’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 Assistant

    #5672
    ojasray
    Member
    Post count: 11

    Cosmin,

    i made that change – but the link still works…

    #5687
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    What asset is this that you’re using? Checked here, and both image/title follow the same configuration..

    – Ed

    #5697
    ojasray
    Member
    Post count: 11

    I 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.

    #5698
    ojasray
    Member
    Post count: 11

    I actually replaced both portfolio and portfolio-carousel with the code above – and still no luck.

    #5703
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    What version of the theme are you using?

    – Ed

    #5704
    ojasray
    Member
    Post count: 11

    Latest 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.

    #5705
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Ahh 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>';
    
    #5708
    ojasray
    Member
    Post count: 11

    Perfect! – that works!

    again – i think it would be a great new feature.

    thank you

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register