Unanswered Questions
4,803 questions with no upvoted or accepted answers
3
votes
1
answer
229
views
Detecting when a custom taxonomy has been changed and display alert?
I'm building a plugin with a CPT and custom taxonomy - location. Everything's been working fine except I need to add a dismissible admin alert when the custom taxonomy has been changed either from the ...
3
votes
0
answers
259
views
allow arabic letters when register new account
How can allow arabic letters when register new account ?
i don't need to lose any security.
If any of us, Arabs, want to register in any wordpress blogs we have to use English letters in “username” ...
3
votes
0
answers
162
views
How can I rewrite a plugin generated URL?
I'm using the wpForo plugin to create custom profile pages on the front end of my website.
The profile URLs generated by the wpForo plugin look like this:
example.com/community/profile/username/
...
3
votes
2
answers
547
views
How can I enqueue a style only when a particular widget is active?
I have a plugin which requires a style sheet for the widget. I am trying to register the stylesheet when the widget is created, however the style sheet is not being queued and the styles ignored. The ...
3
votes
0
answers
86
views
Custom values are not translated
I'm trying to translate my plugin. Inside plugin's root folder I have 'inc' folder, where located registration.php file. This file has a code, which adds custom fields to comment form. (I use right ...
3
votes
1
answer
131
views
How to create thumbnail of different files?
I am storing my uploads in a separate folder and using separate table to save the location in database.
I have gone through WP_Image_Editor , wp_image_editor_gd and wp_image_editor_imagick .
I also ...
3
votes
2
answers
2k
views
What is better way to use Bootstrap inside admin panel?
I need to use Bootstrap CSS for better UI in wp-admin but if I enqueue the bootstrap.css, it's affecting the admin default UI by changing background colors, etc.
How can I use bootstrap.css inside wp-...
3
votes
2
answers
406
views
Calling shortcode in wp_localize_script strips result
I am working on adding some functionality on a Wordpress plugin which after a certain click needs to call on some shortcode through ajax.
What I first attempted was to call the shortcode inside of ...
3
votes
0
answers
140
views
How to modify the new WordPress 4.5 link inline toolbar
I had my own plugin that add custom links options to the old wordpress link edition window (data attribute, nofollow etc).
The new inline link toolbar introduced in WordPress 4.5 is ... not what I ...
3
votes
1
answer
714
views
Custom Taxonomy and tax_query Issue?
I am working on Plugin development and my plugin name is plugindev.I have a custom post type called team.I have a custom taxonomy Team_Category which is being registered by this code
/****************...
3
votes
1
answer
661
views
Under which circumstances is the .maintenance file not deleted?
When WordPress does plugin/theme/core updates, it creates a .maintenance file which temporarily puts the site in maintenance mode. Sometimes this file does not get deleted and users are locked out of ...
3
votes
0
answers
629
views
Making a custom widget that includes a tinymce and works in Site Origin Page Builder
For a client I'm using Site Origins Page Builder plugin. It enables the client to make rich layouts for each page by dragging and dropping widgets. Site Origin widgets that require a WYSIWYG-editor ...
3
votes
0
answers
446
views
How should I handle errors within a plugin?
Building my first serious attempt of a Wordpress plugin. I'm not sure how I should handle errors. I really just want to give the user some kind of message that the variable is wrong instead of ...
3
votes
0
answers
371
views
Endpoint on Specific Page Slug
I have created an endpoint inside of my plugin:
add_rewrite_endpoint( 'libstaff', EP_PAGES );
Now I would like to have the endpoint work for one page only based on its slug. In this case, I want it ...
3
votes
0
answers
2k
views
How to add quick edit and bulk edit fields to users admin section
Salutations, is there a way to add quick edit and bulk edit fields for the users section in wordpress. I have found a lot about post types and custom post types but i'm specifically looking to add ...