Support » Plugin: KC Settings » Page List Drop-Down not functioning

  • Hello,

    I am trying to display option with “pages” list. but plugins giving “categories” list.

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

    (@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.