Skip to content

Instantly share code, notes, and snippets.

View hunk's full-sized avatar
🤑
working

Edgar G @hunk hunk

🤑
working
View GitHub Profile
<?php
add_action( 'init', 'create_book_taxonomies', 0 );
function create_book_taxonomies() {
register_taxonomy(
'category_hunker',
'post',
array(
'hierarchical' => true,
'show_ui' => true,
<?php
query_posts('meta_key=_mf_write_panel_id&meta_value=id_of_the_Write_Panel&showposts=-1');
//The Loop
if ( have_posts() ) : while ( have_posts() ) : the_post();
//you code
endwhile; endif;
//Reset Query
wp_reset_query();
//OR