Problem:
Ich hab eine View erstellt die nach einem Custom Field die restultate ordert.
Es ercheinen aber nicht alle resultate oder keine.
Solution:
Dies kann auf den orderby parameter ankommen.
Falls nicht alle posts dieses feld nach dem geordert wird gespeichert haben, werden solche posts ausgeschlossen von der View.
Problem:
How to output labels of selected options of a checkboxes field and not the values?
Solution:
If you output a checkboxes field the stored values are displayed rather than the labels for the options. You cannot output the labels, but you can output custom strings for selected and/or non-selected options, which is available in the GUI when you insert the field, and which will insert the types shortcodes something like this:
[types field='checks' state="checked" option="0"]Custom title 1[/types]
[types field='checks' state="checked" option="1"]Custom title 2[/types]
[types field='checks' state="checked" option="2"]Custom title 3[/types]
The client wanted to be able to do this directly in a PHP template, and the solution in that case is to reproduce the above shortcodes and then use the do_shortcode function.
Problem: After updating Toolset plugins I am seeing several JavaScript errors in wp-admin including the following:
TypeError: Object(f.flowRight) is not a function (In 'Object(f.flowRight)([S("reducerKey"),S("selectorName")])','Object(f.flowRight)' is an instance of Object)
TypeError: undefined is not an object (evaluating 'wp.data.use')