Category: Uncategorized

  • How to show category name in woocommerce products page

    <?php global $post; $terms = get_the_terms( $post->ID, ‘product_cat’ ); foreach ($terms as $term) { //$product_cat_id = $term->term_id; break; } ?> <h2 class=”page_title”><?php echo $term->name; ?></h2>  

  • CodeIgniter 2.1.4 Released

    CodeIgniter 2.1.4 has released today, bringing some additional security and enhancements to the 2.x stable version. A full list of the changes can be found in the change log, and you can download version 2.1.4 here, and of course, here are upgrade instructions to help you migrate from an older version to the new release.

  • Upgrading from 2.0.3 to 2.1.0

    Before performing an update you should take your site offline by replacing the index.php file with a static one. Step 1: Update your CodeIgniter files Replace all files and directories in your “system” folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in…

  • CodeIgniter 2.0.2: Cross-Site Scripting (XSS)

    Regular expressions simply do not understand HTML’s nested nature and the numerous possible HTML/CSS standards it must abide by. The result is that far too many developers try to program this understanding (and unfortunately their lack of comprehensive understanding) into home grown sanitisers using as little code and tests as possible. It’s a horrendous and…