-
-
The recent news widget on the homepage (default homepage from business4 demo) does not pay attention to systemwide date/format and always showing date and time in its own format. As soon as i am building a multilingual website i need to specify a different format for different cultures. How do i do this with Specular?
-
Hello,
Sorry for the late reply.
The file responsible for the Recent News is vc_template\recent_news.php. Please find this line:$output .= '<dd><h5><a href="'.esc_url(get_permalink()).'">'.esc_attr(get_the_title()).'</a></h5><span class="date">'.get_the_time('j M h:i a').'</span><p>'.codeless_text_limit(get_the_excerpt(), 18).'</p></dd>';
in it, and edit theget_the_time('j M h:i a')
time format to your need.Best regards!
-
Ok, thanks for point to this. It may help. However, isn’t it better to include this setting into theme configuration or just to use a systemwide format?
-
Hello,
Sorry this is not included in theme options.
Best regards!
-
You must be logged in to reply to this topic.