2017-09-09 10 views

答えて

0

あなたがここにこの

// Your Shortcode to output the custom PHP in Visual Composer. 
function my_vc_shortcode($atts) { 
    // Your Custom Php Code Here 
    return '<h2>This is my custom PHP output!</h2>'; 
} 
add_shortcode('my_vc_php_output', 'my_vc_shortcode'); 

チェックのソースコードのように行うことができます。

  1. https://theremotedev.com/custom-php-code-visual-composer-pages/
  2. Insert PHP code into the Visual Composer
+0

フォームのボタンにショートコードを関連付ける方法正式なメカニズムがないので –

+0

ありがとうございました。また、ビジュアルコンポーザーでクライアント側の検証を手伝ってもらえますか? –

+0

yaa確かに..しかし、2つの質問を1つにすることはできません、stackoverflowの用語と条件で問題がある新しい質問をする必要があります –

関連する問題