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
<?php | |
/* | |
Plugin Name: Custom Registration Fields | |
Plugin URI: | |
Description: | |
Version: 0.1 | |
Author: CSSIgniter | |
Author URI: | |
License: GPLv2 or later | |
License URI: http://www.gnu.org/licenses/gpl-2.0.html |
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
TAKE SOMETIME AND READ WHAT I DISCOVERED ABOUT THE UNTOLD WORLD OF TAXIs/MATATUs IN KAMPALA. | |
By Henry Mutebe | |
Forgive me …I am going to use very informal language here. Okay? Alright…so…out of curiosity (the burden of an inquiring mind), I had a wonderful conversation with a taxi driver to understand the matatu/taxi business in Kampala. Initially, I simply wanted to keep the driver awake. Seated next to him, I realized I could do a good job asking and learning a few things from him while helping him keep awake. As we sped through the silence of the night, I engaged him in a conversation that turned out to be a very interesting learning experience about the organisation of taxi drivers and their business. | |
I asked him to share with me the Hows, Whys, Whats and Whens of the taxi business and who gets what amount of money. This is what he told me about their organisation, business and dynamics of taxis: | |
He said that in the old taxi park, each stage has a committee that governs all the drivers, touts/’conductor |
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
# Code Potent's official .htaccess directives to make your ClassicPress site ROCK! | |
# Prevent directory browsing. | |
Options -Indexes | |
# Enable rewrite engine - you may already have these 2 lines... don't duplicate, if so. | |
RewriteEngine On | |
RewriteBase / | |
# Force SSL connection to everything (URLs, images, scripts, styles, etc) |
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
<?php | |
/** | |
* Plugin Name: Woo Addons Compatibility | |
* Plugin URI: https://github.com/zulfgani/woocommerce | |
* Description: A compatibility plugin for some WooCommerce addons to work with ClassicCommerce. | |
* Version: 10.0.1111 | |
* Author: I have no idea | |
* Author URI: https://ihavenoideapleasedontquoteme.com | |
* | |
* @package Woo Addons Compatibility |
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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_URI} !/wp-admin | |
RewriteCond %{REQUEST_URI} !/wp-includes | |
RewriteCond %{REQUEST_URI} !/wp-login\.php$ | |
RewriteCond %{REQUEST_URI} !/wp-content | |
RewriteCond %{REQUEST_URI} !/feed |
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
<?php | |
/** | |
* Plugin Name: Ignore WP5 Updates | |
* Plugin URI: https://gist.github.com/nylen/44adecb537d65bd4c64be8007cd1523b | |
* Description: Keep a site on WP 4.9.x with security updates | |
* Version: 1.1.0 | |
* Author: James Nylen | |
* License: GPLv2 - https://www.gnu.org/licenses/gpl-2.0.html | |
*/ |
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
add_action( 'graphql_register_types', 'register_dog_type' ); | |
function register_dog_type() { | |
register_graphql_object_type( 'Dog', [ | |
'description' => __( "Man's best friend", 'your-textdomain' ), | |
'fields' => [ | |
'name' => [ | |
'type' => 'String', | |
'description' => __( 'The name of the dog', 'your-textdomain' ), | |
], |
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
# Update php | |
# https://medium.com/zenchef-tech-and-product/how-to-upgrade-your-version-of-php-to-7-0-on-macos-sierra-e1bfdea55a63 | |
curl -s http://php-osx.liip.ch/install.sh | bash -s 7.2 | |
export PATH=/usr/local/php5/bin:$PATH | |
curl -sS https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/local/bin/composer | |
composer --version |
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
Disable the WordPress Admin Bar for all Users and Visitors | |
Turn off the toolbar with one simple line. | |
view plain | |
/* | |
* Disable the WordPress Admin Bar for all Users and Visitors | |
*/ | |
remove_action( 'init', '_wp_admin_bar_init' ); | |
^ top | |
Enable the WordPress Admin Bar for admins only |
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
<?php | |
/* | |
Plugin Name: Query APIs | |
Plugin URI: https://omukiguy.com | |
Description: Plugin Working with External API calls in WordPress. | |
Version: 0.1.0 | |
Author: Laurence Bahiirwa | |
Author URI: https://omukiguy.com/ | |
License: GPL-3.0+ | |
License URI: http://www.gnu.org/licenses/gpl-2.0.txt |