This is the ultimate guide to centering elements like images, text, and just about anything else using CSS. Have you ever needed to pass a variable to a template part in WordPress? Since the proper was difficult to find, here's the right way. Formidable is a great WordPress forms plugin, but it doesn't include a Customizer control for listing your forms. Here's I made one. You won't believe the simple solution for linking to the Customizer in WordPress. You can also link to panels, section, and controls too! Did you know you can customize the terminology around featured images in WordPress? Check out how to use filters to change the terms. If you're getting an error related to the get_theme_mod function, the solution is simpler than you think. Check out this solution. The WordPress plugin SimpleMap doesn't have great documentation. This post stands as the unofficial shortcode documentation. Using SVGs in WordPress is awesome, but junking up your code is not. Keep your sanity. Use SVGs in your code like this. Adding a custom class to a submit button can make certain designs easier to manage. Check out this super-simple solution. The WordPress submit_button function normally echos the submit button. Find out how to return it, like from a function, instead. Toggling the visibility of a metabox using a form requires the metabox to have a custom class. This is how to add custom classes to a metabox. Using a datepicker when choosing dates is a much nicer user experience. See the best way to add a jQuery DatePicker to a WordPress plugin. I needed to customize the layout of the WordPress Dashboard for every user. Thankfully, there hooks and filters that make it easy. Getting a particular user by their metadata is not possibile with built-in WordPress functions, but this function does the job.