Gin
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Archives grid Post template on mobileSomething isn’t right for me, not sure if it’s the theme that only allows 2 x breakpoints for some reason; at 600px I get 2 x columns instead of one and at 768px I get 1 x column instead of two! At 992px it’s ok though, it shows 3 x columns as it should. It’s r’eversing’ what’s in the css below for 600px/768px:
@media only screen and (min-width: 600px) { .wp-block-post-template-is-layout-grid { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; } } @media only screen and (max-width: 768px) { .wp-block-post-template-is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } } @media only screen and (min-width: 992px) { .wp-block-post-template-is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] functions.php ?Hi, I installed the plugin ‘Create block theme‘ to create a Child theme, but to my surprise there was no functions.php file inside! The whole idea with a child theme is to customise CSS and add custom code the functions.php file, as well as overriding other files if/when needed…
I also use the plugin ‘Code Snippets‘ for quick testing, but in the end I always prefer to have a functions.php file.
Anyone out there?
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] (more…) in Query LoopA quick update; I came up with the following for now:
/*hide (more...)*/ a.more-link { color:transparent; font-size:0; }It does the trick, but if anyone knows how to remove this via PHP it would be greatly appreciated.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Archives grid Post template on mobileHi @chillmen, thank you so much will have a look at it.
All the themes I used before had adjustable breakpoints, so I never had to add custom CSS. I quickly realised that this was the first ‘minus’ with TTF.
It will need a lot of custom CSS also for the other elements, for responsiveness.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Archives grid Post template on mobileThanks for this. I have been trying to set up extra breakpoints to get 1 x column with mobile and 2 x with tablet but my code isn’t working.
Please advise.
@media (max-width: 480px) { .wp-block-post-template-is-layout-grid { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; } } @media (max-width: 768px) { .wp-block-post-template-is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }There is a setting in WordPress ‘Appearance > Editor > Templates > Index’: POSTS PER PAGE.
Me too I am considering using 2024 and it’s a bit confusing I agree.
- This reply was modified 2 years, 4 months ago by Gin.
Forum: Plugins
In reply to: [WooCommerce] [Plugin: WooCommerce – excelling eCommerce] SKU – Curious :POk thanks — didn’t know that. Sorry.
Forum: Plugins
In reply to: [WooCommerce] [Plugin: WooCommerce – excelling eCommerce] More TaxonomiesUPDATE
Big thanks to Coen who updated a few things — for example, meta.php will be hook-able. Awesome. I will be using his solution.
Thanks to helgatheviking for reminding me about attributes and for explaining that they were taxonomies.
I still don’t like bacon… some of your google posts came in handy though. Great work.Thanks to royo for reminding me that I need to read more and your overall support is appreciated. I am going to say something silly now: “you guys don’t want me to start learning codes — else you will be out of work — seriously — I would be THAT good!!!” Hey I am joking, take it easy… 😛 I’ll keep doing what I do best… nuthin… niente. I only read adult magazines with pictures, NOT.
For those interested;
My working solution was to use a plugin called GD Custom Posts And Taxonomies Tools, which allowed me to create new WC taxonomies properly, and I’d call them manually in meta.php.If you feel rich (or broke, doesn’t matter really…), say thanks to Coen.
PS: did I tell you about the guy with the dog?
Forum: Plugins
In reply to: [WooCommerce] [Plugin: WooCommerce – excelling eCommerce] More Taxonomies<supra_massive_h1>ALLELUIA</supra_massive_h1>
I got it to work — including URL rewrite — freaking awesome.
And it looks beautiful…
Forum: Plugins
In reply to: [WooCommerce] [Plugin: WooCommerce – excelling eCommerce] More Taxonomies@roleat, we are onto something… keep me updated please. I’ve shared what I could.
If you try my code above ( meta.php + bin link), you will see that taxonomies are showing below the categories and tags on the product page, that’s a start…
But as said, if you click on it, it doesn’t work.The plugin More Taxonomy could work, but it needs a little tweak.
I think there aren’t any “hooks” to show taxonomies where “we” want, so I added the code manually to meta.php.
Otherwise, there is a possible hook, via the Woocommerce_share, but that’s for social icons.
I tried something else as well;
I don’t remember exactly what I did, but at some stage I managed to get it to “work”, but the issues was that when you clicked on the new taxonomy, it would return a standard post view, as opposed to product archive view, and I added the custom taxonomies to the menu. Seriously, I can’t even remember what I did…Forum: Plugins
In reply to: [WooCommerce] [Plugin: WooCommerce – excelling eCommerce] More TaxonomiesAnyone else?
Forum: Plugins
In reply to: Possible to overwrite a WooCommerce Widget?Yeah, it’s pretty good — I tested it, although it’s on the back burner atm, I’ll get back to it. How/where is mbizfreak? Thanks again.
Terry, thank you, you are awesome — have a GREAT SUNDAY!
Forum: Plugins
In reply to: [WooCommerce] [Plugin: WooCommerce – excelling eCommerce] More TaxonomiesYou asked how to add a custom taxonomy?
More taxonomies In WOOCOMMERCE.
Royho provided you with the precise Codex page that shows you how to do this… with a cut and paste-level example.
I repeat myself, this page is/was of NO USE to me. I already knew about it — it did not show anything in regards to adding more taxonomies in Woocommerce.
You also have found the themergency taxonomy generator, so you don’t even need to come up with the code yourself.
Exactly. And don’t forget the More Taxonomy plugin as well… I don’t need help adding more taxonomies in WordPress posts/pages.
If it is seriously of no use at all it is because you could not be bothered to
read and expected someone to do the work for you.I feel bullied. You’re wrong — I read it already, it doesn’t help with Woocommerce in regards to adding taxonomies.
Royho could’ve been more clear about the WooCommerce functionality.
Who says?
WC has built-in something called “attributes” which really are just taxonomies that you can create on the fly. I don’t know if you will read this, but here is the WC documentation on the subject:
http://wcdocs.woothemes.com/user-guide/setting-up-product-attributes/I already know about Woocommerce Attributes thanks, I have already read about it, and I have already tested it a while ago — nothing new to me. These don’t show up below the (META) categories and tags on product pages AND, I might not want to use a sidebar widget… I didn’t ask for Attributes.
Maybe you can tell me how you’ve added attributes to the menu bar?*
Look, no one starts out as a WordPress wizard. We all start out struggling to even find the right way to phrase questions.
Never said I wanted to be a developer.**
But we Google and we ask questions and we read and we read and we read and we try.
I do Google, and funny enough I came across several of your posts/requests including one on this *very topic. No-one told you to go and read a page.
I Googled Woocommerce Taxonomies, and your name cropped up on several occasion, I smiled, because you and I are also interested in the jPalyer — which by no-way, again, no-body told you to go and read more pages when you asked about a 2.1 update…
Just as you catch more flies with honey than with vinegar, you’ll get a lot more FREE help by being courteous.
I speak from the heart AND I am always surrounded by lovely ladies — here is the proof 😉
*I have already purchased 16 x official Woocommerce extensions, 3 x Woothemes, 1 x premium third party Woocommerce theme, 1 x premium third party Woocommerce extension AND a third party annual subscription where I get access to a bunch premium themes. This happened just within a couple of months. If the extension was out there, I would have already purchased it. But I am not happy when I suggest/ask something, and the idea gets “repacked — on sale — no long after”.
So I am being asked for a “use case”…
Then I am being told that it is very easy to achieve…
Further — I am being told to read stuff…
In the end, I don’t see any solution(s) and now I am the “bad guy”.
Ok, I am the bad guy, I can leave with that… until you meet the real bad guys.Why bother asking questions in the first place then? Seriously.
Me too I can around public forums and go and tell people to read stuff… I won’t allow myself to do so, because in my book it is bad manner and pretentious.
I don’t like Bacon. Pigs are my friends.
Forum: Plugins
In reply to: [WooCommerce] [Plugin: WooCommerce – excelling eCommerce] More TaxonomiesUpdate:
– For those interested and/or willing to help — I tried something, I am getting close;
I added the following in my functions.php: http://pastebin.com/qtBHtp3G
Which I generated from: http://themergency.com/generators/wordpress-custom-taxonomy/Then I added the following line in meta.php which is located in woocommerce/templates/single-product/
<br><?php echo get_the_term_list( get_the_id() , 'countries', '<span class="tagged_as"> Countries: ', ', ', '</span>' ); ?>The new taxonomy is showing on the edit page, product page and sidebar, but when I click on it, it goes to the 404 page — technically it does not exist (yet).
Any profesional amateurs out there who want to chime in?