Nishant Patel
Forum Replies Created
-
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Required Gallery imagesThanks again Greg.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Select Only one category on FormThank you so much.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Phone Number Valicationthank you @gwin you are the great.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Phone Number ValicationYes but is has to be require and set place holder for 999-999-9999
Forum: Plugins
In reply to: [The Events Calendar] The Events Calendar – Complete description in list-viewLook for this templates files in List Folder you will find anything helpful
Plugins -> plugins Editor -> /wp-content/plugins/the-events-calendar/src/views/list/single-event.php.
https://theeventscalendar.com/knowledgebase/k/calendar-template-files-v2/
and Copy this files to your theme [your-theme]/tribe-events/list/single-event.php
- This reply was modified 3 years, 8 months ago by Nishant Patel.
For event start date use
_EventStartDate
. This will solved problem,I used this function
function( $query ) { $meta_query = (array)$query->get( 'meta_query' ); $query->set( 'meta_query', $meta_query ); $query->set( ‘orderby’, ‘meta_value’ ); $query->set( ‘meta_key’, ‘_EventStartDate’ ); $query->set( ‘order’, ‘ASC’ ); });
Thanks a lot this code Solved my problem.
The Event Calendar Events to display in elementor post widget. Only display feature events.add_action( ‘elementor/query/my_custom_filter’, function( $query ) {
$meta_query = (array)$query->get( ‘meta_query’ );
$meta_query[] = array(
‘key’ => Tribe__Events__Featured_Events::FEATURED_EVENT_KEY,
‘compare’ => ‘EXISTS’,
);
$query->set( ‘meta_query’, $meta_query );
$query->set( ‘orderby’, ‘meta_value’ );
$query->set( ‘meta_key’, ‘_EventStartDate’ );
$query->set( ‘order’, ‘ASC’ );
});