10 WordPress Things I’ve learned working with 10up

feat-10up-learned
Reading Time: 8 mins

It’s been half a year since I joined the 10up team and I’ve been learning so much about the CMS I love so far. Working with a company where I can continue my WordPress adventures full time has been a rewarding experience. I’ve met new people, dived into open source, and made new discoveries in WordPress. Since it’s long past due for a new post here on RachieVee, I’d love to share 10 WordPress things I’ve learned working with 10up – a mixture of newly discovered tools, techniques and functions!

Spoiler alert, I’ve written more than ten and there are front-end related things too. Confession, I just wanted to use the whole 10 things with 10up title.

Continue reading 10 WordPress Things I’ve learned working with 10up

How to use the Button Element to improve Accessibility

https://www.flickr.com/photos/76283671@N00/184615745/in/photolist-hjcQ6-CT5pgQ-CumdwX-C5sAhC-28Zs7-4mU9Lt-6k7SvT-7cn5Yc-CtPwUF-p3X3-8UrcuU-C4NGDa-D3DzE-CAcJt3-oHuf4E-6pvEaD-5YKd7r-6qKhSD-7RpaW4-iKvMQ-4nbvGA-CcLRR-jhS3Ep-egcA6-8wJLSe-8Dey8L-3Z77Ko-29MJtF-xj9c79-6V5kt-5cP2kU-2ZeTTp-46bus-otp6bE-9M2nbC-ksbHbc-6Dy3TG-a7VyM4-7y7VvK-CZY8Eo-5dYszS-5MfNLD-C4Ftbo-51JLPP-3JDXL-7NKGVh-9EhzwC-9tYUfr-5t6hX2-3FZXdf
Reading Time: 7 mins

I’m still here on my ongoing mission of coding accessibly. There is one HTML element that has become a huge stepping stone for me once I learned how to properly use it. That stepping stone was the button element. What? The button element? Why the heck do we need that? Well, if you’ve ever seen code like below, or have written code like this ( points to herself ), then this post is for you:

 

To be honest, I’d been writing code like the above for years until I realized I was missing opportunities. I know other developers that also write code like the above. Why is this the case? Well, there have been some theories of ignorance and fear being the source. In my case, “semantics” was just one of those words that I didn’t come across in the beginning. I just wanted to build things that I could see. It was like trying to build a cabinet with a box full of tools without truly understanding the tools. Sure I can hammer in all the nails and call it a day. Or I can take the time to see what’s in the toolbox. Maybe I’ll find that a screwdriver might be a better tool for some areas of the end product then a hammer. In the end, using the right tools for the job will result in a higher quality product… or cabinet?

PS: Rachel is no good with analogies…

 

And semantics – what does that even mean? Take it from a gal who was thrown head first into web development from a fine arts degree and had to google words like “repository” during her first week. There’s so much lingo out there! Even now, as a more experienced dev, it makes my head spin. So let’s go over it all, shall we? How to use the button element and when it’s the right tool for the job.

Continue reading How to use the Button Element to improve Accessibility

Putting Myself First & Giving Back: A Look Back on 2015

By r. nial bradshaw on https://www.flickr.com/photos/zionfiction/8476318804/in/photolist-dV2mgE-A1QrAj-7fpmug-z22ZrN-8RvoTq-7GxjXM-63bjQP-a6c64L-a6c64E-6vyA5d-9GRAgG-4w2gEC-4KTfF7-6j28mn-7TTPV2-fErV1D-4LHvh3-3uZid-p4tQFb-PzuJZ-4HrQ2c-rd4dgz-NNngj-Sgqsq-36XUB-8pHKLm-e2gGRZ-73JM8V-qgtimr-5Bmi5g-o5z7C-22koQH-hYwMMy-oyingg-5BJNbK-uNX4QE-bvRwn8-fo6USy-o9oyV3-eNP75-4XgT7u-cjhHnu-e2nkEU-5Pi9yc-QhL7A-88LTEr-8Zky84-rCynoP-bfaphZ-Hi1Nu
Reading Time: 5 mins

I know it’s the last day of 2015, and new content has been less frequent than usual. However, I wanted to take time this morning to write as so much has happened throughout 2015. 2015 was a year of changes, for this blog, RachieVee, personally and professionally. It’s pretty amazing to see how far I’ve come and  I’m looking forward to what the new year brings.

Continue reading Putting Myself First & Giving Back: A Look Back on 2015

Did you miss WordCamp NYC 2015?

Test
Reading Time: 4 mins

WordCamp NYC came to town this past weekend on Halloween! There was candy, costumes, cupcakes, and of course – awesome speakers! It was a great way to gather a new list of influential people to follow on Twitter and a new reason to hoard all the free swag. If there’s anything I learned from last year’s WCNYC, it’s that WordCamp is only getting better. I’ve learned a lot and a lot has changed since the last time I attended a WordCamp. I’d like to share that experience along with a late Halloween treat for those who may have missed the event.

Obvious, not so obvious hint – speaker slides list! Grab your leftover candy and let’s get to it.

Continue reading Did you miss WordCamp NYC 2015?

How to get WooCommerce Category Info with an ID

Tutorial Difficulty Level: Advanced

featWooCommerceCatByIdTWO
Reading Time: 8 mins

The universe has been telling me to write this post for a very long time. The first time was a year-ish ago, when I googled how to get WooCommerce category data with an ID and couldn’t find a clear answer. “Hey, this is a pain to find an answer for – this should be a blog post!” The second time was after I had posted a question on the WordPress Stack Exchange to find an answer, and then I answered it myself. “Whoa – I figured this out! I should tell people about this!”

Then that question eventually ended up earning me a “most popular question” badge. “Damn it, Rachel, people want to know about this – write a damn blog post!”

Okay, so I didn’t do it. Time passed and it was exactly yesterday ( when I began writing this post ), I was working in WooCommerce again, in the zone, went to google, and this happened:

Yep, that’s right everyone. I ended up googling the same problem I had already once resolved and ended up at the same Stack Exchange question I both asked and answered. All right, universe. You win this round.

To make sure I never ever forget I know how to do this again, I’m going to write it down! How to get the WooCommerce product category name, link, image, all the things with PHP so long as you have an ID to use, step by step, in tutorial form.

Before We Get Started:

  1. This assumes you’re familiar with PHP loops, objects and variables.
  2. This is a WooCommerce tutorial yay!
  3. I am using Advanced Custom Fields for this walkthrough, but you can use other methods like a regular Custom Field and re-work this solution to your purposes.
  4. I am getting category information on a page other than the category archive. If you’re on a category archive, check this WooCommerce documentation first for a head start. I found that the method there and the method I’m writing here are a little different depending on the template you’re working in.
  5. This solution is meant to work inside the loop.

Continue reading How to get WooCommerce Category Info with an ID