Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author teastudio.pl

    (@teastudiopl)

    please add
    return $featured_image;
    right after
    $featured_image.= '</div>';

    I corrected an example on github.

    Thread Starter DanielCanDesign

    (@danielcandesign)

    great! thank you.
    Can you do this also for title?

    Thread Starter DanielCanDesign

    (@danielcandesign)

    Hi,
    is it possible?

    Plugin Author teastudio.pl

    (@teastudiopl)

    it’s the same as in an example – use wpc_item_title

    function my_wpc_item_title( $title, $params ) {
                if ( $params['params']['show_title'] === 'true' ) {
                    $title = '<h3 class="wp-posts-carousel-title">';
                        $title.= $params['post']->post_title;
                    $title.= '</h3>';
                }
    return $title;
    }
    add_filter('wpc_item_title', 'my_wpc_item_title', 1, 2);
    Thread Starter DanielCanDesign

    (@danielcandesign)

    Thank you ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to disable link from image and title’ is closed to new replies.