Giter VIP home page Giter VIP logo

docs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docs's Issues

rwmb_the_value Return Warning

here is my code :

    // Page Header & Footer Disabling Metabox
    $meta_boxes[] = array(
        'id'            => $prefix.'page_header',
        'title'         => esc_html__( 'Page Header', 'codexin' ),
        'post_types'    => array( 'page' ),
        'context'       => 'normal',
        'priority'      => 'high',
        'fields'        => array(

            array(
                'id'   => $prefix.'page_banner_background',
                'name'  => esc_html__( 'Banner Background', 'codexin' ),
                'type' => 'background',
            )
           
        ) // End fields
    ); // End codexin_page_header_footer

output :

	$banner_css = rwmb_the_value( '_codexin_page_banner_background', array(''), '', false ); 
Warning: array_filter() expects parameter 1 to be array, string given in /home/yhcizf1aox3h/public_html/humandynamic.dragonlabhq.com/wp-content/themes/codexin/vendors/meta-box/inc/fields/background.php on line 160

Warning: Invalid argument supplied for foreach() in /home/yhcizf1aox3h/public_html/humandynamic.dragonlabhq.com/wp-content/themes/codexin/vendors/meta-box/inc/fields/background.php on line 161 

Doc - Text List

Hello. There was an inaccuracy in the documentation for the Text List field:

This field always stored the value as a serialized indexed array in a single row in the database. Each value in the array is the value of input defined in the options setting.

But the data of the cloned field is stored in this way. For a normal Text List field, the data is stored as follows:

More.

You are able to select multiple values from the predefined list.

Does the option datalist mean? If "Yes", then how correctly is it used in the Text List field? I could not get.

Documentation typo - wysiwyg.md

The title of the page wysiwyg.md has the 'w' and 'i' transposed: WYSWIYG. Not a big deal, but I copy/pasted that into some code as the box type and was confused for a while as to why it was not working.

rwmb_the_value() dont work in the field Video

Hello! I check the performance of this code from this page:

rwmb_the_value( $field_id );

But there is an error:
screenshot-wp-test ru-2018-01-26-17-25-09-389

All examples in the Video field documentation work, except this.

In the post is an empty list of two li elements (I have 2 videos).

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.