Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_wpc_item_title( $title, $params ) {
- $title = '<h4 class="wp-posts-carousel-title">';
- $title .= '<a href="'. $params['post_url'] .'" title="'. $params['post']->post_title .'">'. $params['post']->post_title .'</a>';
- $title .= '</h4>';
- return $title;
- }
- add_filter('wpc_item_title', 'my_wpc_item_title', 1, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement