wordpress | Twise Random https://twiserandom.com A site about computer science . Sun, 05 Sep 2021 21:49:10 +0000 en-US hourly 1 https://wordpress.org/?v=5.8.1 https://twiserandom.com/wp-content/uploads/2019/08/cropped-abstract-color-32x32.jpg wordpress | Twise Random https://twiserandom.com 32 32 WordPress audio player plugin https://twiserandom.com/wordpress/plugins/tw-audioplayer/ Thu, 02 Sep 2021 08:57:53 +0000 https://twiserandom.com/?p=8302  

This plugin will allow you to insert an audio player, onto your posts or pages, by using short codes, as in:

[tw_audio_player file= "https://twiserandom.com/wp-content/uploads/2021/08/Arm-assembly-language-tutorial.mp3" caption= "Listening to an article is good"]

The short code … Read More

The post WordPress audio player plugin first appeared on Twise Random.]]>
 

This plugin will allow you to insert an audio player, onto your posts or pages, by using short codes, as in:

[tw_audio_player file= "https://twiserandom.com/wp-content/uploads/2021/08/Arm-assembly-language-tutorial.mp3" caption= "Listening to an article is good"]

The short code … Read More

The post WordPress audio player plugin first appeared on Twise Random.]]>
How to fix content not being shown when using wordpress plugin : Prettify GC Syntax Highlighter ? https://twiserandom.com/wordpress/how-to-fix-content-not-being-shown-when-using-wordpress-plugin-prettify-gc-syntax-highlighter/ Sat, 26 Sep 2020 14:19:06 +0000 https://twiserandom.com/?p=2822 To fix the content now being shown when using the wordpress plugin : Prettify GC Syntax Highlighter , edit prettify-gc-syntax-highlighter.php and replace :

return preg_replace(
    "/<pre\\s*class\\s*=\\s*([\"'])\\s*prettyprint\\s*([^]*?)\\s*(.*?)<\/pre/ise", 
    "'<pre class='.stripslashes('$1').'prettyprint '.stripslashes('$2').''.htmlentities(stripslashes('$3')).'</pre'", 
    $text);

with

return preg_replace_callback(
    "/<pre\\s*class\\s*=\\s*([\"'])\\s*prettyprint\\s*([^]*?)\\s*

Read More

The post How to fix content not being shown when using wordpress plugin : Prettify GC Syntax Highlighter ? first appeared on Twise Random.]]>
To fix the content now being shown when using the wordpress plugin : Prettify GC Syntax Highlighter , edit prettify-gc-syntax-highlighter.php and replace :

return preg_replace(
    "/<pre\\s*class\\s*=\\s*([\"'])\\s*prettyprint\\s*([^]*?)\\s*(.*?)<\/pre/ise", 
    "'<pre class='.stripslashes('$1').'prettyprint '.stripslashes('$2').''.htmlentities(stripslashes('$3')).'</pre'", 
    $text);

with

return preg_replace_callback(
    "/<pre\\s*class\\s*=\\s*([\"'])\\s*prettyprint\\s*([^]*?)\\s*
Read More The post How to fix content not being shown when using wordpress plugin : Prettify GC Syntax Highlighter ? first appeared on Twise Random.]]>