mywebdesign
Forum Replies Created
-
Hi ozgurgedikli,
I had a similar train of thought in regards to player lists recently, however my understanding is that in order for Sportspress to display the roster, you need to create a player list.
By doing so yo are telling Sportspress “I want to do something with this list of players (be it display, sort, or rank).
The other thing is you have to edit each player and assign a year they played in that league (for career stats), else it assumes all seasons for all leagues.
Just a final update on this one as it might help others (and would be handy if this was updated in documentation).
SP-EVENT-LIST
[event_list id=”2124″ title=”HMATS NO EVENT SPECS” team=”1786″ league=”0″ season=”0″ venue=”0″ status=”publish” format=”default” date=”0″ date_from=”default” date_to=”default” date_past=”” date_future=”” date_relative=”0″ day=”” number=”5″ order=”default” columns=”day,event,teams,time,results,league,season,venue,day,article” show_all_events_link=”1″ align=”none”]If you simply add:
“day” – then that will add your match day column.
“time” – time of event.
“results” – results of event (depending on time/results format under Sportpress>Settings>Events>Event List).
etc etc.Finally getting places with everything ??
Marking this one as solved as the solution was awesomely provided by Savvas in my other thread here:
Thanks Savvas ??
Savvas,
You are an absolute legend mate. Not only has that worked for my test, but also under the other theme as well.
So is it a bug, or is because under SP-EVENT-LIST there is a Match Day option, and so it is filtering based on MATCH DAY?
As a side question, is there a way to display the columns in a different order? (e.g have MATCH DAY displayed first)?
Oops spoke to soon. So it *kinda* works.
WORKING: Event Specs in both SP-EVENT-LIST and SP-EVENT-BLOCK
NOT WORKING: MATCH DAY in EVENT LISTSee screenshot example here: https://ibb.co/Tm2DRgD
Standard SP-Shortcode used is:
[event_list id=”95″ title=”SP-EVENT-LIST” team=”84″ league=”0″ season=”0″ venue=”0″ status=”default” format=”default” date=”0″ date_from=”default” date_to=”default” date_past=”” date_future=”” date_relative=”0″ day=”” number=”99″ order=”default” columns=”event,teams,time,league,season,venue,article,event_specs” show_all_events_link=”1″ align=”none”]
[event_blocks id=”95″ title=”SP-EVENT-BLOCK” event=”” team=”84″ league=”0″ season=”0″ venue=”0″ status=”default” format=”default” date=”0″ date_from=”default” date_to=”default” date_past=”” date_future=”” date_relative=”0″ day=”” number=”99″ orderby=”default” order=”default” show_all_events_link=”1″ align=”none”]
Hi Savvas,
The plot thickens on this one.
Spun up another brand new wordpress install with literally only Rookie theme and Sportspress installed, and it is working.
Must be either something to do with my other install, or a plugin/theme conflicting.
Thanks for your help.
All good with #2, it’s a Hex Core Intel with 6GB RAM. Overkill perhaps but the host is top notch ??
Regarding #3 you’ll have to excuse me as I’m pretty basic when it comes to php/css coding… so does that mean in the PHP for that specific widget I’d run a get post meta call?
and if I wanted to call “LEAGUE” to display the league elsewhere I’d use this?
get_post_meta(post_id,"sp_league",true)
I’ve found the SP_???? under the “class-sp-ajax.php” file. Am I correct that is where I’ll find relevant fields to call?
Okay, well thats a strange one. The fact it’s working for you doesn’t entirely resolve the issue at hand though.
This is a completely clean installation of WordPress, the themes, and dummy data.
So the million dollar question is why it is not working (on either theme) when it should be!
Hi Savvas,
Thanks for your reply.
I do have the columns ticked for the relevant calendars, but still it does not show up.
I’m using Alchemists theme, but even reverting back to Rookie Theme to test I still do not get the “event spec” data showing under any SP-EVENTS-LIST shortcode I drop in.
This is on a demo site mind you as production site is not built yet.
Answered #2 myself. You can at least import 10 events at a time as was able to do that.
#3 waiting on an answer for.
Answered #1 myself – if you add the column with the exact same Name in CSV file, as long as it is at the end of spreadsheet it will work and import.
Forum: Themes and Templates
In reply to: [Astra] Problem with Minicart Menu after updatingDon’t let it put you off ds123.
Astra Pro is still definitely worth the money and works very well.
This is just a bit of an annoying bug, possibly caused by a typo or overwriting of a default colour.
I’ve seen far worse out there from far bigger companies that should know better (and charge a LOT more for their software). Not talking about Microsoft there.
Forum: Themes and Templates
In reply to: [Astra] Problem with Minicart Menu after updatingRESOLVED.
Have just fixed up the code myself and the following code now works 100% of the time regardless the page it is on.
/* AstraPro Woocommerce Cart in widget dropdown menu custom colours */ .widget_shopping_cart_content a,ul {color:#000000 !important;} .woocommerce-mini-cart__total {color:#000000 !important;} .woocommerce-Price-amount {color:#000000 !important;} .woocommerce-mini-cart__empty-message {color:#011f3a !important;} .woocommerce-mini-cart__buttons .button.wc-forward, .woocommerce-mini-cart__buttons .button.checkout.wc-forward {color:#ffffff !important;background-color : #011f3a !important;} .woocommerce-mini-cart__buttons .button.wc-forward:hover, .woocommerce-mini-cart__buttons .button.checkout.wc-forward:hover {color:#ffffff !important;background-color : #029de0 !important;}
Forum: Themes and Templates
In reply to: [Astra] Problem with Minicart Menu after updatingCORRECTION:
After investigation it hasn’t fully resolved the issue.
Using “.widget_shopping_cart_content a,ul,p{” if you use the “,p” it will change the default font colour for all paragraphs on the page.
Also doesn’t fix the issue on the default WooCommerce page.
Still looking into myself.
- This reply was modified 5 years, 2 months ago by mywebdesign.
Forum: Themes and Templates
In reply to: [Astra] Problem with Minicart Menu after updatingTo anyone else having this problem, Priya from Team Brainstorm Force has managed to resolve it for me.
Why the issue occurs I’m not 100% sure, but we use the Astra Pro Cart Widget for Woocommerce.
It appears that during the latest Astra upgrade something has caused the cart dropdown background AND text to default to the same colour as the menu.
As such, white menu text, white background colour on dropdowns.
With the below code (courtesy of Priya) it’s resolved the issue for us.
Please note this may not apply to everyone, is to be put in custom CSS area (or child theme style.css), and may only work for those with Astra Pro using the Woocommerce Cart Widget on menu.
.widget_shopping_cart_content a,ul,p{ color:#000000 !important; } .widget_shopping_cart_content a:hover, .widget_shopping_cart_content li:hover, .widget_shopping_cart_content p:hover{ color:#ff0000 !important; } .woocommerce-mini-cart__buttons .button.wc-forward, .woocommerce-mini-cart__buttons .button.checkout.wc-forward { color:#ffa500 !important; background-color : #ffc0cb !important; } .woocommerce-mini-cart__buttons .button.wc-forward:hover, .woocommerce-mini-cart__buttons .button.checkout.wc-forward:hover { color:#ff0000 !important; background-color : #029de0 !important; }
Thanks for your assistance in resolving this issue.
- This reply was modified 5 years, 2 months ago by mywebdesign.