WordPress Snippet of the Day: WP_Query
A core feature of any web app is the ability to query and render information.
WordPress gives us WP_Query as a simple but versatile tool to do that, without writing SQL queries from scratch.
#wordpress#php
WordPress Snippet of the Day: The `wp_head` Action Hook
Instead of hardcoding snippets directly into header.php or adding heavy plugins for basic tags, use the wp_head hook to output custom head elements directly to your site.
#wordpress#php
Targeting pages with unique styling conditions can be a pain in the neck... Instead of cluttering your templates with inline styles or custom JS, use the `body_class` filter to inject utility classes directly into your theme's <body> tag.
#css#wordpress
You can literally decide today that you want to learn a new skill, like programming, and in around a year from now be in a completely new position in life.
Just depends on if you decide to start and then STAY consistent!
I've been working on what I would like to be my first complete game, using C++ and SFML.
A tower defense style game is the goal; so far I've got a turret that points and fires towards the mouse, and projectiles that explode when they hit the walls.
#cpp#sfml
@NickWagnerAC8QG So true.
However, if the code ACTUALLY looked like this then there's no way anybody is going to be able to tell why it works or why it doesn't π