Title: sameeralam's Replies | WordPress.org

---

# sameeralam

  [  ](https://wordpress.org/support/users/sameeralam/)

 *   [Profile](https://wordpress.org/support/users/sameeralam/)
 *   [Topics Started](https://wordpress.org/support/users/sameeralam/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sameeralam/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sameeralam/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sameeralam/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sameeralam/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sameeralam/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/sameeralam/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/sameeralam/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Dynamic or filters in table](https://wordpress.org/support/topic/dynamic-or-filters-in-table/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/dynamic-or-filters-in-table/#post-18295180)
 * Thanks [@savvasha](https://wordpress.org/support/users/savvasha/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Dynamic or filters in table](https://wordpress.org/support/topic/dynamic-or-filters-in-table/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/dynamic-or-filters-in-table/#post-18293109)
 * Maybe I don’t know enough to utilize the info, hoping you dont mind continuing
   to assist me.
 * [https://ctrl.vi/i/x0nloTAJw](https://ctrl.vi/i/x0nloTAJw)
 * Would I enter the whole thing here (shown above)?
 * Creating something like this would be great for me, just not sure how to do it.
 * [https://live.datatables.net/tafetano/56/edit](https://live.datatables.net/tafetano/56/edit)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Glitch in player lists with adjustments](https://wordpress.org/support/topic/glitch-in-player-lists-with-adjustments/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/glitch-in-player-lists-with-adjustments/#post-18293036)
 * Changed from 2000 to 3000. Appears to be working, thanks.
    -  This reply was modified 1 year, 3 months ago by [sameeralam](https://wordpress.org/support/users/sameeralam/).
    -  This reply was modified 1 year, 3 months ago by [sameeralam](https://wordpress.org/support/users/sameeralam/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Dynamic or filters in table](https://wordpress.org/support/topic/dynamic-or-filters-in-table/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/dynamic-or-filters-in-table/#post-18271627)
 * Great, thanks for the info.
 * Looking into that example, and this one here ([https://datatables.net/examples/api/multi_filter_select.html](https://datatables.net/examples/api/multi_filter_select.html))
 * The only info I know is my player list # (ie. [player_list 4558])
 * How do I call/edit my table (ie. where it says “#example”, what do I replace 
   this with)
 *     ```wp-block-code
       newDataTable('#example', {    initComplete: function() {        this.api()            .columns()            .every(function() {                letcolumn = this;                // Create select element                letselect = document.createElement('select');                select.add(newOption(''));                column.footer().replaceChildren(select);                // Apply listener for user change in value                select.addEventListener('change', function() {                    column                        .search(select.value, {exact: true})                        .draw();                });                // Add list of options                column                    .data()                    .unique()                    .sort()                    .each(function(d, j) {                        select.add(newOption(d));                    });            });    }});
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Player lists team in new update](https://wordpress.org/support/topic/player-lists-team-in-new-update/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/player-lists-team-in-new-update/#post-17417447)
 * Great, thank you! Worked!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Player lists team in new update](https://wordpress.org/support/topic/player-lists-team-in-new-update/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/player-lists-team-in-new-update/#post-17413278)
 * Okay thank you! I am not too experienced so are you able to give me the exact
   steps I need to follow in order to apply that patch? Much appreciated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Custom Code](https://wordpress.org/support/topic/custom-code-17/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/custom-code-17/#post-16556664)
 * Thanks Savvas, so I get the class to call and I can create the code as needed
   to suit my requirement. But where exactly can I enter this code? Directly in 
   a wordpress page doesnt work, neither is there an option in any of the sportspress
   configure pages.
 * The only place I see where there is code are in the plugin files (which is why
   I initially was wondering if I need to create a new plugin or modify existing
   code).
 * I hope the question is clear – please let me know where I would be able to enter
   my new code/ call the SP_Player class.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Custom Code](https://wordpress.org/support/topic/custom-code-17/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/custom-code-17/#post-16548408)
 * Thanks Savvas! Can I call this class from the custom code portion in sportspress.
   Or Will I have to modify the plugin code directly? (Sorry, I’m a bit new to wordpress
   plugins) If you can guide me a bit further, that would be appreciated.
 * For ex: [https://gnbl.ca/statistics-2022-2023/](https://gnbl.ca/statistics-2022-2023/),
   to get the top 5 player names who have the highest PPG. Is it easy to share how
   to get this data? If I can see this example, then I should be able to figure 
   out the rest of the things I want to gather.
 * If it is complicated to explain, then no worries.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Custom Code](https://wordpress.org/support/topic/custom-code-17/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/custom-code-17/#post-16514326)
 * In addition to this, is there a way I can post player splits ( add a new tab 
   like how we can move stats, profile, games in a new tab on player page ), create
   a splits category which might show the players last 5 game averages, or last 
   30 day averages, their home average vs away, how they play with a certain teammate
   etc.
 * I am happy to code all this myself of course, I just need some direction in terms
   of if it is possible and how I could access the data appropriately.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Detailed Player Stats for SportsPress] Game logs for players on multiple teams](https://wordpress.org/support/topic/game-logs-for-players-on-multiple-teams/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/game-logs-for-players-on-multiple-teams/#post-16474696)
 * Excellent, thank you.
 * Any option to always display the gamelogs under the current season instead of
   having to click the year? I understand it was asked before as well. Is it in 
   any potential future works if not already implemented? And if not, is there any
   way for me to make that change to have it displayed always? Thank you once again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Detailed Player Stats for SportsPress] Game logs for players on multiple teams](https://wordpress.org/support/topic/game-logs-for-players-on-multiple-teams/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/game-logs-for-players-on-multiple-teams/#post-16460838)
 * Thanks for the quick response!
 * So once I upgrade to Pro and add more teams for the players, your plugin will
   automatically detect those additional teams and show all gamelogs for a player,
   even if he has 2 or 3 teams?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Remove sidebar from players page](https://wordpress.org/support/topic/remove-sidebar-from-players-page/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/remove-sidebar-from-players-page/#post-16232923)
 * Thanks.
 * [https://snipboard.io/vb79Rz.jpg](https://snipboard.io/vb79Rz.jpg)
 * This header, which is on all player profiles.
    And also maybe modify font size.
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Adding Awards/Accolades?](https://wordpress.org/support/topic/adding-awards-accolades/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/adding-awards-accolades/#post-16232917)
 * Got it, ok thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Remove sidebar from players page](https://wordpress.org/support/topic/remove-sidebar-from-players-page/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/remove-sidebar-from-players-page/#post-16225434)
 * I thought since the player page is created by Sportspress, there could be a custom
   CSS I can use to update the header on just those player pages. Everything else
   thats controlled by my theme is fine. Thanks in advance!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SportsPress - Sports Club & League Manager] Adding Awards/Accolades?](https://wordpress.org/support/topic/adding-awards-accolades/)
 *  Thread Starter [sameeralam](https://wordpress.org/support/users/sameeralam/)
 * (@sameeralam)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/adding-awards-accolades/#post-16223418)
 * Thanks.. I believe [http://gbbl.ca/?p=profile&pid=64](http://gbbl.ca/?p=profile&pid=64)
   uses sportspress too? Or is it a different plugin which allows them to have this
   Player Awards tab?
 * See here: [https://ctrl.vi/i/crKSU16AH](https://ctrl.vi/i/crKSU16AH)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/sameeralam/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/sameeralam/replies/page/2/?output_format=md)