Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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

    #342034

    Hey 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,
    Ismael

    #342105

    Thanks, 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

    #342117

    OOPS!

    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

    #343266

    Hey!

    Replace that line with this instead:

    if($slider) $slider = is_singular() ? $slider : '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
    

    Best regards,
    Josue

    #343298

    It works!

    Thanks again! How much for support ? ;)

    #343504

    You are welcome, always free :)

    Regards,
    Josue

    #475214

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

    1. 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.
    2. 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,
    Brian

    #475312

    Hey!

    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

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.