• Resolved Mark elayan

    (@ramielian)


    hi there, in my theme i have a shortcode am using for slider with pictures, am using this slider in more than one position, and in one of these positions i need this slider to apply the gray filter using the shortcode attributes and replacing the class of the image to the filtered one…

    the problem that the class of the image comes empty when reading and dosent apply the filter, am using the below code :

    att:'imgfil' => '',

    <a href="<?php echo $link; ?>"><img class="<?php echo $imgfil; ?>" src="<?php echo $img; ?>"></a>

    now the a href is working fine, but the $imgfil is not working and the class is empty..
    the website is: http://induit.net/test
    and you can find two sliders (forget the main meta slider) in that page..

    Thank you
    Mark

    [Moderator Note: Please ensure that you are embedding links correctly in your posts.]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘simple code modification need help’ is closed to new replies.