开发者

Simplifying Wordpress shortcodes

开发者 https://www.devze.com 2023-02-06 09:34 出处:网络
I\'ve made a plugin for a client to embed videos and links to videos into a post using shortcodes. But this is still to difficult for the client, how can I go about inserting those shortcodes into a

I've made a plugin for a client to embed videos and links to videos into a post using shortcodes.

But this is still to difficult for the client, how can I go about inserting those shortcodes into a post via a wysiwy开发者_StackOverflow中文版g?

Is there a way to have a form that will populate the post, i can use wp_insert_post (or insert into post, somehow) thereon but how do i add an interface to the "new post" screen so that it can get processed?


Is http://net.tutsplus.com/tutorials/wordpress/wordpress-shortcodes-the-right-way/ what you are looking for?

0

精彩评论

暂无评论...
验证码 换一张
取 消