Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

Unyson select type Question

Open alaminsobuj opened this issue 9 years ago • 11 comments

how to select single post category in Unyson theme option please help me . thanks a lot

alaminsobuj avatar Sep 26 '17 10:09 alaminsobuj

you mean this: http://manual.unyson.io/en/latest/options/built-in/multi-select.html

ViorelEremia avatar Sep 26 '17 12:09 ViorelEremia

No .

alaminsobuj avatar Sep 27 '17 03:09 alaminsobuj

I need a single select category.

alaminsobuj avatar Sep 27 '17 03:09 alaminsobuj

Hi, please provide a few more details to what exactly are you referring to

steve-themefuse avatar Sep 27 '17 14:09 steve-themefuse

this type seee this image screenshot

alaminsobuj avatar Sep 27 '17 15:09 alaminsobuj

how to create this type in can unyson . my all category show than i select one by one . not mutli select screenshot

alaminsobuj avatar Sep 27 '17 15:09 alaminsobuj

please i need quick help .

On Wed, Sep 27, 2017 at 9:09 PM, alamin sobuj [email protected] wrote:

On Wed, Sep 27, 2017 at 8:08 PM, steve-themefuse <[email protected]

wrote:

Hi, please provide a few more details to what exactly are you referring to

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ThemeFuse/Unyson/issues/2918#issuecomment-332533014, or mute the thread https://github.com/notifications/unsubscribe-auth/AV2cEq4S30GafFoKbgRARBMYnLUB-L77ks5smlbYgaJpZM4PkAmK .

alaminsobuj avatar Sep 27 '17 18:09 alaminsobuj

'cat' => array( 'type' => 'select', 'value' => 'choice-3', 'attr' => array( 'class' => 'custom-class', 'data-foo' => 'bar' ), 'label' => __('Label', '{domain}'), 'desc' => __('Description', '{domain}'), 'help' => __('Help tip', '{domain}'), 'choices' => wp_list_pluck( get_terms( 'category' ), 'name', 'slug' ) ),

ViorelEremia avatar Sep 28 '17 07:09 ViorelEremia

Thank Your #ViorelEremia Now working I'll show you how to output. If you had the output code

alaminsobuj avatar Sep 28 '17 08:09 alaminsobuj

Please read unyson documentation: http://manual.unyson.io/en/latest/ fw_get_db_settings_option( 'cat' ) http://manual.unyson.io/en/latest/helpers/php.html#database

ViorelEremia avatar Sep 28 '17 08:09 ViorelEremia

Thank u I got all solution

On 28 Sep 2017 2:16 pm, "ViorelEremia" [email protected] wrote:

Closed #2918 https://github.com/ThemeFuse/Unyson/issues/2918.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ThemeFuse/Unyson/issues/2918#event-1269276212, or mute the thread https://github.com/notifications/unsubscribe-auth/AV2cEqtFo-PXjj5mTPHCMGCYa9YCmdtTks5sm1XDgaJpZM4PkAmK .

alaminsobuj avatar Sep 29 '17 11:09 alaminsobuj