Commit Graph

2527 Commits

Author SHA1 Message Date
Brian Miyaji
4b6d23895b Update module name 2018-05-01 22:11:43 +10:00
Brian Miyaji
2fb3455a53 Add short name setting 2018-05-01 22:11:38 +10:00
Brian Miyaji
d680f279f5 Update modules 2018-05-01 19:47:05 +10:00
Brian Miyaji
cc792220db Prevent parse errors 2018-05-01 15:53:53 +10:00
Brian Miyaji
dc005bb675 Add relative date selector to event calendar shortcode 2018-05-01 15:37:48 +10:00
Brian Miyaji
6efa3f1e10 Revert specs in equations 2018-05-01 15:21:10 +10:00
Brian Miyaji
ef37c3f314 Merge branch 'tweak-relative-date-in-shortcodes' 2018-04-29 09:52:06 +10:00
Brian Miyaji
baaa735ef2 Merge branch 'feature-event-specs' 2018-04-29 09:51:13 +10:00
Brian Miyaji
e952e7499a Merge branch 'feature-conditional-equations' 2018-04-28 21:16:23 +10:00
Brian Miyaji
d5b19764a7 Use abbreviation in match title if available 2018-04-24 08:35:28 +10:00
Brian Miyaji
5d9b76f4ec Prevent taxonomy column errors 2018-04-24 08:25:38 +10:00
savvasha
526e4ef398 Use Order meta of League term to sort Leagues
When the 'sp_order' meta is defined for a League (sp_league) then it will be used to sort the Leagues inside a player's profile.
2018-04-18 17:02:07 +03:00
savvasha
5825cf1cfc Add Featured Image support to Event Countdown widget 2018-03-30 18:53:59 +03:00
Brian Miyaji
7cc4ec19a0 Display current team in player list 2018-03-26 09:08:05 +11:00
Brian Miyaji
6f00d9ea23 Merge pull request #254 from kadimi/patch-11
Check $query->query_vars['post_type'] before using
2018-03-06 11:05:07 +11:00
Brian Miyaji
9b52836fce Filter players dropdown by current team only 2018-03-06 11:03:51 +11:00
Nabil Kadimi
53553ee5da Check $query->query_vars['post_type'] before using 2018-03-05 08:33:44 +00:00
savvasha
0436be43e7 1st commit for "Integration Event-Specs to Equations" 2018-03-04 09:49:36 +02:00
savvasha
9ff1b105b2 Event List Template
Add Event Specs to event-list template.
2018-03-03 12:21:59 +02:00
savvasha
9b39b883f9 Event details template
Migrate to module code.
2018-02-28 21:17:27 +02:00
Brian Miyaji
72653c7043 Allow conditionals without parentheses 2018-03-01 00:33:43 +11:00
Brian Miyaji
180899d232 Simplify conditional operator replacement 2018-03-01 00:32:12 +11:00
savvasha
f447694a59 Conditional Functions
Migration to module
2018-02-27 21:35:31 +02:00
savvasha
9db32d4d3d Create module for Event Specs
Convert most of the previous changes to the module for easier maintenance
2018-02-27 21:28:37 +02:00
savvasha
962cb5f5cc Initial commit for Conditional Equations
a) Add a hook for equation altering
b) Create a new module for Conditional Equations feature
2018-02-27 20:00:34 +02:00
Brian Miyaji
7878014130 Merge pull request #253 from kadimi/patch-10
Make sure `wp_list_pluck()` is fed an array
2018-02-26 14:30:51 +11:00
Brian Miyaji
d34fc91a3b Merge pull request #252 from kadimi/patch-9
Preserve squad number "0" when importing players
2018-02-26 14:30:17 +11:00
Brian Miyaji
9ea7ca9b76 Merge pull request #251 from kadimi/patch-8
Prevent array_filter on non-array `$result`
2018-02-26 14:29:21 +11:00
Brian Miyaji
017c9777da Merge pull request #250 from kadimi/patch-6
Force integer value for $substitution_time
2018-02-26 14:29:05 +11:00
Brian Miyaji
f4d4410ee8 Merge pull request #248 from kadimi/patch-7
Validate `sportspress_term_order()` parameter `$terms`
2018-02-26 14:28:30 +11:00
Brian Miyaji
2f699c0f91 Merge pull request #246 from kadimi/patch-5
Add option to WPML config file
2018-02-26 14:28:10 +11:00
Brian Miyaji
939c51f02f Merge pull request #245 from kadimi/patch-3
Fix RTL CSS not working due to lower weight
2018-02-26 14:27:22 +11:00
Brian Miyaji
0263cfe5b6 Merge pull request #244 from kadimi/patch-2
Add WPML support to template file staff-header.php
2018-02-26 14:26:48 +11:00
Nabil Kadimi
4844945c26 Make sure wp_list_pluck() is fed an array 2018-02-22 17:35:41 +00:00
Nabil Kadimi
1c3e4c1ce8 Preserve squad number "0" when importing players 2018-02-21 12:09:07 +00:00
Nabil Kadimi
6e8be9ae41 Prevent array_filter on non-array $result 2018-02-21 10:32:33 +00:00
savvasha
fa1877747c Add sp_spec CPT for Event Specs
a) Create sp_spec
b) Add it to Config Page
c) Add Admin Meta-Box
d) Add Event Meta-Box
2018-02-16 13:53:56 +02:00
Nabil Kadimi
594d344048 Force integer value for $substitution_time
Fixes #249
2018-02-16 11:24:50 +00:00
Nabil Kadimi
977c63eefd Validate sportspress_term_order() parameter $terms
$terms can be False or WP_Error, in which case, the function will produce warnings. e.g.:

`Warning: uasort() expects parameter 1 to be array, boolean given in /var/html/wp-content/plugins/sportspress-pro/includes/sportspress/includes/sp-template-hooks.php on line 145`
2018-02-14 08:40:43 +00:00
Nabil Kadimi
aff9678ee4 Add option to WPML config file
The option is `sportspress_footer_sponsors_title` and it appears in **Sportspress Settings > Settings**
2018-02-12 21:53:51 +00:00
Nabil Kadimi
690a9b6de6 Fix RTL CSS not working due to lower weight 2018-02-10 10:54:39 +00:00
Nabil Kadimi
644778e2a9 Add WPML support to template file staff-header.php 2018-02-09 02:38:37 +00:00
Brian Miyaji
87887a38aa Tag version 2.5.10 2018-02-02 11:26:33 +11:00
Brian Miyaji
509b7ebbf1 Redirect scheduled events without affecting calendars or other posts 2018-02-02 11:23:17 +11:00
Brian Miyaji
5910cc027b Tag version 2.5.9 2018-01-30 12:22:40 +11:00
Brian Miyaji
6f5fd5fa5e Fix future posts hook affecting other post types 2018-01-30 12:21:05 +11:00
Brian Miyaji
114ed53ddf Tag version 2.5.8 2018-01-29 11:25:32 +11:00
Brian Miyaji
eb7c1d7e40 Fix future events using default permalinks 2018-01-29 11:22:14 +11:00
Brian Miyaji
9d0b2a9a4d Tag version 2.5.7 2018-01-29 11:21:11 +11:00
Brian Miyaji
2e02758969 Revert responsive table behavior to 2.5 2018-01-26 08:11:21 +11:00