Find answers, ask questions, and connect with our
community around the world.

Forums Forums Web Design WordPress “Add new” functionality of CPT from Tinymce editor

  • “Add new” functionality of CPT from Tinymce editor

    updated 4 months, 2 weeks ago 0 Member · 1 Post
  • Deborah

    October 12, 2019 at 5:34 pm

    Hello, I would like to know if the following is possible: Let’s say I have a “coupon” CPT which consists of only 3 custom fields. And I also have an “Article” CPT with Title, Body etc (like Post). When creating a new article, is it possible to have a button in the classic editor (tinymce) that will add a new coupon in the text body? When I click this button I would like for a modal to come up and create a new “coupon” at that moment and add its short code in the text body. Even better it would be to let me choose either to add an existing coupon or create a new one. I know that this could be achieved by creating the “coupon” from it’s own admin menu and then adding to the Article, but I am interested in the possibility to create it on the fly. Any resources would be appreciated. Thanks. – by hq overview spahar – –

Reply to: Deborah
Your information:

Original Post
0 of 0 posts June 2018