New Landing How can we help? Themeforest Theme Support Flexform Portfolio caption/description not showing

Viewing 11 posts - 1 through 11 (of 11 total)
  • Posted in: Flexform
  • #115623
    nattana
    Member
    Post count: 6

    I have not been able to get my caption/description to show on the site. I have set the first image in Western Colorado gallery to have caption and descirption and it did not show. I did just update to the latest wp version and theme update as I thought that might help, still it does not show.

    Is it because we have it in slideshow format? any insight greatly appreciated, we hope to have titles of each photo in the gallery so people know how to reference and buy it.

    #115892
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    To enable caption, it needs a little bit of code editing, if you are comfortable follow this steps.

    1. Open up single-portfolio.php
    2. In line #127, you found a line like this

    echo "<li><img src='{$image['url']}' width='{$image['width']}' height='{$image['height']}' alt='{$image['alt']}' /></li>";

    change that to

    echo "<li><img src='{$image['url']}' width='{$image['width']}' height='{$image['height']}' alt='{$image['alt']}' /><p class='flex-caption'>{$image['alt']}</p></li>";
    3. No step 3, just Preview it 🙂

    Let us know,

    Thanks,
    laranz.

    #116004
    nattana
    Member
    Post count: 6

    Hmmm. ok.
    Not sure I understand why that has to be initiated, as I don’t usually mess with code, but went into my file manager, did a search for single-portfolio.php and it said I have no files that match that name. I am not certain where to look? I was game to try, but simply can not find the file.

    bluehost.com

    ccgalcom is user
    MGCSteve2014#

    We originally installed it under coloradocanyonsgal.com so you will see both domains/files. I looked under both ccgal and coloradocanyonsgal.com (which seemed to still house the wp-data)

    any thoughts/help is much appreciated.

    #116006
    nattana
    Member
    Post count: 6

    oh you might log in here (more direct)
    https://rsb31.rhostbh.com:2083/logout/?locale=en

    same credentials

    #116032
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can get this file at /wpcontent/themes/dante/ through FTP or CPANEL and wordpress admin dashboard Admin -> Appearance -> Editor. Hope that should help you.
    Thanks
    Mohammad

    #116038
    nattana
    Member
    Post count: 6

    Thanks I was able to find it and edit line 127 as you said but got a blank portfolio

    http://www.ccgal.com/?portfolio=western-colorado

    Attachments:
    You must be logged in to view attached files.
    #116040
    nattana
    Member
    Post count: 6

    note i am in flexform, not dante (does that matter?)

    #116145
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I just resolved the issues. So please check it now. I have changed.

    From-:
    echo "<li><img src='{$image['url']}' width='{$image['width']}' height='{$image['height']}' alt='{$image['alt']}' /><p class='flex-caption'>{$image['alt']}</p></li>";
    
    To-:
    echo "<li><img src='{$image['url']}' width='{$image['width']}' height='{$image['height']}' alt='{$image['caption']}' /><p class='flex-caption'>{$image['caption']}</p></li>";

    With Best Regards
    Mohamad

    #116178
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You copy paste it wrong I think, see the special characters are changed in to characters, I think you copy paste from Mail.

    Thanks Mohammed for editing..

    Let us know,

    Thanks,
    laranz.

    #116425
    nattana
    Member
    Post count: 6

    I see you fixed the code, you are correct, I copied from my email, sorry that did not occur to me.
    But I still do not see the caption or description on the site.

    If you go to http://www.ccgal.com/?portfolio=western-colorado
    The first image has both a caption and a description.
    I have set this as shown below in the screen cap.

    Maybe it needs to be entered elsewhere? Or is it showing elsewhere?
    Or maybe still not working?

    Attachments:
    You must be logged in to view attached files.
    #116497
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Make sure you have “Alt” filled for all the images in the slider. http://take.ms/IyJwS

    Let us know,

    Thanks,
    laranz.

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

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

License required for one of the following items
Login and Registration Log in · Register