New Landing How can we help? Themeforest Theme Support Flexform Add Read More to Portfolio

Viewing 3 posts - 1 through 3 (of 3 total)
  • Posted in: Flexform
  • #10321
    mw
    Member

    Hi,

    I want to show Video thumbs on my portfoliopage as a teaser.
    How can I add a read more link to my post? If I show a “video” (thumb or lightbox) there is no way to view the whole portfolio-article …

    Can I chang it that way:
    a) thumbnail is a picture (no problem)
    b) click on thumb opens the video in lightbox (no problem)
    c) heading should link to item page (dont know how)
    d) a read more linked to item page (dont know how)

    thanks for help!

    #10330
    thosch71
    Member
    Post count: 89

    Hi mw,

    for the read more-link, you can use the custom-excerpt-box.
    Just put an anchor-tag with
    href="?portfolio=your_portfolio_item_here"
    or the whole permalink of the item in the custom-excerpt box of your portfolio item.

    Can be seen in action
    here
    (Scroll down page till you see red icon with ‘JJK produktion’ underneath)
    Actually this link leads to a PDF (which is not present right now ๐Ÿ˜‰ ), but you can insert any URL in the anchor tag.

    Best greetings,

    thosch

    PS: I have no solution for changing the header-link, but maybe the read more is sufficient enough

    #10406
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    For the heading to link to the portfolio item page, you would need to edit this file:

    flexform\includes\page-builder\composer\lib\shortcodes\portfolio.php

    On line 214, you would need to change this:

    $link_config = 'href="'.$thumb_img_url.'" class="view"';

    into this:

    $link_config = 'href="'.$permalink.'" class="link-to-post"';

    Note that this is a theme file edit, meaning you would need to redo it each time after you update the theme.

    Regards,
    โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”

    Cosmin – Support

Viewing 3 posts - 1 through 3 (of 3 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