This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @desc Small script that reads all the files in a matter of wordoress Plugin ... Polylang used to record each string in the Wordpress Admin ... (Appearance -> Languages) | |
* script include polylang_global_register_string() | |
* @author Raylin Aquino [email protected] | |
* @date 08-16-2015 (m-d-y) | |
* @note: It requires installation of Polylang Plugin | |
*/ | |
if (!function_exists("polylang_global_register_string")) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* @author Raylin Aquino <raylinaquino.com> | |
* @since 25-05-2015 (d m Y) | |
* Short script that wrapper all images (<img>) tags in a <figure> tag, with its alt attr. in a <figcaption> tag. | |
* The goal this... is provide the way correct of to show the images in a blog post. | |
*/ | |
function figure_wrap_img($content) { |