WordPress.org

Support

Support » Plugins and Hacks » Page List Drop-Down not functioning

Page List Drop-Down not functioning

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dzikri Aziz
    Participant

    @kucrut

    Could you paste here the code you’re using?

    Thanks.

    ok, we make changes, which works for us. changes are as below:
    find and replace:

    function kc_dropdown_options( $args = array() ) {
    $defaults = array(
    ‘prefix’ => ‘kc’,
    ‘mode’ => ‘pages’,
    ‘section’ => ”,
    ‘id’ => ‘pages’
    );

    to:

    function kc_dropdown_options( $args = array() ) {
    $mode = $args[‘field’][‘args’][‘mode’];
    $defaults = array(
    ‘prefix’ => ‘kc’,
    ‘mode’ => ‘pages’,
    ‘section’ => ”,
    ‘id’ => ‘pages’
    );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page List Drop-Down not functioning’ is closed to new replies.