Support Forum » User Profile

Forum Replies Created

Viewing 2 posts - 31 through 32 (of 32 total)
  • Author
    Posts
  • in reply to: Form don't show #12908
    13Garth13Garth
    Participant

    Yeah I activated them together. I saw the MB Icon only shows if you have both activated at the same time. I have also added the updater plugin to input my activation code.

    in reply to: Form don't show #12870
    13Garth13Garth
    Participant

    Hi I have my meta boxes working in the back end with all my custom fields. But I just bought the front end submissions plugin and have written my code below. The problem is it just echo's the string onto the page and doesn't put out the front end form. The code is giving me all the right fields in the admin end of wordpress. But trying to use it in the front end, it just echo's the string. And I have added my license key to the updater.

    My php Shortcode

    
    <?php  
        $form = '[mb_frontend_form id="deposit_price"]';
        echo do_shortcode( $form );
    ?>
    

    My php Meta Box Code

    
    function add_meta_fields( $meta_boxes ) {
            $meta_boxes[] = array(
              'id' => 'deposit_price',
              'title' => 'Finance' ,
              'post_types' => array('rentals'),
              'context' => 'normal',
              'autosave' => false,
              'fields' => array(
                array(
                    'id' => 'deposit_price_field',
                    'type' => 'number',
                    'name' => 'Deposit',
                    'placeholder' => 'Just the number : 123456',
                ),
              ),
            );
        return $meta_boxes;
      }
    add_filter( 'rwmb_meta_boxes', 'add_meta_fields' );
    
Viewing 2 posts - 31 through 32 (of 32 total)