GithubHelp home page GithubHelp logo

edwardr / staffer Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 9.0 498 KB

A WordPress plugin that adds staff management and custom profiles

License: GNU General Public License v2.0

PHP 85.91% CSS 7.99% JavaScript 6.09%

staffer's People

Contributors

edwardr avatar mrwweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

staffer's Issues

Ability to change `with_front`

The Staff post type rewrite is set so that with_front is true. Unfortunately, that means you can get profile links like example.org/blog/staff/person/ because with_front appends the page_for_posts slug to the URL.

I suspect that just changing the plugin would probably break links on existing sites, so it seems that a filter might be the best option here. Happy to submit a pull request.

Allow staff bio/content to load more than just text

When you add an audio file / player to the bio content on the backend, it does not display on the frontend because the plugin sanitizes the post content for the data attributes you use to generate the modal window content.

Instead of using a data attribute for the bio content – could you place the complete HTML of the post content in a hidden element to pull from?

Also– it'd be great if we could click anywhere outside of the modal window to close it; not just relying on the small "X" in the upper-right corner.

Thanks!

Profile Icons / Links Inaccessible

At present, there is not text representation of each icon. The plugin should load a screen-reader-text class (for now, until universal theme support is better) and provide an accessible icon label in the source.

When making this change, it may also be worth considering whether icons should have persistently visible labels anyway. For instance, the website icon is not particularly clear.

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.