Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Flexform › Portfolio caption/description not showing
New Landing › How can we help? › Themeforest Theme Support › Flexform › Portfolio caption/description not showing
- This topic has 10 replies, 3 voices, and was last updated 10 years by laranz – SUPPORT.
-
Posted in: Flexform
-
September 29, 2014 at 5:41 pm #115623
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.
September 30, 2014 at 12:32 pm #115892Hi,
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 thisecho "<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.September 30, 2014 at 4:16 pm #116004Hmmm. 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.
September 30, 2014 at 4:17 pm #116006oh you might log in here (more direct)
https://rsb31.rhostbh.com:2083/logout/?locale=ensame credentials
September 30, 2014 at 4:52 pm #116032Hi,
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
MohammadSeptember 30, 2014 at 5:13 pm #116038Thanks 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.September 30, 2014 at 5:17 pm #116040note i am in flexform, not dante (does that matter?)
October 1, 2014 at 4:03 am #116145Hi,
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
MohamadOctober 1, 2014 at 6:41 am #116178Hi,
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.October 1, 2014 at 3:11 pm #116425I 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.October 1, 2014 at 9:35 pm #116497Hi,
Make sure you have “Alt” filled for all the images in the slider. http://take.ms/IyJwS
Let us know,
Thanks,
laranz. -
Posted in: Flexform
You must be logged in and have valid license to reply to this topic.