Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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 at 0:38
1  
Hi Brucep, WPSE is questions / answer format , it's best to show us what you tried and ask a specific question. –  Wyck Mar 8 at 1:19

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.