Giter Site home page Giter Site logo

oscarssanchez / wp-dexter Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 4.7 MB

Plugin on WordPress.org. WP-Dexter is the WordPress version of the handy Pokémon encyclopedia, ready to be displayed end envied by everyone on your wordpress website. Gotta catch'em all!

Home Page: https://wordpress.org/plugins/wp-dexter/

PHP 73.87% CSS 2.38% JavaScript 23.75%

wp-dexter's Introduction

Select an image, add text, and choose a link.

WP-Dexter

WP-Dexter is the WordPress version of the pokémon encyclopedia, ready to be displayed on your wordpress website. Gotta catch'em all!

Contributors: oscarssanchez
Tested up to: 4.9 Tags: widget
License: GPLv2 or later
Requires PHP: 5.4

Description

WP-Dexter is the widget version for WordPress of the handy pokémon encyclopedia. It makes use of the pokéAPI(http://pokeapi.com).

WP-Dexter can be configured to display custom data like: show height, weight or pokémon type. Dexter also displays Pokémon stats graphically. It can be configured to display only pokemón from specific generations.

Screenshots

Select an image, add text, and choose a link.

Installation

  • Upload the folder to your /wp-content/plugins/ directory
  • Activate the plugin through the 'Plugins' menu in WordPress

Changelog

1.0.1

  • Now Dexter displays pokemón stats with the help of D3
  • Pokémon list rendering is now part of a function, which makes easier to maintain the plugin as pokemón gens are added.

1.0

  • First version

wp-dexter's People

Contributors

oscarssanchez avatar

Stargazers

 avatar Ryan Kienstra avatar

Watchers

James Cloos avatar

Forkers

oscarssanchezz

wp-dexter's Issues

Add ability to select one Pokémon to display

Users may not want to display random Pokémon from a given generation and may just want to display a particular Pokémon, providing such functionality would be great. Also, considering some form of caching when that option is enabled would be good, as it would not make sense to request Pokémon data to the pokéAPI.

Switch from post meta approach to shortcode

It is more efficient and also can be used on a broader type of situations if we make it a shortcode/block rather than just confining its use to a widget. This way it can be used outside of the widget area. This would mean we have to remove the settings page altogether.

Stop Displaying Pokémon metabox in Dexter's admin area.

I've noticed Dexter slows down wp-admin when the plugin is enabled. Since the Pokémon metabox is not really used in Dexter's settings, it makes sense to stop displaying it, and only display the metabox when it is used as a widget. I have not noticed dramatic slowdowns in the front-end so far

Solve notices

Function register_block_type_from_metadata() was called incorrectly. Block "wpdexter/dexter" is declaring fontSize support in block.json file under supports.fontSize. fontSize support is now declared under supports.typography.fontSize.

Function register_block_type_from_metadata() was called incorrectly. Block "wpdexter/dexter" is declaring lineHeight support in block.json file under supports.lineHeight. lineHeight support is now declared under supports.typography.lineHeight

Style charts

It wouldn't hurt styling a little more the stats chart, they don't look that bad, but maybe using a gradient to color them instead of plain color might be good. An animation transition would be awesome too.

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.