jrodes
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar: Category Colors] Days coloured on calendar widgetThanks Andy. I will try myself to code the calendar so that each day has a different class, depending on the categories of the events of that day.
In case there are more that one event for the same day, I will take the firs category found.
Forum: Plugins
In reply to: [The Events Calendar] Ajax requests reset WPML languageHi corey, I found a partial solution.
on file \wp-content\plugins\events-calendar-pro\src\Tribe\Mini_Calendar.php
where you see
$widget_data = array( 'ajaxurl' => admin_url( 'admin-ajax.php', ( is_ssl() ? 'https' : 'http' ) ) );you have to add the language parameter to ajaxurl
global $sitepress; $current_language = $sitepress->get_current_language(); $widget_data = array( 'ajaxurl' => admin_url( 'admin-ajax.php?lang='.$current_language, ( is_ssl() ? 'https' : 'http' ) ) );Greetings
Forum: Plugins
In reply to: [WordPress Calls to Action] CTA-Render JS Errorsffw265, thanks a lot for this fix, we have just to comment lines where console.log is.
this problem was driving me crazy, thank u very much!
Forum: Plugins
In reply to: [Ultimate Tag Cloud Widget] Limiting the tag cloud to a specific categoryHi Hosh, try
[utcw post_term=(category_id) post_term_query_var=1]Hope this helps 🙂
Forum: Plugins
In reply to: [Ultimate Tag Cloud Widget] Tag cloud for current categoryHi,
I figured out to do this with the category id
in category.php template I wrote:
<?php $category_id = get_cat_ID(single_cat_title( '', false ));?>in order to get the current category.
later on, the shortcode I used is:
<?php echo do_shortcode('[utcw post_term='.$category_id.' color=random title="TAG CLOUD" before_title="<h3>" after_title="</h3>"]'); ?>the trick was to use post_term and the category id 🙂