Giter VIP home page Giter VIP logo

pods-extend's Introduction

Pods Starter Plugin

A starter plugin for extending Pods' functionality.

Requires Pods 2.3.18 or later. (Please keep this notice in your plugin and set the appropriate version.)

Instructions

  • Naming

    You will need to change the name of the plugin in a few simple steps:

    • Rename the base plugin folder name and primary PHP file named 'pods-extend.php' to your plugin's name. Make sure the folder name matches the name of the PHP file (without .php on the end).

    • Search for 'pods-extend' and replace with your desired plugin name in all lowercase with dashes between words (if desired).

    • Search for 'Pods Starter Plugin' and replace with your plugin's proper name.

    • Search for 'Pods_Extend' and replace with your plugin's proper name with underscores instead of spaces between words.

    • Search for 'PODS_EXTEND' and replace with your plugin's proper name in all caps. This is for constants.

    • Be sure to set the plugin header meta data. See https://codex.wordpress.org/Writing_a_Plugin#Names.2C_Files.2C_and_Locations.

  • Usage

Tutorials, like winter are coming.

  • Adding options to Pods Admin:

    Check out the example filters in __construct(). Be sure to note the complete example that has example callbacks.

  • Adding a new Pods field:

    See the example class. Don't forget to include the file and initialize the class.

When Not To Use This Plugin

  • If you are not comfortable with object-oriented PHP.

  • When this plugin is overkill.

If you just need to add some code to help implement Pods in your site, and do not need what this plugin provides, you may be better served by this plugin. It simply includes a file for your custom code, if Pods is active.

Notes and License

This plugin is based on Base WP Plugin and like Pods and WordPress is licensed under the terms of the GNU General Public License (GPL) version 2.

pods-extend's People

Contributors

quasel avatar shelob9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pods-extend's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.