Begin
Forum Replies Created
-
Thanks! How do i check this?
Forum: Plugins
In reply to: [Elementor Website Builder - More than Just a Page Builder] Add icon fontsThanks @arielk-1 that’s a great plugin and works great! ill comment that on the github also if someone looks for something like that.
Let me quote my self ??
But then on a lot of different screen widths (that still fall in the “desktop” category) my logo column width would be very large and there for far from my menu links. and same thing for the others…
Forum: Plugins
In reply to: [CMB2] Echo taxonomy select valueThanks. Ended with:
get_terms( array('taxonomy' => 'protags_taxonomy','fields' => 'id=>name',) );
(Both for the config options and for the echoing code).
- This reply was modified 6 years, 8 months ago by Begin.
Forum: Plugins
In reply to: [CMB2] Echo taxonomy select valueJust notice that i edited last post (incase you get the first version by mail).thanks.
Forum: Plugins
In reply to: [CMB2] Echo taxonomy select valueIf it was a reguler select (not taxonomy select), for example:
$workdays_box->add_field( array( 'name' => '??? ????? '.$i, 'id' => '_pf_workdays'.$i, 'type' => 'select', 'default' => ' ', 'options_cb' => 'workdays_select_options', ) ); function workdays_select_options() { return array(' ' => ' ','Mo, Tu, We, Th, Su' => '????? - ?????','Mo, Tu, We, Th, Fr, Su' => '????? - ????','Tu, Su' => '????? ??????','Mo, We' => '??? ??????','Su' => '?????','Mo' => '???','Tu' => '?????','We' => '?????','Th' => '?????','Fr' => '????','Fr Plus' => '???? ????? ??','Sa' => '?????',); }
and i would want to echo the value of the selected option i know i would use:
$options = workdays_select_options(); $key = get_post_meta( $post->ID, '_pf_workdays'.$wdi, true ); echo isset( $options[ $key ] ) ? $options[ $key ] : $options[' '];
where
workdays_select_options()
is the function that i use in the config to echo the options of the select field.Now i use select_taxonomy field, and the field config i use is:
$lmsets_names_box->add_field( array( 'name' => 'maintag', 'id' => '_lmsets_names_maintagshow', 'taxonomy' => 'protags_taxonomy', 'type' => 'taxonomy_select', ) );
where
protags_taxonmy
is the slug of the taxonomy i want to use it’s terms as options for that select field.How would i echo the value of option selected in that field?
Forum: Plugins
In reply to: [CMB2] The default parameter don’t work in group fieldsWorks great! Thank you very much!!!
Forum: Plugins
In reply to: [CMB2] The default parameter don’t work in group fieldsThanks. works for me too. will you update here if you fix it? (i really prefer not using the sortable option)
Thank you very much!
Forum: Plugins
In reply to: [CMB2] The default parameter don’t work in group fieldsOh, ok, it sounded like that, but i wasn’t sure ??
Let me know if you need me to test something else to figure this out…
Thanks!
Forum: Plugins
In reply to: [CMB2] The default parameter don’t work in group fieldsDoesn’t seem to fix it for me.
Forum: Plugins
In reply to: [CMB2] The default parameter don’t work in group fieldsthanks! can you explain what exactly in the code that you posted is fixing the problem?
Forum: Plugins
In reply to: [CMB2] The default parameter don’t work in group fieldsHere is a screencast gif of the problem.
Forum: Plugins
In reply to: [CMB2] The default parameter don’t work in group fieldsAlso tried to change the group field’s id so it will clear anything associated with that field. still same problem.
Forum: Plugins
In reply to: [CMB2] The default parameter don’t work in group fieldsAnother very interesting point now i see: (following the last comment) it will clear the select fields!
Forum: Plugins
In reply to: [CMB2] The default parameter don’t work in group fieldsAnother point: when i have only one group field and i hit “remove group” it won’t clear the values (it’s suppose to in the last version right?)