Commit Graph

1291 Commits

Author SHA1 Message Date
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
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
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
6f5fd5fa5e Fix future posts hook affecting other post types 2018-01-30 12:21:05 +11:00
Brian Miyaji
eb7c1d7e40 Fix future events using default permalinks 2018-01-29 11:22:14 +11:00
Brian Miyaji
dedfe98ed1 Fix blank general settings page in WordPress < 4.9 2018-01-26 08:02:09 +11:00
Brian Miyaji
8fad5481a0 Turn off responsive tables by default 2018-01-26 01:34:05 +11:00
savvasha
30561ff017 Convert hook from filter to action for simplicity
And adding  $player_id variable for use with add_filter
2018-01-23 14:41:38 +02:00
savvasha
258daa2df3 Add another variable ($post) to player_name hooks
So as to be able to use it for getting post_meta of a player through add_filter.
2018-01-23 13:54:10 +02:00
Brian Miyaji
d40b7588ee Update file version numbers 2018-01-23 18:27:28 +11:00
Brian Miyaji
c891703e13 Add duplicate merging option to staff and team importer 2018-01-23 18:16:00 +11:00
Brian Miyaji
413686e4fd Merge duplicate players 2018-01-23 18:00:59 +11:00
savvasha
195e6d6000 Add calendar selection to Countdown widget 2018-01-22 17:01:30 +02:00
Brian Miyaji
40a9e7d65c Add main league and current season options to secondary post types 2018-01-22 14:07:23 +11:00
Brian Miyaji
cc553f88e2 Update main league and current season during setup 2018-01-22 11:31:58 +11:00
Brian Miyaji
e78a259065 Add main league and current season settings 2018-01-22 11:31:49 +11:00
Brian Miyaji
fd21316b23 Add [staff_profile] shortcode for backward compatibility with sites already using [staff] 2018-01-22 01:30:24 +11:00
Brian Miyaji
179c291b88 Merge pull request #239 from ThemeBoy/feature-responsive
Add responsive tables
2018-01-22 00:30:51 +11:00
Brian Miyaji
2f02782f81 Merge pull request #238 from ThemeBoy/tweak-codemirror
Add Codemirror to Custom CSS field
2018-01-22 00:30:41 +11:00
Brian Miyaji
3d6c4f417f Add subtle border to table rows 2018-01-17 10:50:36 +11:00
Brian Miyaji
a75195a4f2 Merge pull request #198 from leewaterman/master
Check for empty precision value #197
2018-01-17 10:21:47 +11:00
Brian Miyaji
f9e74761f0 Merge pull request #232 from d-r-g/event_player_sort
Event Player Checklist Sort Options
2018-01-17 10:19:36 +11:00
Brian Miyaji
39c117fc86 Merge pull request #233 from PareshRadadiya/fix/179
Fix - Include staff name and profile in [staff] shortcode
2018-01-17 10:19:06 +11:00
Brian Miyaji
ee6b11c3a5 Merge pull request #236 from PareshRadadiya/fix/229
Fix - Get players list by team, current team, past team, league and season
2018-01-17 10:16:53 +11:00
Paresh Radadiya
835b03b8f3 Added nested meta_query and tax_query in players endpoint filter to construct complex query 2018-01-14 22:37:46 +05:30
Paresh Radadiya
8f238209b6 Added league and season filters in players endpoint #215 2018-01-14 22:05:12 +05:30
Paresh Radadiya
4ebcaeff4e Added option to link staff members to profile page #166 2018-01-14 20:40:29 +05:30
Paresh Radadiya
859a6f7317 Fix - Get player list based on team id 2018-01-14 16:46:46 +05:30
Paresh Radadiya
e511c6e177 Fix - Include staff name and profile in [staff] shortcode 2018-01-13 08:38:20 +05:30
_drg_
03609aa76d Event Player Checklist Sort Options
Added option to sort list of players (on the Teams metabox of Events) by Name or Jersey (default).
2018-01-11 16:25:50 -06:00
savvasha
cb52599d17 Simplify css inline code 2017-12-19 14:41:42 +02:00
Brian Miyaji
7d08b40f9e Simplify responsive styles to avoid theme-specific tweaks 2017-12-18 20:02:37 +11:00
Brian Miyaji
76bd4f9df2 Merge remote-tracking branch 'origin/feature-responsive' into feature-responsive 2017-12-16 09:19:50 +11:00
Brian Miyaji
467f680b2e Merge branch 'master' into feature-responsive 2017-12-16 09:19:46 +11:00
savvasha
1c981a47e7 Set Zebra stripping by template
And some fine tuning
2017-12-14 14:24:39 +02:00
JamieMagee
085ad846cf Fix encoding error
class-phpstack.php was saved with ISO-8859-1 encoding, whereas the rest of the project uses UTF-8 encoding. This commit converts class-phpstack.php from ISO-8859-1 to UTF-8
2017-12-12 22:09:21 +01:00
Brian Miyaji
d1e1619780 Change 'event_id' parameter to 'event' for consistency 2017-12-11 12:10:42 +11:00
Brian Miyaji
dacfa8eac0 Rename event performance player selection action for clarity 2017-12-11 12:10:03 +11:00
Brian Miyaji
9ca9aa2131 Split player name filters to target specific use cases 2017-12-11 12:09:48 +11:00
savvasha
e5f98ff380 Add hook to add more information on player names
After the player name in the list of selected players in an event.
2017-12-10 22:26:02 +02:00
savvasha
a02e1034c8 Add hook to add more information on player names
Before or after the player name in the selection list in an event
2017-12-10 22:14:43 +02:00
savvasha
7d26c871e2 Add event_id to event-blocks shortcode 2017-12-10 21:30:39 +02:00
savvasha
4c43023175 Add event_id as a variable to Calendar Class 2017-12-10 21:12:14 +02:00
savvasha
8d2b504fb8 Target specific tables by adding a unique class name
Using the uniqid function of PHP (http://www.php.net/manual/en/function.uniqid.php)
2017-11-30 19:43:50 +02:00
savvasha
a7ff15ff59 Adding function prefix and extra table class
1) Add sportspress_ prefix to the function name.
2) Insert a new class selector to the responsive tables (sp-responsive-table) for future use.
2017-11-30 19:22:53 +02:00
savvasha
bc0ee7a295 Add Zebra striping to repsonsive tables 2017-11-30 07:00:24 +02:00
savvasha
70611ac98c Add responsiveness to tables
For league tables, event lists, player lists, and box score (player performance).
2017-11-29 17:34:37 +02:00
savvasha
b1f7a415df Tweak - Enable CodeMirror on Custom CSS field
Using Sportspress Action hooks
2017-11-28 13:33:37 +02:00