Technology, wordpress

How to connect Bitbucket and WP Engine?

Create a Bitbucket Repository: If you don't already have a Bitbucket repository for your WordPress project, create one by logging in to your Bitbucket account and selecting "Create repository." Provide the necessary details and initialize it with your project code.Generate API Key in WP Engine: Log in to your WP Engine account and navigate to the "User Portal." Go to the "API Keys" section and generate a new API key. Take note of the key, as you will need it later to authorize Bitbucket to access your WP Engine environment.Configure Bitbucket Pipeline Settings: In your Bit

Technology, wordpress

Mastering Debugging in WordPress: A Comprehensive Guide

Debugging is a crucial skill for any WordPress developer or website owner. It helps identify and resolve issues that may be affecting the functionality, performance, or security of your WordPress website. In this article, we will delve into the world of debugging in WordPress, exploring various techniques, tools, and best practices to effectively troubleshoot and resolve errors. I. Understanding WordPress Debugging Modes: WordPress provides different debugging modes that control how errors are displayed and logged. These modes include: WP_DEBUG: Enabling this mode di

wordpress

List of parameters that can be pass through wp_query constructor to create a new query object in wordpress

<?php /** * WordPress Query Comprehensive Reference * Compiled by luetkemj - luetkemj.com * * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query * Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php * Source: https://gist.github.com/luetkemj/2023628 */ $args = array( //////Author Parameters - Show posts associated with certain author. 'author' => 1,2,3, //(int) - use author id [use minus (-) to exclude authors by ID ex. 'author' => -1,-2,-3,] 'author_name' => 'luetkemj', //(strin

wordpress

create plugin by wordpress cli

By using scaffold command we can create plugin and custom post type https://youtu.be/rFKK2vHRGWM For plugin command is following wp scaffold plugin <slug> --plugin_name="<plugin name" --plugin_description="<plugin description>" --plugin_author="<author>" --plugin_author_uri="<author uri>" --plugin_uri="<plugin url>" if you want to skip test then following command wp scaffold plugin <slug> --plugin_name="<plugin name" --plugin_description="<plugin description>" --plugin_author="<author>" --plu

wordpress

How to Install and Setup WordPress Multisite Network

You need to add the following code to your wp-config.php file just before the /* That’s all, stop editing! Happy blogging. */ line. /* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); Go inside tool and click on Network setup menu. At there you will get some code for update wp-config and .htaccess Remove below code from config define( 'WP_ALLOW_MULTISITE', true ); Login again and create sub sites