Using and Editing a plugin
-
I only add small snippets of code in an mu-plugin to add functionality and install plugins.
I like the infinite scroll that comes is included with jetpack by automatic for my multisite, but I prefer to have it without having jetpack installed.
All I did was put the infinite-scroll javascript file in a new directory, put infinite-scroll php file in an mu-plugin file, edited a couple of bits of code such as enqueue the the new location of the infinite-scroll javascript file and put code at the bottom to make it work properly for all my themes. I am not sure yet whether I will turn this into a plugin for users to enable or disable.
Do I make any changes to the plugin info:
/*
Plugin Name: The Neverending Home Page.
Plugin URI: http://automattic.com/
Description: Adds infinite scrolling support to the front-end blog post view for themes, pulling the next set of posts automatically into view when the reader approaches the bottom of the page.
Version: 1.1
Author: Automattic
Author URI: http://automattic.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/Thanks in advance
The topic ‘Using and Editing a plugin’ is closed to new replies.