Plugins are tools to extend the functionality of WordPress. This tag should not be used to mark requests for plugin recommendations, which are off-topic per the FAQ.

learn more… | top users | synonyms (3)

0
votes
2answers
2k views

How to append new form elements in “Add New” form of Users in Wordpress admin panel?

I'm developing a WordPress plugin and I want to append some extra form fields in add new form of Users section inside admin panel without editing core files. Can somebody help me in achieving this.
2
votes
1answer
623 views

Shortcode in AJAX popup

I am trying to use a shortcode from Ultimate Facebook plugin to display a FB connect button in an AJAX popup and can't seem to get it work properly. I searched and used the solution given by djb in ...
2
votes
1answer
3k views

Display products for a category, sorted by post_excerpt

I'd like to display a list of products for a certain category, sorted by the post_excerpt. The original code I used was this: $args = array( 'tax_query' => array( array( ...
0
votes
0answers
10 views

Advice needed: Specific contribution by users (form maybe)

I'm asking for your advice here, because there are so many ways to look at :( I hope you will help me out by replying with your opinion in this case. What I like to achieve is this: Visitors / users ...
-1
votes
0answers
50 views

How do I know the license of a plugin for purposes of branching a new plugin from it?

How do I know the license of a plugin? I've been working with an existing plugin and made numerous modifications to it for a project I'm working on and I would like to release it separately as a ...
7
votes
1answer
404 views

Media library - Limit images to custom post type

Is there some wordpress magic/plugin that will make the media library only show images that were uploaded to a specific custom post type? I have a custom post type called "artists", I want, when admin ...
0
votes
3answers
1k views

Can't Update, Delete, install Plugin

I can't solve this problem. This started after I created a new sub domain. I can't update my plugins, install, delete. During an update it says "successfully update". After I goes back to my ...
-1
votes
2answers
30 views

load_plugin_textdomain error

I receive this error while debug mode is enabled: Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in ...
0
votes
2answers
101 views

Add new post using a page inside the website

I have been searching for several hours to find a way to embed the "Add New Post" inside a page in the front end. I read this post but sadly no answer to it. I have embedded the login form in ...
1
vote
1answer
42 views

Can I make a super plugin that also has a theme?

I'm working on something that requires a user to have a plugin. I only want them to have to install one thing. Can I have a plugin that has a theme with it?
0
votes
0answers
21 views

Dynamic variable in add_rewrite_rule

I'm trying to insert dynamic part of URL in add_rewrite_rule() when activating plugin. I have a config array $config = array('rewrite_key' => 'whatever'); and a function which do some stuff ...
0
votes
0answers
9 views

Devices mockup not working

I am developing a theme in which i want to add mockup on every page , so i am using device mockup plugin . But it is not displaying the device frame . I have the latest wordpress install with my theme ...
18
votes
3answers
8k views

Custom Post Type Templates from Plugin Folder?

I'd like to offer my custom post type as a Plugin, so that people can use it without touching their theme folder. But custom post type templates -- such as single-movies.php -- reside in the theme ...
0
votes
1answer
28 views

Plugin: Hooking up classes that have their own hooks

Was wondering if there is a "best" approach to hooking up classes that has their own hooks, still making sure that those hooks haven't run before the class got a chance to declare it's own said hooks. ...
0
votes
4answers
311 views

__(): What if I have to pass in a variable?

