Comments 1Giuliano Romano started the conversationSeptember 6, 2019 at 3:14pmHi, i'll remove dates from post title. How can i do this?1 Like 1Giuliano Romano repliedSeptember 6, 2019 at 4:44pmOr, how can i modify Visual Composer Grid Element Templates? E.g. The Gem Basic Grid 2 7,092Oliver repliedSeptember 7, 2019 at 8:46amHi,You can remove data with this code or use it as example to changes something there: remove_filter( 'vc_gitem_template_attribute_post_title_with_date', 'thegem_attribute_post_title_with_date', 10, 2 ); function thegem_attribute_post_title_with_date_new( $value, $data ) { extract( array_merge( array( 'post' => null, 'data' => '' ), $data ) ); return '<div class="post-title"><h4 class="entry-title"><a href="'.esc_url(get_permalink()).'" rel="bookmark">'.mysql2date('d M', $post->post_date).': <span class="light">'. get_the_title($post->ID) .'</span></a></h4></div>'; } add_shortcode( 'gem_post_title_with_date', 'thegem_attribute_post_title_with_date_new' ); Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver 7,092Oliver repliedSeptember 7, 2019 at 8:46amAdd this code to the functions.php of the child themePlease note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver 1Giuliano Romano repliedSeptember 9, 2019 at 7:44amHi Gregor: many thanks for reply, but... not works :-(This script remove date on home page titles, but it assign EVERY title as home page title...I thinks it's better modify Visual Composer Grid Element Templates? E.g. The Gem Basic Grid 2...How can i do this? Where are located files?Many thanks, Giuliano 1Giuliano Romano repliedSeptember 9, 2019 at 7:46amScreen shot 7,092Oliver repliedSeptember 9, 2019 at 8:01amHi,May be try to use our Blog shortcode, it's much more powerful..Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver Sign in to reply ...
Hi, i'll remove dates from post title. How can i do this?
Or, how can i modify Visual Composer Grid Element Templates? E.g. The Gem Basic Grid 2
Hi,
You can remove data with this code or use it as example to changes something there:
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Add this code to the functions.php of the child theme
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Hi Gregor: many thanks for reply, but... not works :-(
This script remove date on home page titles, but it assign EVERY title as home page title...
I thinks it's better modify Visual Composer Grid Element Templates? E.g. The Gem Basic Grid 2...
How can i do this? Where are located files?
Many thanks, Giuliano
Screen shot
Hi,
May be try to use our Blog shortcode, it's much more powerful..
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver