https://millionclues.com/wordpress-tips/git-github-basics/
https://millionclues.com/wordpress-tips/git-github-basics/

https://millionclues.com/wordpress-tips/git-github-basics/

By OutsourcedContent — on April 19, 2018 Using the get_file_data() function. More efficient than using get_plugin_data() function. $plugin_data = get_file_data( WP_PLUGIN_DIR . ‘/plugin-folder-name-in-wp-content-plugins-folder/plugin-main-file.php’, array( ‘Version’ => ‘Version’ ) ); $plugin_data[‘Version’] will have the version. To read version from within the same plugin: $plugin_data = get_file_data( __FILE__, array( ‘Version’ => ‘Version’ ) ); Refer: https://wordpress.stackexchange.com/a/285644/90061 Pro…

If you’re using a lot of custom post types then there are very good chance that your search results are displaying some content that you don’t want to display. Even sometimes you don’t want to include pages in search results too. So here is a simple solution to your problem. Adding this WordPress code snippet…

I am sure you must have noticed a ‘Fatal Error : Memory Size Exhausted’ error when you install a lot of plugins, upgrade to the latest WordPress version or even sometime you’ll find an error in your Dashboard widget which prevents them from loading completely. It’s a very common memory size error in WordPress and…

Pages are one of WordPress’s built-in Post Types. You’ll probably want most of your website Pages to look about the same. But sometimes, though, you may need a specific Page, or a group of Pages, to display or behave differently. This is easily accomplished with custom Page Templates. WordPress allows you to create custom page…

Divi is a WordPress theme that web designers do not want you to know. It comes with a drag-and-drop theme builder. You can build beautiful looking unique websites without touching a line of code. Just choose from one of the many pre-made layouts, or pick elements and arrange them any way you like. Divi is…

Google has been supplying the community with a large collection of web-based fonts for quite a few years. There are several ways Google allow you to use these fonts for free on your website. Google also provides instructions for embedding and using these fonts in your website which works great for static HTML websites, but…
