WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Grins Lite] Manually insert smilies in comments field instead? (7 posts)

  1. Truth
    Member
    Posted 4 years ago #

    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! :)

    http://wordpress.org/extend/plugins/wp-grins-lite/

  2. Ronald Huereca
    Member
    Posted 4 years ago #

    I'm just curious why you would want this feature. Can you explain please?

  3. Truth
    Member
    Posted 4 years ago #

    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. :)

  4. Ronald Huereca
    Member
    Posted 4 years ago #

    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.

  5. Truth
    Member
    Posted 4 years ago #

    ^ Thanks! The smilies will still be automatically inserted into the admin area right? The customisation is only for themes? :)

  6. Ronald Huereca
    Member
    Posted 4 years ago #

    Correct.

  7. Truth
    Member
    Posted 4 years ago #

    It's working great now. Thanks so much for the update! :)

Topic Closed

This topic has been closed to new replies.

About this Topic