chavo
Forum Replies Created
-
That’s a good question.
As far as I found, it’s a bug with last core update.
Forum: Plugins
In reply to: [Custom Field Template] Media selector not workingThe error is:
win.cft_use_this is not a functionI don’t know how to fix it.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Special teams position orderingOk. Thanks for your reply!
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Adding own shortcode?Nevermind, I got it working. I edited the code in events-block.php template file. It is possible to suppress options of ajax pop-up via a filter into functions.php? I just want to display “Competition” and “Season” dropdowns.
Thanks for your reply!
Regards,
MartΓas.Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Special teams position orderingHi Roch. Thanks for your reply. So, how can I add two fairplay extra fields (one for each team) to the Results metabox and then use it as a variable?
I guess that I can do it into my functions.php file, but… which is the appropiarte code?. Sorry, I’m not a code master editor πThanks in advance.
Forum: Plugins
In reply to: [WP Store Locator] Adding CSS dynamically to search resultsHi, sorry for my late reply. I don’t know what to say. Maybe there is something related to Google Maps Api changes or maybe something with the plugin code… I don’t know. I don’t notice any console error. Try making partial echo of the info to be sure what part of the code is working.
Forum: Plugins
In reply to: [WP Store Locator] Adding CSS dynamically to search resultsHi flantascience. Yes.
I used this code in functions.phpadd_filter( 'wpsl_store_meta', 'custom_store_meta', 10, 2 ); function custom_store_meta( $store_meta, $store_id ) { $terms = wp_get_post_terms( $store_id, 'wpsl_store_category' ); $store_meta['terms'] = ''; if ( !is_wp_error( $terms ) ) { if ( count( $terms ) > 1 ) { $store_meta['terms'] = get_bloginfo('template_directory')."/images/icono-multimarca.svg"; } else { if (function_exists('z_taxonomy_image')) { $store_meta['terms'] = z_taxonomy_image_url($terms[0]->term_id); } } } return $store_meta; } function custom_frontend_meta_fields( $store_fields ) { $store_fields['wpsl_terms'] = array( 'name' => 'terms' ); return $store_fields; }Note that you need to install the plugin Categories Images and assign an image to the categories.
I hope it helps!
Forum: Plugins
In reply to: [WP Club Manager - WordPress Sports Club Plugin] Assign player to club?Woo hoo! Great feature! It will be available in free version?
Thanks for your reply!
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Organize matches by matchdayOk. Do you have any documentation about it? I was thinking of making some custom taxonomy.
Thanks for your reply!
Forum: Plugins
In reply to: [LeagueManager] Remove columns in show-league.phpI also want to remove ID column.
Forum: Plugins
In reply to: [Meta Box] Filtering post by category?Forged about it!
I figured out that I was filtering by “category” instead the custom taxonomy “category-news”. I feel like a fool!
Forum: Plugins
In reply to: [Secondary Title] How to contribute with a translation?Ok! I sent you the file via email, because I made the translation of the original file with another .po/.mo online editor.
I guess that the translation can be improved. I’m from Argentina and although I tried to make the translation “spanish worldwide”, maybe there are some different words from native Spain’s language to argentinian language.
Regards!
Forum: Plugins
In reply to: [Admin Columns] Missing columns?Ok, thanks for your reply! I will be waiting for the update.
Thanks!
Forum: Plugins
In reply to: [Theme My Login] Translating Theme My LoginHi. It looks like my .mo / .po files are not working with last update. Does something change?
Thanks in advance.
Edit: Sorry, I figured out how to make it work!