cornernote / yii-embed-wordpress

Simple integration of Yii directly into your WordPress site
http://cornernote.github.io/yii-embed-wordpress/
Other
8 stars 9 forks source link

wordpress shortcode to load yii widgets, actions #3

Open Bibi40k opened 10 years ago

Bibi40k commented 10 years ago

Hi, i was working at theming WP meanwhile and now i start focusing on how to create short codes so i can load yii widgets inside WP posts... with no result because i'm a very worse developer with no school and basic programming. :(

in my opinion, if i call an yii action inside a WP post, search will also work. Right now, with your plugin actions works very well but search does not return any content.

i've never used WP before and i must finish the project i'm working at until the end of the month and the only thing scares me is i don't have any idea how to use records created with yii as they work native.

now i'm pleasing you to help me with an example of short code so i can insert into WP post yii's "admin" action which works like in yii framework.

i couldn't find any example on the whole internet, seems like i'm trying to obtain something impossible :(

Thank you very much for your work and helping me

cornernote commented 10 years ago

Hi @Bibi40k,

in my opinion, if i call an yii action inside a WP post, search will also work.

I don't think adding the shortcode tag into the post (or any way of rendering yii content in the post) will make the rendered content in the search results.

I think what you need to do is make Yii do the search. This however would be outside of the WP search, so may not be exactly what you are looking for,