Cloud Confusing

Explaining hosting, AWS, Wordpress, static sites, and all manner of cloud solutions.

If you are writing a typical WordPress wp query you might not even mention the “post_type” filter, where you limit the post types returned in your query.

If you are looking for a specific post type, or possibly a custom post type, then you will use

'post_type' => 'yourCustomPostTypeName'

in order to only get results from that custom post type (CPT).

But what if you want you want to run a query to get the names of the post types, not the posts themselves?

(more…)

December 31st, 2021

Posted In: Web Development

Tags:

If you are doing custom work on WordPress, you probably are using WP query. These is basically a database, essentially SQL, inside the WordPress template in order to deliver a highly customizable set of posts. With the ability to customize comes a bit of complexity.

One of the weird things that can happen is that a WP query that should yield no results will sometimes return many results. How do you fix this?

(more…)

December 31st, 2021

Posted In: Web Development

Tags: ,

One of the best things (OK, the best thing) about development with WordPress is piggybacking on the available plugins. If you are doing custom development chances are that a plugin probably wasn’t made with your specific use case in mind, so it’s often necessary to some work to get the plugin’s functionality and your goal to match. With that in mind, you have probably recently asked yourself, “Can I use a WordPress shortcode in my theme, as opposed to just inserting it into the text body?”

Good news,: you definitely can.

(more…)

May 3rd, 2019

Posted In: Web Development

Tags:

Recently, while working on the next version of the Post Expiration Date WP plugin, I’ve spent a lot of time exploring WordPress’ handling of dates and time. This has been an interesting, often frustrating time but I’ve learned a lot and found a number of great resources on the subject. Here are some of the top ones.

(more…)

January 21st, 2019

Posted In: Web Development

Tags: ,

In the market for budget WordPress hosting? The competition for your business is immense, but that doesn’t mean you — as a consumer — will benefit in the end. The hosting business is largely a race-to-the-bottom where price sensitivity has overtaken user experience. Any buyer must go into the purchase in a defensive mindset, with the full expectation that budget hosting is going to come with a few serious catches. This doesn’t mean you need to spend $35 a month to host a WordPress site, but go into the buying decision with your eyes open.

(more…)

September 8th, 2018

Posted In: Web Development

Tags: ,

WordPress is great at scheduling articles (posts) to go live, but what if you want to do the opposite — schedule a post to disappear? For that you need an expiration plugin.

(more…)

August 21st, 2018

Posted In: Web Development

Tags: ,

Have you heard the term “WordPress Gutenberg” thrown around lately and had little to no idea what it means? Don’t worry about it, there’s a fix for that.

(more…)

August 3rd, 2018

Posted In: Web Development

Tags: , ,


© Cloudconfusing.com 2022 | Privacy Policy | About | UTM Creator | CVE Reporting