Support Forum ยป User Profile

Forum Replies Created

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • in reply to: Metas for Attachment Post Type #5093
    socialitysociality
    Participant

    ๐Ÿ˜‰ Well if you make any updates, let me know! Thank you for the support.

    Cheers.

    in reply to: Metas for Attachment Post Type #5074
    socialitysociality
    Participant

    I found this article https://code.tutsplus.com/articles/how-to-add-custom-fields-to-attachments--wp-31100

    describing what we are talking about. Take a look at show_in_modal parameter. It is exactly what I want. Maybe you could integrate that into your plugin.

    Cheers.

    in reply to: Define Metas for certain role (Contributor) #5066
    socialitysociality
    Participant

    Hello,

    I use something like this

    	$meta_boxes[] = array(
    		'title' => __('Structure Info', 'colours-of-a-journey-plugin'),
    		'type'  => 'user',
    		'fields' => array(
    			array(
    				'name' => __( 'Name', 'colours-of-a-journey-plugin' ),
    				'id'   => $prefix . 'structure_name',
    				'type' => 'text',
    				'required'	=> true,				
    			),
    		),
    	);

    The required attribute does not seem to work.

    in reply to: Metas for Attachment Post Type #5065
    socialitysociality
    Participant

    Too sad.

    Well, I believe that it should be much more easier for the user to fulfill the metas through the pop up window and not through the page of the attachment (one step more). Does any other of your plugins do that or maybe you could somehow guide me and achieve this?

    Thank you anyway ๐Ÿ™‚

    in reply to: Define the Order of the meta box #5056
    socialitysociality
    Participant

    ok ๐Ÿ™‚

    in reply to: Define Metas for certain role (Contributor) #5029
    socialitysociality
    Participant

    Also,

    Is there a way to make a field as required field?

    Thank you.

    in reply to: Define Metas for certain role (Contributor) #5028
    socialitysociality
    Participant

    Hello,

    What do you have in mind? Something like

    	if ( current_user_can('structure') ) {
    		$meta_boxes[] = array(
    			'title' => __('Structure Info', 'colours-of-a-journey-plugin'),
    			'type'  => 'user',
    			'fields' => array(
    				array(
    					'name' => __( 'Name', 'colours-of-a-journey-plugin' ),
    					'id'   => $prefix . 'structure_name',
    					'type' => 'text',
    				),
    ),
    );
    }

    I am not sure if something like that can work ๐Ÿ™‚

    in reply to: Use of Limit Parameter #4380
    socialitysociality
    Participant

    Hello Anh Tran,

    It worked. Thank you.

    in reply to: Save Decimal into Number field #3360
    socialitysociality
    Participant

    Hello,

    I see. Thanks for the feedback. I will use the "step" field.

    in reply to: Issue upon Saving Group Values in the BackEnd #3269
    socialitysociality
    Participant

    Hello,

    It works now. Thank you for the support.

    in reply to: Issue upon Saving Group Values in the BackEnd #3260
    socialitysociality
    Participant

    Hello,

    Thank you for your answer. I tried that out with no result. Also, the fields I am talking about are "post", "time" and "taxonomy" fields, not "image advanced". Any other ideas?

    Thank you.

Viewing 11 posts - 16 through 26 (of 26 total)