A little more functionality to WP People

After looking over a few examples of adding a button to the Post/Page editor, I found Deanna Schneider’s blog about adding a button. And, I got it to work! Woo hoo!

wp-people-ss-tinymce-toolbar

Through her example, I was able to figure out how to create a page that would be called when the button is clicked. The popup page lists the WP People available, with their picture, an abbreviated version of their bio, name and nickname. Next to each person is a button to insert them into the post. When you click the button, the full name of the person is inserted into the post. Simple as that.

Now, I just have to figure it out on the basic Page/Post editor. I figured out how to add the button.
wp-people-ss-simple-toolbar

However, I’ve only been able to pull up a separate window with the list in it. This really doesn’t work for what I want to do. I want to have the popup that allows me to interact with the page that pulled it up. I’m sure it’s something simple and hopefully I’ll figure it out soon and then I’ll be done with my WP People upgrade.

About DeanLogic
Dean has been playing around with programming ever since his family got an IBM PC back in the early 80's. Things have changed since BASICA and Dean has dabbled in HTML, JavaScript, Action Script, Flex, Flash, PHP, C#, C++, J2ME and SQL. On this site Dean likes to share his adventures in coding. And since programming isn't enough of a time killer, Dean has also picked up the hobby of short film creation.

About DeanLogic

Dean has been playing around with programming ever since his family got an IBM PC back in the early 80's. Things have changed since BASICA and Dean has dabbled in HTML, JavaScript, Action Script, Flex, Flash, PHP, C#, C++, J2ME and SQL. On this site Dean likes to share his adventures in coding. And since programming isn't enough of a time killer, Dean has also picked up the hobby of short film creation.

Leave a Reply

Your email address will not be published. Required fields are marked *

*