Giter VIP home page Giter VIP logo

meta-box-text-limiter's People

Contributors

bentzibentz avatar d2roth avatar nhatrangnet avatar rilwis avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

meta-box-text-limiter's Issues

get_value in frontend generates multiple errors

Hi guys,

Using the text-limiter plugin for the first time since my custom one created a long time ago has stopped working and don't have time to fix... :-)

I have a problem though. When I call a limited field in the frontend like this:

$diary_description =  rwmb_meta('diary_description');

I get the following:

Warning: explode(): Empty delimiter in /home/****/public_html/wp-content/plugins/meta-box-text-limiter/text-limiter.php on line 98

Warning: array_slice() expects parameter 1 to be array, boolean given in /home/****/public_html/wp-content/plugins/meta-box-text-limiter/text-limiter.php on line 102

Warning: implode(): Invalid arguments passed in /home/****/public_html/wp-content/plugins/meta-box-text-limiter/text-limiter.php on line 102

Any thoughts?

Cheers,

Will

Feature request: Ability to set a "soft limit"

Hi,

This addon would have been more useful to me if there was an option to set a soft limit, so that once the limit is exceeded it doesn't prevent further input, and rather displays a warning, or appends a class to the field so we can change the background colour.

I've been using the jQuery Text Counter Plugin v0.8.0 plugin up to now, which allows me to do this, but of course the nice thing with the metabox limiter is that it can be set up directly via the field settings rather than custom coding it each time.

https://github.com/ractoon/jQuery-Text-Counter

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.