BLWBebopKid
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: The CSS for table stripes is loading after the Custom CSS.Adding .wp-block-table worked perfectly. I added the !important after that just to make sure in the future. Thanks all.
In that case I’ll just turn off Jetpack Comments and look for comment plugins that work correctly.
Forum: Plugins
In reply to: [Media Categories] Gallery with Multiple Media CategoriesI’ve never used it before, but I think I just did what you requested on github.
Thanks,
Forum: Plugins
In reply to: [Media Categories] Gallery with Multiple Media CategoriesI finally found where to change the code:
I added an if statement and an explode. I think the if statement isn’t needed since explode would return a one element array without a comma.
if( !empty($$mc_tax) ){ $term = ${$mc_tax}; //BebopKid added this if statement to split the categories if( strpos($term,',') ){ $term = explode(',',$term); } //End of BebopKid edit $term_field = (is_numeric($term)) ? 'id' : 'slug'; $tax_query = array( 'tax_query' => array( array( 'taxonomy' => $mc_tax, 'field' => $term_field, 'terms' => $term ) ) );
Forum: Plugins
In reply to: [Media Categories] Gallery with Multiple Media CategoriesIt is working for single categories.
I’ve looked through the code, but as a wordpress newbie I’m lost as to where it parses the category, so I’d much appreciate it if you add that on the next release.
Or if you point me in the right direction, I would be happy to send you any code I change so you could include in or modify for an update.
Thanks so much.
Forum: Fixing WordPress
In reply to: Need Page Formatting help for PostsThanks so much.
It isn’t as pretty so I’ll have to work on the CSS to improve it, but the behavior is now correct.
Forum: Plugins
In reply to: [Media Categories] Gallery with Multiple Media CategoriesActually, it doesn’t show any images with [gallery category=”cat1,cat2″]