Skip to content

Instantly share code, notes, and snippets.

View Asok17's full-sized avatar

Ashok Lama Asok17

View GitHub Profile
@Asok17
Asok17 / install-wp-plugins.php
Created December 16, 2022 06:13 — forked from hansschuijff/install-wp-plugins.php
Programmatically install and activate wordpress plugins
<?php
/**
* Plugin Name: Activate required plugins.
* Description: Programmatically install and activate plugins based on a runtime config.
* Version: 1.0
* Author: Hans Schuijff
* Author URI: http://dewitteprins.nl
* License: MIT
* License URI: http://www.opensource.org/licenses/mit-license.php
*/
@Asok17
Asok17 / gist:6533a2544463887a41ebb040c40a817c
Last active February 20, 2019 10:14
StyleBlog Plus - Read More
/**
* Filter to alter excerpt more text
*/
if( !function_exists( 'styleblog_plus_excerpt_more' ) ) :
/*
* Excerpt More
*/
function styleblog_plus_excerpt_more( $more ) {
if( is_admin() ) {