Unanswered Questions
35,424 questions with no upvoted or accepted answers
5
votes
0
answers
462
views
HTML5 theme support for comments + form 'novalidate' - how to handle it properly?
INTRODUCTION
My research is based on following assumptions:
WordPress version supports HTML5
Go to any admin page and inspect the resulting document. It should start with <!DOCTYPE html>.
...
5
votes
1
answer
777
views
WP-CLI methods for get_current_blog_id, get_blog_details or $wpdb->prefix
I'm looking for some extra information about an mu site (--url) when attempting to export from a remote server to my local testing environment.
One requirement for migration is the existing blog_id ...
5
votes
0
answers
2k
views
How to allow users login to WP from external domain and make REST requests
Basically what i want to do is:
Use Wordpress as a login system and data storage for web-application on another domain.
Make users able to register and perform REST calls from the application.
Let ...
5
votes
1
answer
660
views
Disable plugins on cron and ajax page
I want to disable few wordpress plugins on my cron and an ajax page. I have already tried option_active_plugins filter but it's not working. I have checked and found most of the people say that ...
5
votes
1
answer
2k
views
WSOD but WP_DEBUG not giving any errors
I am running Wordpress on a WAMP stack and I'm trying to debug a WSOD error, which I think is a PHP error, as I have tried disabling all my plugins and themes and they don't seem to be the problem.
I'...
5
votes
1
answer
1k
views
Order wp_query by calculated field
Hi I'm working on a store locator.
I have a custom post "clinics" where I save clinic details (address,.., lat, lng). Each time I publish a new clinic I save post_id, lat and lng also in a custom ...
5
votes
1
answer
860
views
Color Picker (iris) in widget - refresh when edited in Customizer
I have added the WordPress Core color picker (iris) to a widget I developed, but when I edit the color, there is no change triggered. As a result, the iframe (live preview) for the Customizer does not ...
5
votes
1
answer
181
views
Pb with responsive image sizes in WP 4.4
I don't understand how to customize responsive sizes images in WP 4.4.1.
The only available hooks that I see are wp_calculate_image_srcset and wp_calculate_image_sizes, and neither has the named ...
5
votes
2
answers
2k
views
How to refresh Theme Customizer after change color inside wpColorPicker?
I develop my custom widget with setting where I can set up custom color for the widget. I use this code to initialize wpColorPicker instead of default text input in form() method of Widget class:
...
5
votes
3
answers
2k
views
Accessing $post global on a custom post type archive page
I have a custom post type called projects, and its archive is at /projects, on the archive page I get notices Notice: Trying to get property of non-object every time I try to access the $post i.e. $...
5
votes
1
answer
496
views
How could I add button next to "edit image" button in "Attachment Details"
How could I add button next to "edit image" button in "Attachment Details"
This is the location I would like to add button, Do you have any recommend?
5
votes
3
answers
1k
views
Making plugin unique to not conflict with plugins with the same name
I have plugin that has the same name as other plugin uploaded to wordpress.org
How can i make it unique so it doesn't share "View Detais" link and auto-update with other plugin uploaded to wordpress....
5
votes
1
answer
2k
views
How to add image uploader to a custom widget?
I'v built a custom widget that will show some sport scores. Scores are added trough custom post. When i open new custom post(scores) i enter their team names, score, scores. Now i want to add an ...
5
votes
1
answer
597
views
Cropping, Re-sizing and Saving images from one folder to another folder in wordpress
I'm adding an upgrade for the WordPress plugin which I have developed ages ago. This plugin is just a product catalog, so just show products and their images. Products can have more than one images.
...
5
votes
0
answers
2k
views
Fetching private posts or custom post types via WP-API with basic authentication
I've installed WP-API along with Basic Auth. I'm able to fetch cpt posts using
curl http://siteurl.com/posts?type={post-type}
However, if I change a post to private, it is no longer returned. This ...