Có phải bạn muốn thiết kế website tiết kiệm chi phí và thời gian mà còn chuẩn seo ?

Thiết kế website bằng wordpress

Với các gói 500k, 750k, 999k là bạn co ngay 1 website đẹp, chuẩn seo

10/30/13

Hiển thị danh sách "post_type" trong wordpress

Hàm lấy danh sách post type theo tên post_type <?php         $args = array(                                 'numberposts' => 0,                                 'post_type'   => 'country-origin'                             );          $result = get_posts($args);...

Wordpress lấy danh mục - get categories

Description Returns an array of category objects matching the query parameters. Arguments are pretty much the same as wp_list_categories and can be passed as either array or in query syntax. Usage  <?php $categories = get_categories( $args ); ?>  Default Usage <?php $args = array( 'type' => 'post', 'child_of' => 0, 'parent' => '', 'orderby' => 'name', 'order' => 'ASC', 'hide_empty'...

10/29/13

WordPress & jQuery Contact Form without a Plugin

There are lots of WordPress plugins for contact forms, but wouldn’t it be nice to have more control over the markup? In this tutorial, I am going to show how to use a custom page template to create a contact form in WordPress without a plugin. Some people may want to skip the post and get to the demo and source files: View Demo Download Source Files So, why not use a plugin? Well, I think that a contact form is so simple that a WordPress...

Tạo form liên hệ trong wordpress không dùng plugin

How to Create a WordPress Contact Form Without a Plugin There are a lot of different plugins available to put a contact form on your WordPress site, but I like to use as few plugins as i can get away with. So if you feel the same way, here’s a simple way to add a contact form, with some simple cut & paste of your site’s existing page.php file. First step – Create your page template Copy the code from your page.php file into a new file and name it page-contact.php. In order to let WordPress know this file should be treated as a page template,...

10/28/13

Giới thiệu 1 số hàm kiểm tra trong wordpress

Function: is_404() Function: is_admin() Function: is_admin_bar_showing() Function: is_archive() Function: is_attachment() Function: is_author() Function: is_category() Function: is_comments_popup() Function: is_date() Function: is_day() Function: is_feed() Function: is_front_page() Function: is_home() Function: is_local_attachment() Function: is_main_query Function: is_multi_author Function: is_month() Function: is_new_day() Function: is_page() Function: is_page_template() Function: is_paged() Function: is_plugin_active() Function: is_plugin_active_for_network() Function: is_plugin_inactive() Function: is_plugin_page() Function: is_post_type_archive() Function: is_preview() Function: is_search() Function: is_single() Function: is_singular() Function: is_sticky() Function: is_tag() Function: is_tax() Function: is_taxonomy_hierarchical() Function: is_time() Function: is_trackback() Function: is_year() Function: in_category() Function: in_the_loop() Function: is_active_sidebar() Function: is_active_widget() Function: is_blog_installed() Function: is_rtl() Function: is_dynamic_sidebar() Function: is_user_logged_in() Function: has_excerpt() Function: has_post_thumbnail() Function: has_tag() Function: pings_open() Function: email...