• Hi Stefan,

    Quick question. I am using Elegant Builder from Elegant Themes, and when I add in a filter in theme functions for this image, it works on some pages but not others? Could I send you a link to the test site? This was my filter:

    function add_filters( $filters ) {
        $filters[] = 'et_lb_image';
        return $filters; )
    }
    add_filter( 'rwp_add_filters', 'add_filters' );

    https://wordpress.org/plugins/responsify-wp/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author stefanledin

    (@stefanledin)

    Hi josephconlon! Yeah sure, you can send me a link.

    Thread Starter josephconlon

    (@josephconlon)

    It will work throughout on some pages:
    http://v4.rothschildbickers.com/products/empire/

    But not others:
    http://v4.rothschildbickers.com/products/mineral-pendants/

    Can you see why this is happening?

    Plugin Author stefanledin

    (@stefanledin)

    I can see that there’s no RWP debug comments on the one that doesn’t work. That means that RWP didn’t find the attachment ID of any of the images. (RWP takes the image URL and looks in the database for the ID)
    This can happen if the image has been edited inside WordPress. RWP isn’t able to find the ID of an image that for example has been rotated after it’s been uploaded.
    Do you know if that’s the case with the images on the page RWP doesn’t work on?

    The template is the same on both pages, so I can’t see any other reason for it not to work. The top image seems to work on both pages though.

    Plugin Author stefanledin

    (@stefanledin)

    I did notice another thing now. The images that doesn’t work seems to be located directly in the /uploads folder. The ones that does work is located in a subfolder like /uploads/2012/09.

    Thread Starter josephconlon

    (@josephconlon)

    I see what you mean! When I re-add the image it seems to fix the problem and the uploads directory points from uploads/ to uploads/year/month.

    At least I can resolve the problem even if I’m not 100% sure why this was happening. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Elegant Builder Plugin’ is closed to new replies.