Fix existing media names with accents
Fix existing media names with accents
Fix existing media names with accents
I am not sure this answers your question directly, but as technical trivia — WordPress actually creates a posts as soon as you open editor, with auto-draft status. This is being used precisely to have a target for things like attachments and custom field before it is actually saved by user. So when user “saves” … Read more
You can simply use the default author.php page to do this. If you don’t have one, make a copy of index.php and rename it author.php Now, use pre_get_posts to include your custom post type in the author pages. This code goes in functions.php function cpt_on_author_page( $query ) { if ( !is_admin() && $query->is_author() && $query->is_main_query() … Read more
Yes, that is possible. All Taxonomies are stored in the db in the wp_term_taxonomy table. The following are all listed as taxonomies category post_tag link_category post_format and Custom taxonomies All terms belonging to these taxonomies are stored in the wp_terms table. Tags are terms of the post_tag taxonomy, and all “categories” that you create in … Read more
“edit_published_posts” and “edit_other_post” issue
Publish post’s date is set to Nov 30 -0001
Go to Dashboard -> Appearance -> Widgets. You are looking for Archives widget. If your theme has built in sidebar, you’d just select the appropriate widget in that sidebar. To create a new sidebar in your theme, you need to use register_sidebar() in your theme’s functions.php. To include a sidebar in your file, you’d use … Read more
Add a custom meta box in the post options that loads some html code in the header
Send post id through ajax and get the post content back
They don’t do this. Custom post statuses are basically a trap. They seem like they might make sense, but likely they won’t do what you think they will do and cause ton of grief with edge cases on top. You should consider custom taxonomies for your CPT–specific data. They are much more robust and safe … Read more