php - How to insert an "apply" button in WordPress -


i building job website , trying insert 'apply' button in custom post-type single page (called 'vacancy') within wordpress. need button notify admin of new 'application' = meaning logged in clicked on button.

i have thought using comment_form() function not sure how adapt register "button" click. doesn't show @ in fact.

i have got following code inside wp_query( $mypost ) while( have_posts() ) : the_post(); loop:

if ( comments_open() || get_comments_number() ) :     if ( post_password_required() ) {     return;     }     comment_form( array(         'comment_field' =>  '',         'label_submit'  =>  __( 'apply' ),         'comment_notes_after'   => ''     ),     $mypost     ); endif; 

i don't want affect general comments may need them normal posts , pages, , preferably if can separate comments , instead have else - can't think of way it.

thanks in advance! appreciate suggestions/help.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -