- Alecaddd/WordPressPlugin101: Official repository of the series of tutorial on How to Create a WordPress Plugin from scratch: https://www.youtube.com/playlist?list=PLriKzYyLb28kR_CPMz8uierDWC2y3znI2
- Create a WordPress Plugin from Scratch - Part 1 - YouTube
- Alessandro Castellani - YouTube
- Create a WordPress Plugin from Scratch - Part 1 - YouTube
- How to create a Premium WordPress Theme - Introduction - YouTube
- How to Create a WordPress Mega Menu from Scratch - Part 1 - YouTube
- [AWPS Setup - WordPress Starter Them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Support\Facades\Auth; | |
class Role | |
{ | |
/** | |
* Handle an incoming request. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cleanString($text) { | |
$utf8 = array( | |
'/[áàâãªä]/u' => 'a', | |
'/[ÁÀÂÃÄ]/u' => 'A', | |
'/[ÍÌÎÏ]/u' => 'I', | |
'/[íìîï]/u' => 'i', | |
'/[éèêë]/u' => 'e', | |
'/[ÉÈÊË]/u' => 'E', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing ImageMagick | |
In this topic you will find the basic steps you need to take in order to make sure all KTML image editing features are working fine. This includes the installation of the ImageMagick library for both Unix and Windows systems. | |
Note: The steps depicted in this topic are accurate and available at the time of this writing. For up-to-date instructions on how to install the latest ImageMagick version available, check out the product's installation instructions - online, or in the downloaded package. | |
Installing ImageMagick on Windows-based systems | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Command to disable Adobe Creative Cloud running automatically on Mac startup: | |
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist | |
Command to re-enable: | |
launchctl load -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Enqueue bootstrap-V4.1 to plugin or theme */ | |
function addBootStrapSupport($hook,$pageSlugs=array()){ | |
//dd($hook,$pageSlugs); | |
if(is_array($pageSlugs)&& !empty($pageSlugs)){ | |
$page = explode('_',$hook); | |
if(!in_array(end($page),$pageSlugs)){ | |
return; | |
} | |
} | |
wp_enqueue_style( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Enqueue bootstrap-V4.1 to plugin or theme */ | |
function addBootStrapSupport($hook,$pageSlugs=array()){ | |
//dd($hook,$pageSlugs); | |
if(is_array($pageSlugs)&& !empty($pageSlugs)){ | |
$page = explode('_',$hook); | |
if(!in_array(end($page),$pageSlugs)){ | |
return; | |
} | |
} | |
wp_enqueue_style( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Please only run IF YOU ARE SURE YOU SHOULD! | |
# | |
# This script will remove PHP and attempt to install the latest | |
# "Stable" version! To help me with LARAVEL installations, it'll | |
# also install composer and turn on mod_rewrite as well if it cannot | |
# be sure it is installed | |
# | |
# @author @JakeLPrice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pecl install memcached | |
When you are shown the prompt : | |
libmemcached directory [no] : | |
answer with : | |
no --disable-memcached-sasl |
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.
OlderNewer