Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Display a CRED form in the Back End

$
0
0

Can I display a CRED Form in the Back End of WordPress?

Scenario:
Two Custom Post Types: Authors and Books.

In Books I have made a Custom MetaBox with a select field that link the Book to the Author.
Then I added a "New Author" button below the select field that open a popup using ThickBox. Here is the problem, I want to dysplay a CRED Form inside that Thickbox.

The code I'm using:

<?php add_thickbox(); ?>
<div id="new-author" style="display:none;">

       <div>[cred_form form="New Author"]</div>
             
<div>
<input alt="#TB_inline?height=300&width=600&inlineId=new-author" title="Add New Author" class="button thickbox" type="submit" value="New Author" />

Can I do that with CRED?


Viewing all articles
Browse latest Browse all 20145

Trending Articles