Support Forum ยป User Profile

Forum Replies Created

Viewing 12 posts - 3,691 through 3,702 (of 3,702 total)
  • Author
    Posts
  • in reply to: callbacks #286
    Anh TranAnh Tran
    Keymaster

    Hi,

    Unfortunately there's no way to use this extension without using the Meta Box plugin to register meta boxes.

    If you're using normal way to register meta boxes as shown in the Codex, you have to write your callback to output the meta box and its content. Thus, everything must be done manually.

    If you use the Meta Box plugin, it handles all that work for you, meaning the output of each custom field in the meta box is handled. And only that way, the "Tabs" extension can join the game, e.g. it can help you to change the output to organise fields in tabs.

    So, briefly, if you want to show fields in tabs, please install and use the Meta Box plugin first, then follow the documentation of "Tabs" extension to show fields in tabs.

    Thank you.

    in reply to: Post Parent #285
    Anh TranAnh Tran
    Keymaster

    Hi, thank you for reporting this. I've just checked your code above and found that it's a bug of the plugin. So I update it, please re-download the plugin (with the same link in your email or your profile page) and re-upload it to your host, overwrite old files.

    By the way, I suggest updating the code to register meta boxes to the new style, like this:

    <?php
    add_filter( 'rwmb_meta_boxes', 'trf_meta_boxes' );
    
    function trf_meta_boxes( $meta_boxes )
    {
    	$prefix       = 'trf_';
    	$meta_boxes[] = array(
    		'title'   => __( 'Event Details', 'rwmb' ),
    		'pages'   => array( 'page' ),
    
    		// Register this meta box for posts matched below conditions
    		'include' => array(
    			'parent' => array( 4899 ),
    		),
    
    		'fields'  => array(
    			array(
    				'name' => __( 'Event Date', 'rwmb' ),
    				'id'   => "{$prefix}event-date",
    				'type' => 'text',
    			),
    			array(
    				'name' => __( 'Event Time', 'rwmb' ),
    				'id'   => "{$prefix}event-time",
    				'type' => 'text',
    			),
    			array(
    				'name' => __( 'Event Location', 'rwmb' ),
    				'id'   => "{$prefix}event-location",
    				'type' => 'text',
    			),
    		)
    	);
    
    	return $meta_boxes;
    }

    Thanks.

    in reply to: Can Columns be combined with your new "template" addon? #284
    Anh TranAnh Tran
    Keymaster

    Hi ebanks,

    Yes, the new 'template' extension works with all other extensions.

    Best regards

    in reply to: Which one is better? #238
    Anh TranAnh Tran
    Keymaster

    Yes, that's exactly what they do.

    If you need any help, please let me know ๐Ÿ™‚

    in reply to: Which one is better? #235
    Anh TranAnh Tran
    Keymaster

    Hi Ivo,

    These extensions are very similar, but they're different! The difference is Show Hide uses Javascript to show/hide meta boxes immediately when a condition changes (like selecting a page template, choosing post format, selecting category, etc.). That means the meta boxes always presents in the page, they're only shown/hid via Javascript. While the Include Exclude extension completely removes (excludes) the meta box from the page, no toggle effect when you change a condition, to see the meta box again you have to reload the page.

    Both extensions are fast. Depends on what you need, you can choose one of them (or both).

    in reply to: Getting Started #219
    Anh TranAnh Tran
    Keymaster

    Hi philvip,

    I'm sorry for this inconvenience. Please follow these steps to make the extension work:

    1. As an extension is just a WordPress plugin, you need to install it like a normal WordPress plugin by going to Plugins, click "Add new", then click "Upload plugin".
    2. Choose the .zip file you downloaded from the download link in your email and click "Install now"
    3. After finish upload, click Activate.

    That's all for installation.

    To create tabs for meta boxes (make sure you know how to register meta box and define fields), please follow this documentation (I'll update this docs to cover the installation step above).

    If you need any help, please let me know.

    Thank you.

    in reply to: How to install this include/ exclude plugin ? #200
    Anh TranAnh Tran
    Keymaster

    Hi, thank you for purchasing my include / exclude extension ๐Ÿ™‚

    Regarding your questions:

    Q1: Each extension is simply a plugin. So you can install it like a normal plugin by go to Plugin page, choose Add New, then choose Upload and upload the .zip file.

    After uploading, activate it. That's all.

    Q2: Yes, that's correct. For more information, please read the documentation.

    Q3: To display meta value in the frontend, you should use the function rwmb_meta(), like this:

    echo rwmb_meta( 'field_id' );

    For more information about the function arguments, please read this documentation.

    in reply to: where can I get download link? I paid before. #199
    Anh TranAnh Tran
    Keymaster

    Great that you find the link. Sometimes it goes to spam or trunk mail box.

    If you don't see the link, you can simply go to your profile page in forum and you'll see all download links for products you purchased.

    Thanks.

    in reply to: Problem hiding metabox #152
    Anh TranAnh Tran
    Keymaster

    Hi,

    It's a mistyping bug in the plugin. It's just updated, please re-download the plugin (with the same link in your email or in forum profile).

    Thank you for letting me know the bug.

    in reply to: Validation does not work with Tabs #128
    Anh TranAnh Tran
    Keymaster

    Hi,

    Can you give me the code you use to register meta box please? I've just tested with the demo code and I see the validation works.

    Thanks.

    in reply to: How to include plugin in theme? #116
    Anh TranAnh Tran
    Keymaster

    FYI, I've just released a new extension for show/hide meta boxes using Javascript. Check it here:

    https://metabox.io/plugins/meta-box-show-hide-javascript/

    in reply to: How to include plugin in theme? #99
    Anh TranAnh Tran
    Keymaster

    Hi,

    You did right. To include the plugin inside themes, just include the main plugin PHP file, that's all.

    This plugin doesn't have the ability to show/hide meta box with Javascript. It uses different approach:

    - With Javascript, meta box is still there but hidden. Data is still be processed, which might be redundant
    - In this plugin, include means meta box is visible and data is processed. Exclude means no meta box at all, so no data is processed.

    Using Javascript doesn't really mean "include/exclude" :). It might be something like toggle meta box ๐Ÿ™‚

Viewing 12 posts - 3,691 through 3,702 (of 3,702 total)