ptasker / wordpress-emoji-replacer

Silly plugin to replace text strings with emojis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WordPress Emoji Replacer

Silly plugin to replace text strings with emojis. Adds a setting to the Customizer to setup replacement strings. String can be replaced with anything, but it's fun to use emojis.

Base concept is that is uses the_content filter and preg_replace().

Steps to install:

  • Install the plugin
  • Run composer install in the plugin root, as the plugin uses the composer autoloader.
  • Go to Appearance > Customizer
  • Click on Emojicon Plugin
  • Setup your replacements like so:
the :==>  (╯°□°)╯
foo :==>  ಠ_ಠ
WordPress :==> 😎
  • Select the replacement method (relace, before, after). This either prepends, appends or straight up replaces the item
  • Profit?

alt text

About

Silly plugin to replace text strings with emojis


Languages

Language:PHP 100.0%