Reputation
2,351
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 5 19
Newest
 Excavator
Impact
~152k people reached

Feb
10
comment Action hook on only publishing post not on editing or updating
Yes, I see now.
Feb
9
comment Action hook on only publishing post not on editing or updating
So you want to say that I have to cycle through all (any) transitions. And than each of them to check Post Types? May be define('WP_POST_REVISIONS', false ); are set. If not, the transition will be false.
Feb
9
comment javascript not loading
@user21705, please let other people know that the problem is solved. To do this please mark this answer as accepted.
Feb
9
comment Action hook on only publishing post not on editing or updating
Touche. I'll update my answer.
Jan
18
comment disable permalink on custom post type
That's strange, it worked for me before. Anyway, it has to be changed to meet WP 4.4 requirements. I've updated the code.
Sep
22
comment How to make WordPress use protocol indepentent upload files?
@MultiformeIngegno, Do you have any useful idea or just nattering?
Jul
30
comment Where is the order of a menu saved in the database
possible duplicate of How is custom menu hierarchy output handled?
Oct
16
comment tmp file is not generated in wordpress
Why don't you want to install the theme manually? Otherwise you have to set up FTP on your local Ubuntu.
Oct
11
comment Using page title as a link to term archive
Yes, the one saves your terms. It's better to update your question rather than post comment with code.
Oct
11
comment Using page title as a link to term archive
Please paste the whole function.
Oct
11
comment How to remove WPML Generator Meta Tag by theme's functions.php (override plugin function)?
The last idea is to add global $sitepress; before the code above.
Oct
11
comment How to remove WPML Generator Meta Tag by theme's functions.php (override plugin function)?
I've found an old theme of mine where just one line was used in functions.php: remove_action( 'wp_head', array($sitepress, 'meta_generator_tag' ) );.
Oct
7
comment Using TinyMce with textareas in meta boxes on custom post types
Paste it to the functions.php located in theme directory you use.
Oct
2
comment add unique string as custom-field to every post
No, keep it ON on production stage. I've just asked to check there are no PHP errors. This code works perfectly for me in both WP3.4 and WP3.6.1. Please make sure you've copied it thoroughly.
Oct
2
comment add unique string as custom-field to every post
Do you have DEBUG on? Also I've updated the code. It was assigning the identifier for all types, not only 'post'.
Oct
2
comment add unique string as custom-field to every post
Where do you put it? It should be in functions.php in your theme directory.
Sep
26
comment A question of etiquette when forking a plugin?
IMO, when you update the readme.txt you also make a kind of contribution. So, if plugin authors do not wants to use your version you'll not be credited. Otherwise they should keep your readme too (if it is not heavy modified and satisfies their requirements).
Sep
26
comment Sidebar does not display on blog page, but fine with static pages
The last advice is to check dynamic sidebars you've set for your pages.
Sep
20
comment Sidebar does not display on blog page, but fine with static pages
See edited answer.
Sep
20
comment Sidebar does not display on blog page, but fine with static pages
I've missed the point. Temporarily place <?php echo wp_basename( get_page_template() ); ?> somewhere in footer.php to see the file name of the template used for any page.