• Resolved aguissa11

    (@aguissa11)


    hi i need help to publish a form the tutorial of php code in wsform page is broken
    and dosent show how to use the shortcode iam usin this snippet to put the form but no lucky

    add_action( 'end_wcfm_vendor_settings', function( $vendor_id ) {
    	global $WCFM;
    	$wcfm_vendor_company = get_user_meta( $vendor_id, 'wcfm_vendor_company', true );	
    	?>                                
    	<!-- collapsible -->
    	<div class="page_collapsible" id="wcfm_settings_form_additional_head">
    		<label class="fa fa-building"></label>
    		<?php _e('Company Info', 'wc-multivendor-marketplace'); ?><span></span>
    	</div>
    	<div class="wcfm-container">
    		<div id="wcfm_settings_form_additional_expander" class="wcfm-content">
    			<h2><?php _e('Company Overview', 'wc-multivendor-marketplace'); ?></h2>
    			<div class="wcfm_clearfix"></div>
    			    <?php do_shortcode('[ws_form id="4"]'); ?>
    		</div>
    	</div>
    	<!-- end collapsible -->
    	<?php
    }, 50, 1 );
Viewing 1 replies (of 1 total)
  • Plugin Author Mark Westguard

    (@westguard)

    Thanks for letting us know about the code issue in the WS Form knowledge base. We’ve fixed the code examples there.

    I believe you also sent us a support ticket which we have also responded to. If you have any further questions simply respond to the ticket and we’ll be happy to assist further!

    Mark

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode not working’ is closed to new replies.