275 reputation
314
bio website
location Turkey
age 22
visits member for 4 years, 1 month
seen 5 hours ago

13h
comment Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()
@PieterGoosen I put my create_tax method to plugin activation function (and disabled&enabled plugin) , but still same error . Here my codes : paste.ubuntu.com/10714681
13h
comment Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()
@PieterGoosen actually they are not the same question, because in that question he want to add terms for one time. I mean he want to create a taxonomy and insert 2 default terms to on plugin activation.Because of this, he is using register_activation_hook(). But I'll use wp_insert_term lots of this, for example there will be a button and everytime it clicked I'll add a new term to taxonomy.
1d
comment All of my wordpress sites showing †Ù¥
Somehow your files get broken. It can be UTF8 encoding problem, hacker attack, broken plugin. It's difficult to say what happend without checking your files and log. Delete all unused plugins and themes from your WP installation. Now I'll send an answer so you can choose it as accepted answer :)
1d
comment Combine category AND custom taxonomy in permalink structure
Did you solve your problem @dama_do_bling ? If yes, there are some friends waiting for answer :)
1d
comment All of my wordpress sites showing †Ù¥
It's weird that characters disappering when you refresh page. So it's about sessions which can be a security vulnerability. I recommend you to backing up all files&database , deactivate all plugins and themes and update manually by following this guide : codex.wordpress.org/Updating_WordPress#Manual_Update
1d
comment All of my wordpress sites showing †Ù¥
Hello Steve, Please check your .htaccess file, maybe some attacker forward your requests to any other HTML file with that weird characters. If your .htaccess file is ok , try deactivating all plugins and activating one of the WordPress default themes. If problem is gone after these steps, try enabling plugins one by one so you can catch the plugin which causing this error.
1d
comment Difference between after_setup_theme and init action hooks?
Just an addition to Bainternet's great answer. You can see execution order of hooks in here : codex.wordpress.org/Plugin_API/Action_Reference . And you can see all hooks and differences between after_setup_theme and init
Jun
7
comment Using My Own Classes On Wp Unit Tests
Now I got it @J.D. Thank you for your detailed response.
Aug
25
comment Versioning and your WordPress site?
@AlxVallejo , it's interacts with your files. When you checkout a version of your project. Your all files changed with that version's file. So when you refresh your files (just close and open again) in Dreamviewer, you'll see new content of files.
Jun
6
comment Getting Details Of Uploaded Image
if it's not attached to any post ?
Jun
6
comment Getting Details Of Uploaded Image
@Tommixoft , thank you. Just update my answer.
Apr
6
comment Using custom page templates with plugin
Thank you template_include() solve my problem.
Apr
6
comment Using custom page templates with plugin
i solved my problem with template_include(). Thank you.
Jan
17
comment Setting a post's category
OK i got it , 3th argument is taxonomy so it should be galleries :) wp_set_object_terms($postid, $categoryid, $taxonomy)'s mean is add this post to this category ($categoryid) which in $taxonomy taxonomy :) If you update your answer, i'll accept it.
Jan
17
comment Setting a post's category
i'll add my post to Custom Category (slug:customcategory) category. This category in galleries taxonomy
Jan
17
comment Setting a post's category
not working : wp_set_object_terms( $insert_post, intval( $id ), 'customcategory'); or wp_set_object_terms( $insert_post, intval( $id ), 'Custom Category');
Jan
17
comment Setting a post's category
wp_set_object_terms' first argument is $insert? or $insert_post ?
Jan
17
comment Setting a post's category
Yes. I've tried array(intval($id))
Jan
17
comment Setting a post's category
@imHavoc , it's printing right ID . There isn't any problem .
Jan
9
comment save_post action doesn't passing post id to my function as argument
yes, up voted..