-
AuthorPosts
-
October 25, 2014 at 4:50 pm #340979
Hi,
I have two problems:
1/ How to remove link from featrued image on a blog post ? No CSS please, il really want to remove link form source code. I can modify my child theme. For SEO and especially for google news, it’s a problem.
2/ On a blog post I ‘ve an infography with a web url and a custom url to a bigger picture. With lightbox activated, i only see the first picture but i can’t enlarge to my custom url. Is it possible to enlarge an image to a custom url with ligtbox ? When ligntbox is deactivated, it works fine but i like ligntbox modal window.
Thanks again for your great job
October 28, 2014 at 7:10 am #342034Hey serge esteves!
Thank you for using Enfold.
Edit includes > loop-index.php, find this code:
if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
Replace it with:
if($slider) $slider = $slider;
Regarding the other query, unfortunately, this will require modifications within the theme. You might need to find a plugin or hire a freelance developer to add the feature for you. Please visit Envato Studio or Werkpress for further customization.
Best regards,
IsmaelOctober 28, 2014 at 10:20 am #342105Thanks, it works great
For the other query, it would be great if it will be part of a future theme’s update.
Have a nice day
Serge
October 28, 2014 at 10:43 am #342117OOPS!
There is a problem, link dispappear from posts but from pages listing posts too.
I want only remove links from posts.
I know, it’s a bit more complicated i guess
October 30, 2014 at 6:57 am #343266Hey!
Replace that line with this instead:
if($slider) $slider = is_singular() ? $slider : '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
Best regards,
JosueOctober 30, 2014 at 9:49 am #343298It works!
Thanks again! How much for support ? ;)
October 30, 2014 at 5:58 pm #343504You are welcome, always free :)
Regards,
JosueJuly 18, 2015 at 6:41 am #475214Hey guys,
Both of these questions have to do with the “Single post with big preview image” option and possibly controlling it through the ‘Custom CSS’ area.- I want to remove the hyperlink on the wide featured image (like Josue was asking above) but wondering if I can do it within the Custom CSS instead of adjusting the lines in the coded php pages?<br>Just FYI – I did get it to work using your instructions above so I can always default to that. I’d rather overwrite it in the Custom CSS though if possible.
- Also, I would like to slightly increase the height of the featured image when using the “Single post with big preview image” option. Currently it’s somewhere around a 900×350 ratio. That’s very difficult to find images for and I think I’d be OK if they were slightly taller, like at a 900×500 ratio.
URL example: http://www.38west.com/pima2/pima-provides-fresh-water-to-christmas-island-hospital/
Thanks,
BrianJuly 18, 2015 at 11:27 pm #475312Hey!
Do the following:
1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
2. Go to Settings > Media
3. Change the entry_with_sidebar image size (increase its height).
4. Regenerate the thumbnails by clicking the button at the bottom.Cheers!
Josue -
AuthorPosts
- You must be logged in to reply to this topic.