No more headaches just visit this page: themergency.com/generators/wordpress-custom-post-types/ .
It’s really helpful, i usually make a lot of mistakes when i’m writing a new CPT!
No more headaches just visit this page: themergency.com/generators/wordpress-custom-post-types/ .
It’s really helpful, i usually make a lot of mistakes when i’m writing a new CPT!
I great tutorial to achieve post multiple post thumbnails:
http://www.tristarwebdesign.co.uk/blog/wordpress/multiple-featured-images-for-1-wordpress-post/
http://www.dbswebsite.com/design/wordpress-reference/V3/
I will UPDATE this post every time i discover a new one!
This will create automatically a new Custom Field for your post count, called “count_page_hits”. If you want to know how to display them visit: http://codex.wordpress.org/Custom_Fields
function count_page_hits() {
if(is_single()) {
global $post;
$count = get_post_meta($post->ID, 'count_page_hits', true);
$newcount = $count + 1;
update_post_meta($post->ID, 'count_page_hits', $newcount);
}
}
add_action('wp_head', 'count_page_hits');
Source: Bavotasan.com
I just was hearing Matt Mullenweg (“new caveman look..”) talking about a new wordpress framework called PressWork, so then i tried, if you want to create pages really easy to customize for your clients, i recommend this, you MUST to see it, it’s quite impressive, althoug the idea its not new, first it was develop by PageLines
An awesome tutorial, with good examples about WordPress Loops:
Visit: WPVIBE.COM