jogesh_pi
  • Member for 9 years, 9 months
  • Last seen this week
1 answers
1 votes
4k views
how to remove category from database
Accepted answer
3 votes

It is done through the following query: delete from `wp_terms` where `term_id` in ( SELECT `term_id` FROM `wp_term_taxonomy` WHERE `taxonomy` = 'category' ) and `term_id` not like 1 This ...

View answer
4 answers
2 votes
9k views
The seventh parameter passed to add_submenu_page()
0 votes

You could avoid the warning by adding the seventh parameter as null. function fivehundred_register_admin_menu() { add_theme_page( '500 Settings', '500 Settings', 'manage_options', '...

View answer
3 answers
1 votes
189 views
How to make author box like this & add after every post?
0 votes

you can do with the_content filter. add_filter( 'the_content', 'my_the_content_filter', 20 ); function my_the_content_filter( $content ) { if ( is_single() ) { $content = $content . "...

View answer
1 answers
0 votes
18 views
strange behaviour of template_redirect in IE8
0 votes

I am updated the answer, so that it will be helpfull to others as well. (For IE, IIRC it's 512 bytes) Helpful links: https://stackoverflow.com/questions/11121286/404-page-not-showing-up-in-ie9#...

View answer
1 answers
0 votes
110 views
Download custom file in wordpress backend
0 votes

Now it is solved, what i have done is, just hook my download script to admin_init hook and its working that i want. This is the helpful link Headers already sent error with CSV export plugin

View answer
2 answers
1 votes
25k views
post_status => publish not working
0 votes

I am not sure but i think that is because of you didn't added the author into the $post_information : if( isset($_POST['submitted']) ): global $user_ID; $post_information = array( ...

View answer