Articles by Daniel Pataki, Author at WPShout A hub for advanced WordPress users, developers & savvy business owners. Mon, 02 May 2022 08:23:56 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 https://iotvnaw69daj.i.optimole.com/cb:mLvy.66914/w:32/h:32/q:mauto/f:best/https://wpshout.com/wp-content/uploads/2024/04/cropped-main-icon1x.png Articles by Daniel Pataki, Author at WPShout 32 32 The WordPress Plugin Boilerplate 101: How to Get Started https://wpshout.com/the-wordpress-plugin-boilerplate-101/ https://wpshout.com/the-wordpress-plugin-boilerplate-101/#comments Mon, 01 Jun 2015 13:05:37 +0000 https://wpshout.com/blog/?p=5103 Since the inception of WordPress plugins many years ago not a lot has changed in the way we write them. There's a main plugin file with a header followed by the Wild West basically. Apart from using hooks, there is no standardized way of making plugins. In this article, we'll look at one possible solution - WordPress Plugin Boilerplate. It is meant to be a starting point for plugin development, an object oriented way of creating a standardized plugin.]]> https://wpshout.com/the-wordpress-plugin-boilerplate-101/feed/ 2 WordPress Hooks: Beginner’s Guide to Adding Your Own Hooks https://wpshout.com/adding-your-own-wordpress-hooks/ https://wpshout.com/adding-your-own-wordpress-hooks/#respond Sun, 01 Feb 2015 20:15:19 +0000 https://wpshout.com/blog/?p=2492 Plugins are the way to extend WordPress. The reason it is so easy to make WordPress do your bidding has to do with hooks that are littered across the source code. Want to do something as soon as a post is published? Want to modify the excerpt length? Want to create your own page view… Read More »WordPress Hooks: Beginner’s Guide to Adding Your Own Hooks]]> https://wpshout.com/adding-your-own-wordpress-hooks/feed/ 0 Here’s How to Retrieve Any Post You Want With WP_Query https://wpshout.com/getting-posts-wp_query-class/ https://wpshout.com/getting-posts-wp_query-class/#respond Fri, 19 Dec 2014 14:00:04 +0000 https://wpshout.com/blog/?p=1776 If you’ve built simple themes in the past, chances are the need to retrieve posts on your own didn’t arise. After all, WordPress loads the most recent 10 posts on the main page and the correct posts on archive pages. What about more complex scenarios? What if you would like a sitemap of sorts and you want to list all your posts and pages ordered by date?]]> https://wpshout.com/getting-posts-wp_query-class/feed/ 0 featured image