Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 3,241 through 3,255 (of 3,708 total)
  • Author
    Posts
  • in reply to: How to get the excerpt from wysiwyg field #3166
    Anh TranAnh Tran
    Keymaster

    The read more tag is made only for posts when we use the_content function. I think the only way to do this is applying the same method as WordPress did in get_the_content function.

    in reply to: Change Map Icon #3165
    Anh TranAnh Tran
    Keymaster

    That's a nice improvement. I've just added that to the development version on Github which will be included in the next version.

    Thanks for contributing 🙂

    Anh TranAnh Tran
    Keymaster

    Ah yes, that's a good idea. I will do that in the next version.

    Anh TranAnh Tran
    Keymaster

    Hi @Saquib,

    I've just tested again and couldn't replicate the bug. I guess the problem is the JavaScript is not refreshed. Can you please refresh the browser to make sure no JS cache?

    in reply to: Autocomplete issue #3143
    Anh TranAnh Tran
    Keymaster

    Hi @Sinusite,

    @Tan Nguyen will answer you the 1st question :). Regarding the 2nd question: are you using password field? We received a request from a user asking for hashing the password and not showing plain password in a hidden field to make it secured. For more info about the hashing function, please read this documentation at the Codex.

    Anh TranAnh Tran
    Keymaster

    Thanks for reporting. We'll check the Group extension again with file_upload field and get back to you asap.

    Anh TranAnh Tran
    Keymaster

    Hi, we're working on that. First we tried to use hidden input as Sam suggested, but it had some problems with cloning feature. So we postpone to find a better solution. We'll update as soon as there's a good solution.

    in reply to: âś…Groups within Tabs #3129
    Anh TranAnh Tran
    Keymaster

    Currently, it's fixed to display_name. I will think more about that and probably will add a filter so you can select which user's field will be displayed.

    in reply to: Meta Box extension updates and MainWP #3126
    Anh TranAnh Tran
    Keymaster

    Hmm, can you try the "Check again" button in the Dashboard > Updates? That forces WordPress to check for updates immediately. I couldn't find anything related to the settings page because it only saves the API key, it doesn't check for update when saving. Is there a chance that you entered incorrect API key previously?

    in reply to: Group field not showing in metabox #3125
    Anh TranAnh Tran
    Keymaster

    Oh, there is a syntax error in your code. Here is the correct one:

    $meta_boxes[] = array(
    		'id'     => 'infos_supp_adherent',
    		'title'  => "Informations sur l'Adhérent",
    		'post_types' => array( 'adherent' ),
    		'fields' => array(
    			array(
    				'name'     => "Nom",
    				'id'       => $prefix . "adherent_nom",
    				"type"     => "text",
    				"required" => true,
    				"clone"    => false,
    			),
    			array(
    				'name'     => "Prénom",
    				'id'       => $prefix . "adherent_prenom",
    				"type"     => "text",
    				"required" => true,
    				"clone"    => false,
    			),
    			array(
    				'name'       => "Date de Naissance",
    				'id'         => $prefix . "adherent_naissance",
    				"type"       => "date",
    				"required"   => true,
    				"clone"      => false,
    				"dateFormat" => "dd/mm/yy",
    			), // Error was here when you close the outter bracket
    			array(
    				'name'   => "Coordonnées",
    				'id'     => $prefix . "adherent_coordonnees",
    				'type'   => 'group',
    				//'required' => true,
    				'clone'  => true,
    				'fields' => array(
    
    					array(
    						'name'     => 'Information',
    						'id'       => $prefix . "adherent_coordonnees_valeur",
    						'type'     => 'text',
    						'required' => true,
    						'clonable' => false,
    					),
    				),
    			),
    		),
    	);
    in reply to: âś…Groups within Tabs #3124
    Anh TranAnh Tran
    Keymaster

    That's nice. I'm slowly working on extensions to make them safe to be included in plugins/themes to make sure they are backward compatible. Currently the Group is done and more extensions will come.

    in reply to: rwmb_meta not working in wp_get_recent_posts #3115
    Anh TranAnh Tran
    Keymaster

    I think it's not a bug. The helper function rwmb_meta works with current post object, e.g. the global $post;. In your loop, you don't use setup_postdata( $post ); to make the current post in the loop the global, so it won't work.

    To resolve this, simply add the 3rd parameter to rwmb_meta like this:

    rwmb_meta( 'radix_eventstart', '', $recent['ID'] );

    in reply to: Does MB Admin Columns work with MB Term Meta? #3113
    Anh TranAnh Tran
    Keymaster

    It's not supported for now. I will add support for terms in a future version.

    in reply to: How to implement multiple-level nested group #3104
    Anh TranAnh Tran
    Keymaster
    in reply to: Insertion manually for group fields #3094
    Anh TranAnh Tran
    Keymaster

    The group's value is an array of sub-fields' values and is saved as a single entry in the database. You can use the following code:

    $value = array(
        'sub_field_value_1',
        'sub_field_value_2',
        // ...
    );
    update_post_meta( $post_id, 'group_id', $value );
Viewing 15 posts - 3,241 through 3,255 (of 3,708 total)