Articles

How to view a SCORM file in your browser

Follow these steps to view the SCORM file in a browser without uploading to any third-party software. First, uncompress the .zip folder (If you just click on this file and try to
Read More

Use Short code in template or php code

Trying to output shortcode in a PHP or template file, wrap your code in the shortcode function like so: <?php echo do_shortcode("[your-short-code]");
Read More

Inclrease the upload limit via .htaccess in Linux

Use the following code in the .htaccess file to increase for files to be uploaded. php_value upload_max_filesize 10M php_value post_max_size 20M php_value memory_limit
Read More

Display WordPress Categories in a List

Use the following code to create a list of categories in WordPress. <?php //$taxonomy = 'genre'; //$orderby = 'name'; $show_count = false; $pad_counts = false; $hierarchical =
Read More

PHP Limit the amount of text being displayed in a string

Use the following PHP function to limit the number of characters ($limit) to be returned from the original string ($source). //limit text function limit_text($limit, $source =
Read More

WP Plugins unable to display, WP unable to check versions

Check wp-config.php file ig the following is uncommented: //define('WP_HTTP_BLOCK_EXTERNAL', true); or if the following is enabled define('FS_METHOD', 'direct');   Else use
Read More