Konferensi BlankOn Kedua di Surabaya
Konferensi BlankOn kali ini akan diselenggarakan pada:
Tgl: 31 Juli s/d 1 Agustus 2010
Lokasi: Universitas Surabaya
Biaya: Mahasiswa 50rb umum 100rb.
Untuk detail acara dan cara pendaftaran silahkan lihat di http://konf.blankonlinux.or.id/
Tema yang diangkat adalah pengembangan dan peluang bisnis bersama BlankOn. Sampai bertemu di sana ya
How to add eShop in custom post type in WordPress 3
By default, eShop shopping cart plugin will use standard post to display it’s product options. But it would be better if we can use custom post type which is available in wordpress 3 to have separate post type for our product. First we need to install eShop and Custom Post Type UI then use Custom Post Type UI to create custom post type easily instead of messing around with functions.php.
Next is look for editing eshop-product-entry.php file inside eshop plugin folder. Search for this code approx on line 13
add_meta_box( 'epagepostcustom', __( 'Product Entry', 'eshop' ), 'eshop_inner_custom_box', 'post', 'normal','high' );
Now replace ‘post’ with your newly created post type, i.e: product.
add_meta_box( 'epagepostcustom', __( 'Product Entry', 'eshop' ), 'eshop_inner_custom_box', 'product', 'normal','high' );
That’s all, when you add new product, there’s eShop options available for that custom post type.
How to display future post in WordPress
This is small snippet to display all future posts starting today. Add this before doing the loop
<?php
function filter_where($where = '') {
//posts in the last 30 days
$where .= " AND post_date >= '". date('Y-m-d', strtotime('now')) . "'";
return $where;
}
add_filter('posts_where', 'filter_where');
query_posts($query_string . "post_status=future,publish&orderby=date&order=ASC");
?>
You can limit the result or change order. See Codex for details of using query_posts
The right web host for your business
Some people thought that in order to get a great service, they’ll have to spend a big amount of money. Well, not really. Sometimes, spending more is not even advisable.
I don’t think there’s still a need for me to explain why a business should set up a website. It has been proven to be a very effective way of marketing a product, service or company. You can buy a hosting package from many different hosting providers. But not all of them are reliable enough to make sure your website is always online. Every minute and every hour is important for a business especially if you’re serious on getting your business a good start.




