Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Accessing Global Variable in Piklist #9113
    moshemo
    Member

    Thanks – I’ll remember that for the future. In the meantime, I got it to work by removing the function and just using the code in the settings page — like this:

    `
    global $menu;

    $menu_zero = array_column($menu, 0);
    foreach (array_keys($menu_zero, ”, true) as $key) {
    unset($menu_zero[$key]);
    }

    piklist(‘field’, array(
    ‘type’ => ‘select’
    ,’field’ => ‘top_level_menu’
    ,’label’ => ‘Choose Menu’
    ,’choices’ => $menu_zero
    ));
    `

    in reply to: LayerSlider & Piklist #789
    moshemo
    Member

    Thanks – that’s what I was looking for :).

    I’ll take a closer look at that tomorrow and see if I can implement it.

    Be well,

    Moshe

    in reply to: Collapse and Lock Don't Seem to Work #788
    moshemo
    Member

    Shall do – and nice work on the framework – I’m very much enjoying it.

    Be well,

    Moshe

    in reply to: Collapse and Lock Don't Seem to Work #782
    moshemo
    Member

    Okay – I tried it again.   I put in the minimum amount of info I had to in the header, added the Collapse: true and…

    It worked :).

    Don’t know what I did wrong before – either way, it’s working now.

    Thanks,

    Moshe

    in reply to: LayerSlider & Piklist #781
    moshemo
    Member

    Hi there,

    The thing is, I want this to happen dynamically – that is to say, whenever I create a new Layer Slider I want the drop down menu to automatically update (layerSlider 1, LayerSlider 2, LayerSlider 3, etc.).

    Is that possible?

    Thanks and be well,

    Moshe

    in reply to: Fields Not Displaying Properly in Media Library #776
    moshemo
    Member

    Sounds good – thanks.

    in reply to: Collapse and Lock Don't Seem to Work #775
    moshemo
    Member

    They both work in the Piklist Demo Add-on.  I then tried again with my code and lock worked, collapse still doesn’t work.

     

    in reply to: PikList and theme customizer #765
    moshemo
    Member

    I would just like to add that this is something that I would also be interested in.

Viewing 8 posts - 1 through 8 (of 8 total)