GithubHelp home page GithubHelp logo

localjo / quotable-wp Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 1.0 5.22 MB

A WordPress plugin that adds buttons to quotes and text selection that make it quick and easy for your readers to share quotes from your website.

Home Page: https://wordpress.org/plugins/quotable/

License: GNU General Public License v2.0

CSS 1.13% JavaScript 14.18% PHP 84.69%
medium php quotes sharing sharing-ideas social social-buttons social-media text-selection twitter wordpress-plugin

quotable-wp's Introduction

Hola, hello, sziasztok! ๐Ÿ‘‹

  • Just a kid from Akron ๐Ÿฆ˜ ๐Ÿ‡บ๐Ÿ‡ธ
  • Aplatana'o ๐ŸŒ ๐Ÿ‡ฉ๐Ÿ‡ด
  • Nem cserรฉlnek el kecskรฉre! ๐Ÿ ๐ŸŒถ๏ธ ๐Ÿ‡ญ๐Ÿ‡บ
  • TypeScript/React/Python โš›๏ธ ๐Ÿ ๐Ÿ’ป
  • Humanist and global citizen โค๏ธ ๐ŸŒ

Que la curiosidad sea mรกs grande que el miedo!

quotable-wp's People

Contributors

localjo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cdharrison

quotable-wp's Issues

Patreon integration

Add the ability to check Patreon patronage levels of users with the Patreon WordPress Plugin.

There seems to be some unofficial documentation about how to do this here: https://paper.dropbox.com/doc/Patreon-WordPress-how-to-lock-any-part-of-your-Website--AbIfW2McceTuN5ZMcBIYogxiAg-dqneEVjvuYrPbkEJfOuhG

The code could be reverse engineered from here: https://github.com/Patreon/patreon-wordpress/blob/master/classes/patreon_wordpress.php

And I asked for more information on the Patreon Developers forum: https://www.patreondevelopers.com/t/function-documentation/1737

I don't think the Patreon API itself is needed for this, but just in case, that can be found here: https://docs.patreon.com/#api-libraries

v2.0 Roadmap

This is the roadmap for version 2.0:

  • Better code organization that follows the WordPress guidelines
  • Extract front end functionality to separate JS module that can be installed in other projects
  • Remove call to platform.twitter.com
  • Add support for Gutenberg block editor
    • Migrate metabox to Gutenberg document settings sidebar
    • Add block variation to enable/disable quotes
  • Hide quotable post/page settings if disabled on site
  • Internationalize all strings and add Spanish translation
  • Add what's new / support message on install/update
  • Add settings shortcut in plugin list
  • Make JavaScript settings extensible
  • Add survey request on uninstall (?)
  • Add support for twitter:// protocol (?)
  • Test citation behavior
  • Test fresh install
  • Test multisite
  • Improve copy and styles on all UI elements
  • Test with older versions of WordPress
  • Update screenshots, social media images, and meta
  • Double check code standards and guidelines

Add Sign-in With Patreon

Use OAuth to add an option for plugin users to authenticate with their Patreon account.

This will require setting up an AWS Lambda function to store Patreon secret keys and generate tokens, which can then be stored in the plugin's databased and be used to access the Patreon API and figure out the user's patronage level.

Undefined $post in get_post_field function

In the enqueue_scripts() function in public/class-quotable-public.php (line 130), $post is undefined.

$post_author_id = get_post_field( 'post_author', $post->ID );

This causes this warning:

ErrorException
Warning: Undefined variable $post

To fix it, just add global $post; at the beginning of the enqueue_scripts() function.

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.