Forum Replies Created
-
AuthorPosts
-
Sinusite
ParticipantPerfect it works.
Thank you !Sinusite
ParticipantThanks it's done & perfect for me ๐
( just see https://support.metabox.io/topic/file_upload-post-edit/#post-2746 )
You can close it !Sinusite
Participantokay, copy that ๐
You can close.Sinusite
ParticipantHi Tan and thanks
i tried this without success :
'hidden' => array('slug:tax_query[taxo_service]', 'in', array('aup', 'ab', 'ae')),
'hidden' => array('tax_query[taxo_service]', 'in', array('aup', 'ab', 'ae')),but i think you're right, the default taxonomies metaboxes are hidden (with css) in my case so the DOM will not be parsed...
Does include/exclude extension is working with fields or only with metaboxes ?
Thanks
Sinusite
ParticipantYes i didnt' know this one. It seems perfect.
But it's just for image not PDF.... any idea ?
I will try something.Thank You !
Sinusite
ParticipantBut wait... the UI is OK in my case in fact.
The problem is the thumnnnail preview and edit/delete links which are not working when file type is in a group.
(but ok when using it with "classic" fields)Sinusite
ParticipantOK it will be prefect, thank you !
Sinusite
ParticipantHi Anh,
yeah, that's correct thank you.
But when using in a group, i got a warning (when a new post is created) :Warning: Invalid argument supplied for foreach() in ...\wp-content\plugins\meta-box\inc\fields\file.php on line 156
but especially i don't have the beautiful preview & edit link wanted after saving ๐
Sinusite
Participantok Thanks !
Last question (before the next one :p ):
What does your "MB Include Exclude" plugin can bring me more ?Sinusite
ParticipantHi Tan,
Thanks for you quick answer and amazing work.What is the best syntax for multiple fields to hide with the same conditions ?
i.e. :
$conditions['tagsdiv-maitreo'] = array( 'hidden' => array('parent_id', '>', 0 ) );
$conditions['postimagediv'] = array( 'hidden' => array('parent_id', '>', 0 ) );
$conditions['sbg_box'] = array( 'hidden' => array('parent_id', '>', 0 ) );regards.
Sinusite
ParticipantOk... it's workin perfectly for meta-boxes with
'visible' => array('parent_id', '=', ''),
For notice, a comma is missing in the doc
'visible' => array('parent_id', '!=' '')
But how to with the WordPress Metaboxes ? (For example postexcerpt ou a taxonomy_div for a CPT)
Thank You !!Sinusite
Participantmmmm looks like https://support.metabox.io/topic/if-is-parent/ lol
May be i've chosen the wrong extension :p ? -
AuthorPosts