Giter Club home page Giter Club logo

plugins-list's Introduction

Plugins List

This is a simple community Wordpress plugin aimed at giving credit where credit is due.

The plugin inserts an XHTML list into any post/page through a shortcode. If you're into customization, you can specify a format argument and indicate the exact output you are after. There's also an option to display inactive plugins as well.

Features include...

  • A simple template system allows you to format how you'd like the plugin information to be shown
  • Template tags are available for automatically linked items as well as simple text
  • Choose from a number of pieces of plugin data to be output
  • Display inactive plugins as well as active plugins if you wish
  • Automatically limit long descriptions to specific lengths, and even remove emojis from the output
  • Output is cached to provide a super-quick response
  • A separate shortcode allows you to display how many plugins you have!

Thanks to Matej Nastran's My plugins, from which Plugins list was initially derived.

Iconography is courtesy of the very talented Janki Rathod ♥️

 

plugins-list's People

Contributors

dartiss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

plugins-list's Issues

Introduce an admin where the plugin data can be output without need of a shortcode

Introduce an admin screen, probably under Tools, where the plugin output can be viewed without needing to create a post/page and add a shortcode. The settings could be adjustable and all output will be to a form field so that it can be cut/paste (which is helpful for providing to others for support purposes).

Discussed here, which includes further suggestions... https://wordpress.org/support/topic/text-list-without-a-post/

Add Github links

  • Need to change plugin URL to that of Github in plugin header
  • Add Github link to plugin meta, before Support link

Remove all redundant spacing from description

Need to make sure there isn't any redundant spacing in description (inc trimming of beginning and end).

Make sure I do this after any other changes to the description but before any truncation.

Improved README

  • Better layout
  • Improved examples
  • Details on how to use with block editor

Fix strict PHPCS issues

FILE: /Users/davidartiss/Documents/Github/plugins-list/plugins-list.php
-----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
-----------------------------------------------------------------------
 167 | ERROR | Use Yoda Condition checks, you must.
 167 | ERROR | Use Yoda Condition checks, you must.
-----------------------------------------------------------------------

What's the order parameter?

In my own testing I'm using an order parameter with the shortcode but I can't see this documented anywhere.

Fix PHPCS issues

FILE: /Users/davidartiss/documents/github/plugins-list/plugins-list.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AND 22 WARNINGS AFFECTING 15 LINES
--------------------------------------------------------------------------------
  68 | ERROR   | extract() usage is highly discouraged, due to the complexity
     |         | and unintended issues it might cause.
  70 | WARNING | Variable $format is undefined.
  70 | WARNING | Variable $show_inactive is undefined.
  70 | WARNING | Variable $show_active is undefined.
  70 | WARNING | Variable $cache is undefined.
  70 | WARNING | Variable $nofollow is undefined.
  70 | WARNING | Variable $target is undefined.
  92 | ERROR   | extract() usage is highly discouraged, due to the complexity
     |         | and unintended issues it might cause.
  94 | WARNING | Variable $active is undefined.
  94 | WARNING | Variable $inactive is undefined.
  94 | WARNING | Variable $cache is undefined.
 124 | WARNING | Found: ==. Use strict comparisons (=== or !==).
 125 | WARNING | Found: ==. Use strict comparisons (=== or !==).
 126 | WARNING | Found: ==. Use strict comparisons (=== or !==).
 127 | WARNING | Found: ==. Use strict comparisons (=== or !==).
 129 | WARNING | Found: !=. Use strict comparisons (=== or !==).
 141 | WARNING | Found: ==. Use strict comparisons (=== or !==).
 141 | WARNING | Found: ==. Use strict comparisons (=== or !==).
 176 | WARNING | Found: ==. Use strict comparisons (=== or !==).
 176 | WARNING | Found: ==. Use strict comparisons (=== or !==).
 180 | WARNING | Unused variable $plugin_data.
 183 | WARNING | Found: ==. Use strict comparisons (=== or !==).
 216 | WARNING | Found: !=. Use strict comparisons (=== or !==).
 244 | WARNING | Unused variable $plugins_allowedtags2.
--------------------------------------------------------------------------------


FILE: /Users/davidartiss/documents/github/plugins-list/uninstall.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 20 | ERROR | [x] A closing tag is not permitted at the end of a PHP file
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

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.