Is there a php code to manually insert the smilies into the comments field but at the same time still letting it shows up automatically in the admin page?
Thanks! :)
Is there a php code to manually insert the smilies into the comments field but at the same time still letting it shows up automatically in the admin page?
Thanks! :)
I'm just curious why you would want this feature. Can you explain please?
Sometimes, the automatic insertion of smilies may not be in the place I want it to be. With a php code, I can manually place it where I want it to be with different CSS classes as well.
It's mostly for customisation of the themes. :)
The 1.1 release should address this.
First you have to go into the Settings->WP Grins Lite panel and choose to manually insert the smilies.
You'll then have to call this function:
wp_print_grins()
All the function does is return the list of grins. It's up to you to echo them out and encase them in a div if necessary.
^ Thanks! The smilies will still be automatically inserted into the admin area right? The customisation is only for themes? :)
Correct.
It's working great now. Thanks so much for the update! :)
This topic has been closed to new replies.