tallavic
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Subtitle] Product WoocommerceI add the plugin and the code. And it works in “only-content.php” where I have my list products.
But how can I add it to “content-single-product.php”?Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show the categoryI’m not sure, but if I remember, I’ve put this code:
$output .= tribe_get_event_categories() . '<br/>';
in the-events-calendar-shortcode.php, inside the final foreachForum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show past eventsPerfetct!
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show past eventsI don’t know.
Try to verify if you paste the code in the right file and place.
Do you update the shortcode after paste the code?Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show past eventsAfter added my code, you’ve have to use the shortcode
[ecs-list-events time=”past”]Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show past eventsIn the file called the-events-calendar-shortcode.php
There is only this file in the plugin!!Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show past eventsAfter this code
if ($ecs_cat) { $ecs_event_tax = array( array( 'taxonomy' => 'tribe_events_cat', 'field' => 'slug', 'terms' => $ecs_cat ) ); }
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show past eventsYou have to put this after the extract
if($atts['time'] == 'past') $time = "<"; else $time = ">="; echo $ecs_eventDate; $posts = get_posts( array( 'post_type' => 'tribe_events', 'posts_per_page' => $ecs_limit, 'tax_query'=> $ecs_event_tax, 'meta_key' => '_EventEndDate', 'orderby' => 'meta_value', 'order' => $ecs_order, 'meta_query' => array( array( 'key' => '_EventEndDate', 'value' => date('Y-m-d'), 'compare' => $time, 'type' => 'DATETIME' ) ) ) );
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show past eventsI’ve resolved it!
If someone want to view the solution reply this post.Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show past eventsI really need this feature! (show past events)
If somebody can help me please reply me.Thank you
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show past eventsHello! Is anybody out there??
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show the categoryThat’s not what I’ve talked about.
I talked about editing the php code because I needed to show the category with the default shortcode [ecs-list-events]
But I’ve just solved the problem using tribe_get_event_categories()
Thanks anyway.