Posts by kaaz

369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says

I am going to publish my first WP theme, so is it OK to host wordpress demo site on shared hosting ? later i will move to VPS or Dedicated Server. can shared host handle demo traffic for only one(first theme) wp demo site ???

-Thanks

369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says
The main benefit to depositing though, is avoiding transaction fees, which benefits the customer more.
+1
369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says

old one

369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says

yoast breadcrumb

369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says
369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says

Happy Deepawali

369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says

Congratulations! :)

369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says
369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says

Try this… first register post type “book”


add_action('admin_init','add_book_meta');
add_action('save_post','update_book_field');
function add_book_meta() {
    add_meta_box('book_details',__('Book Details', 'framework'),'book_field','book','normal','low');

}
function book_field() {
    global $post;
    $text='';
    $custom = get_post_custom( $post->ID );
    if( isset( $custom[ 'text_input' ] [ 0 ] ) ){
        $text = $custom[ 'text_input' ] [ 0 ];
    }
?>
<p><?php _e('HTML Input fields goes here with custom fields', 'framework');?></p>
<label id="book-author"><?php _e('Author Name', 'framework');?></label> <input name="text_input" size="25" value="<?php echo $text; ?>" type="text" />

<?php }
function update_book_field() {
    global $post;
    if( isset( $_POST[ 'text_input' ] ) ) {

        update_post_meta( $post?>ID, 'text_input', $_POST[ 'text_input' ] );

    }

}
369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says
Nekto said
Hi TF people :) ,

Could anyone please tell suggest me how to add a meta box to custom taxonomy page?

Thanks a lot in advance.

Alex

your question should be ” how to add a meta box for custom post type?”

by
by
by
by
by
by