Wordpress

Shortcode in Template

<?php echo do_shortcode(‘[shortcode]’); ?>  

Show Total Weight in Woocommerce

Add code below in your theme function, function.php to show total weight in Woocommerce. /** * WooCommerce * ————– * * Display cart total weight on the cart page * */ add_action(‘woocommerce_cart_collaterals’, ‘myprefix_cart_extra_info’); function myprefix_cart_extra_info() { global $woocommerce; echo ‘<div… Baca selengkapnya Show Total Weight in Woocommerce

How to Find CMS and What WordPress Theme on Site

How to find CMS on site? It’s easy, you can find by view the source code or you just need to visit web tools like What CMS or Guess and then you just need to input the domain name that… Baca selengkapnya How to Find CMS and What WordPress Theme on Site

Brick Free WordPress Theme

Brick is beautiful WordPress theme for personal web pages. This is a complex wordpress themes with lots of useful features like custom widgets, feedback form, slider, video supporting and many other.   [button link=”https://dl.dropboxusercontent.com/u/36655142/software/web/wordpress/theme/brick-11102013.zip” color=”orange” corner=”30″ textsize=”30″]Download Mirror[/button]

WordPress: Remove query strings from static resources

This is normal code for remove query strings from static resources. Add the code below to your function.php. function _remove_script_version( $src ){ $parts = explode( ‘?’, $src ); return $parts[0]; } add_filter( ‘script_loader_src’, ‘_remove_script_version’, 15, 1 ); add_filter( ‘style_loader_src’, ‘_remove_script_version’,… Baca selengkapnya WordPress: Remove query strings from static resources

Redirect WordPress Feed to FeedBurner

First open your [highlight color=”orange”].htaccess[/highlight] file which is located in your root directory. If you use [highlight color=”silver”]Wordpress SEO from YOAST[/highlight] then you just need go to [highlight color=”blue”]Edit Files in SEO menu[/highlight] then paste the following code: <IfModule mod_rewrite.c>… Baca selengkapnya Redirect WordPress Feed to FeedBurner

Enable gzip compression

Compressing the static contents with [highlight color=”orange”]enable gZip compression[/highlight] will drastically change your site loading time. Its a good practice for general web development too. You just need to place below code in your [highlight color=”salmon”]htaccess[/highlight] file: <IfModule mod_deflate.c> #… Baca selengkapnya Enable gzip compression

Add Expires Headers

Setting the expire header to far future date will instruct your web browser to cache and serve those cached content until that expire date. You can [highlight color=”salmon”]add expires headers[/highlight] using some easy edits to your [highlight color=”orange”].htaccess[/highlight] file. <IfModule… Baca selengkapnya Add Expires Headers

WordPress: Add WWW in front of domain without redirect or .htaccess

When you go to a website, you will find that some of them use “www.” in front of the domain name (example: [highlight color=”pink”]www.kloningspoon.com[/highlight]), and some of them do not. It is very common that both options will take you… Baca selengkapnya WordPress: Add WWW in front of domain without redirect or .htaccess

Give Up on Import Tumblr to WordPress

Finnaly I Have to give up to import tumblr to my new site. I use [highlight color=”green”]Tools => Import => Tumblr[/highlight] but no luck of succeeded. But suddenly this morning in my post show new row of post with [highlight… Baca selengkapnya Give Up on Import Tumblr to WordPress

How to add featured image thumbnail to WordPress admin columns

The admin pages listing the site’s posts and pages come with various text columns like title, tags, categories, author and so on. In order to see what the featured images are, you have to visit each post or page individually.… Baca selengkapnya How to add featured image thumbnail to WordPress admin columns

Headache

Oh man, still can not figure about import my tumblr to my new wordpress site.

Scroll to Top