In the docs for the translate function __( $text, $domain ), it states that you must put the string directly in place of $text, that you cannot do something clever such as __( $my_text, 'text-domain' ...
0
votes
1answer
403 views

Exclude post by custom meta with pre_get_posts

I'm creating a Custom Post for an event calendar. My Custom Post has 2 custom meta fields called "event_star_date" & "event_end_date". I want to use pre_get_posts to exclude Events which their ...
0
votes
2answers
94 views

To remove plugin notices for non-admin users

How to hide/disable any plugin notices for non admin users in dashboard? Can you please help me with this? Thanks
0
votes
0answers
22 views

Woocommerce Order Export Variable Product Attribute

I am using the plugin WooCommerce Customer/Order CSV Export and want to export into a separate column of my csv the attribute from a variable product. I am able to create a the column fine but cannot ...
1
vote
2answers
480 views

Moving image attachment from post to another?

How to move image attachment from post to another (not to "Remove Permanently" and Re-Upload) ? I'm using WordPress 3.5.0 and I have a thousand images to process. Is there a built-in function for ...
0
votes
2answers
522 views

WAMP to XAMPP WordPress transfer

I want to switch a WordPress site from a wamp localhost to xampp localhost. Using the Tools > Export, I saved the WordPress content to an XML file. I did not create a similar backup of the MySQL ...
0
votes
0answers
19 views

Post Mail Problem

I have a problem sending mail WordPress. Admin session open. Sending a message (success) Admin closed session. Send a message on (failed) Visitors can not send messages. I think the problem here ...
0
votes
3answers
20 views

Using one-click plugin upgrade feature securely on suexec server

I've been searching for a definitive answer to this question for a couple of hours but can't find anything. I'm running multiple sites on a server using suexec. The owner and group of all files and ...
0
votes
1answer
329 views

Create tabs inside Plugins Admin Page

I am developing my own plugin and I am trying to figure out how to add tabs to my admin page. Is the process similar to how we add meta boxes? Ie, something like add_tab_box(...); and I specify a ...
0
votes
0answers
8 views

Generate custom output for page/URL in a plugin

In my plugin, I want to be able to catch a slug - say 'testpath', as in www.mysite.com/testpath and output whatever I want from my plugin into the page. I in WP Admin I could create a page called ...
1
vote
0answers
20 views

bulk change of image setting “link to” to “link to: image url ”

i want every image present on my wordpress site with setting "link to: none" or "link to: post url" became in "link to :image url" ho make this for old post and for new post ? i tried this code in ...
1
vote
0answers
23 views

Add custom JavaScript that is a combination of CDN/uploaded files and easily-edited code?

I would like to add some custom JavaScript to my site: a combination of external CDN-hosted files, static library files hosted locally, and local JavaScript that I'd like to be able to edit in the ...
0
votes
1answer
117 views

How do I create a custom add media button modal?

I've created a custom media button for the admin in editing posts, but am having trouble figuring out how to create a view for the modal. I'm not trying to insert uploaded media; I'm trying to allow ...
1
vote
0answers
15 views

Individual testimonial taxonomy not displaying (white screen)

I am using a testimonials plugin which is working fine except for when I try to view the testimonial entry as an individual page The plugin author suggested changing the testimonial slug and updating ...
0
votes
0answers
18 views

Upload Image from Custom Field to Wordpress

What do i really need .. is .. for example: I have Custom Field "image_url". I go to google and search for image. I found one. I manually place the direct image link to my "image_url" custom field. ...
1
vote
1answer
17 views

get_post_title is not working on homepage

My simple shortcode works on all pages except for the homepage (static) in Wordpress 2016 Theme. All content I can read except for the post title. It comes back empty. I want to display posts on ...
0
votes
0answers
30 views

How to make a plugin by customizing a wp core file (class-wp-widget-rss.php)

I need to customize a wp core file, but I know it's not recommended. How to turn this custom file into a plugin? The file I'm talking about is wp-includes/widgets/class-wp-widget-rss.php and I only ...
3
votes
1answer
504 views

Deactivate plugin for a specific user group

I would like to deactivate a plugin for a specific user. I'm using the following code inside a the wp-content/plugin-mu plugin file: add_filter( 'option_active_plugins', 'bo_disable_apm_plugin' ); ...
0
votes
2answers
517 views

Absolute paths in backend for plugins after moving wordpress

I wanted to move my wordpress from www.domain.com/old-name to www.domain.com/new-name. I thought that this is no problem and I missed backing up... Now if your are logged in into the dashboard the ...
0
votes
0answers
25 views

Can anyone explain this Widget output code?

I'm trying to read and understand a widget from a Wp theme. This widget basically allows the user to display up to 3 featured pages with their corresponding featured images or thumbnails. I ...
1
vote
1answer
257 views

How to set value/term of a Woocommerce attribute text field in admin panel?

I am developing a plugin which is supposed to auto-fill the attributes text field. There is a URL text field where user enters URL, on focus out I trigger a AJAX call through which I am able to save ...
1
vote
0answers
18 views

Wysiwyg editor errors

Hi everybody I am having a prob with wordpress when in my themes and browse to widgets and they are not active and won't allow editing. This is a brand new WP install and even if I change my theme its ...
2
votes
2answers
802 views

Using plugin functionality in external php script not working

I am encountering a strange problem which I couldn't solve so far. I'm calling a .php script via cronjob (Debian/GNU Linux). To use wordpress functionailty I added: define('WP_USE_THEMES', false); ...
0
votes
1answer
23 views

How to insert category name above post title in a featured pages plugin?

I'm trying to hack a plugin to insert the category name of the post above the post title in a plugin/widget that displays three posts in a single row on the front page. The hack I tried is as ...
0
votes
1answer
47 views

How to add dynamic content to posts page, archive, taxonomies, search, author, etc?

I am building a Wordpress plugin, it is kind of a page builder and I want to allow users to manually customize the page layout by adding content/shortcodes to any page within the "Template Hierarchy": ...
1
vote
1answer
18 views

How to make WordPress customizable for clients

I was wondering how I can make WordPress customizable for clients? Such as, I use classes and ids in my span, paragraph, div, (etc.) elements... so how do I do this customization without having the ...
1
vote
0answers
32 views

Admin Dashboard with Custom Tab for Client

I am trying to create a basic Tour Date widget. When the user clicks on the Tour Date Tab from the admin dashboard I want them to be presented with five fields. Date Venue City, State or Country ...
0
votes
0answers
14 views

Creating a project management plugin, projects are only seen/managed by admin

I went to make a WordPress plugin to manage my projects. I don't want to make my projects as public, only I(super_admin) should be able to see/manage it. Here is what I need: Adding Client ( as CPT ...
0
votes
1answer
2k views

Prompted for FTP details even with FS_DIRECT set to true

I am running WordPress 4.1 Multisite on CentOS with NGINX. I have set define('FS_METHOD','direct'); in wp-config.php but am still getting prompted for FTP credentials when trying to install a plugin. ...
3
votes
1answer
574 views

Is there a limit on the size of a WP page?

I have a plugin that generates a gallery of user photos. Currently, it works using img tags pointing to the user photo image. It attaches to the the_content filter. I'm experimenting with converting ...
0
votes
4answers
621 views

Error uploading plugin zip file

I have a question here and hope you guys can help me with that. Couldn't find the exact answer from search and I am not a coder myself. I was given the instruction (to change plugin name) by my ...
0
votes
0answers
11 views

I am getting widget deprecated constructor on wordpress? [duplicate]

I am using Widget Context plugins and on my wordpress widget deprecated constructor error are showing : widget_context has a deprecated constructor in ...
0
votes
1answer
480 views

activate a WordPress plugin via a SQL query

I am looking for a way to activate a WordPress plugin via a SQL query. I am aware you can login and hit "activate" on the particular plugin, but I would like to automate the activation as part of a ...
1
vote
1answer
20 views

How to show Recent Page instead of Post?

I'm designing a WordPress website and would like to show up the pages that were created finally(much like the recent posts) So, how can I modify the "Recent Posts" feature to show up Pages and not ...
3
votes
1answer
64 views

Are orders of magnitude used for “Active Installs”?

Say there is a plugin in the repository that has "100+" active installs. Would the next threshold be "1000+" active installs, or is there a lower bracket (say, "500+")? Are orders of magnitude of 10 ...
0
votes
1answer
12 views

Webservice credential storage [duplicate]

I am developing a plugin that calls a web-service with a security header. Can anyone recommend a best practice for storing those credentials on the WordPress site? Right now my best option seems to be ...