WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking to create a button next to "add media" ( much like gravity forms "add form) that allows you to choose a custom post and then inserts that post id into a shortcode.

I've bene looking at hooking into tinymce for the longest time, but realized that that wasn't the way to go (as those buttons aren't a part of the tinymce editor).

anyone have any thoughts?

share|improve this question
I just found this link: themergency.com/… which lets me create the button and allows me to populate the the popup box with the posts I want, now I just need to put the posts id (which I have) into a shortcode in the post. Thoughts? – Brucep Mar 8 '14 at 0:38
Hi Brucep, WPSE is questions / answer format , it's best to show us what you tried and ask a specific question. – Wyck Mar 8 '14 at 1:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.