• It’s a good job good adaptation May I edit the file before the maj I add an input to add a class to the image to the board arrondire would it be to you for the next version to make this possible without modifying the files thank you.

    is it will be perfect…

    thank you for the job

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Phil Ewels

    (@tallphil)

    Thanks neecride.

    You can get at the images in the carousel without adding any new classes, just use .carousel-inner .item img

    Phil

    Thread Starter neecride

    (@neecride)

    ok I added line 67 of cptbc-frontend.php file obliged to suit my design

    $atts['image_class_custom']

    to add a dynamic class with input text in the administration

    $image = get_the_post_thumbnail( get_the_ID(), /* here class custom */, $atts['image_size'] );

    it works well !

    Plugin Author Phil Ewels

    (@tallphil)

    Great! As the images can be targeted by CSS already, I don’t think that I’ll add this to the main plugin code. Nice that you have it working as you want it though! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Good job’ is closed to new replies.