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 (2)

0
votes
0answers
47 views

Admin - Plugin: create custom page with ID

I want to create a plugin in order to generate shortcode settings. My aim is to create a plugin page with add menu action and in this page to have a button in order to create a new setting page with a ...
0
votes
0answers
20 views

Media and products does not show after adding new

Hello fellow wordpress developers, I have created a site with wordpress and woocommerce and I have a problem with the media and the products. After I enabled quick Cache (now I think it's called ...
1
vote
0answers
18 views

Can I use the same textdomain in two separate plugins?

I have two plugins lets name them PluginA and PluginB. Both are part of the same project I want to internationalize the text. The question is if I use same textdomain 'myplugin' but make two files ...
0
votes
1answer
39 views

How to get User Profile path dynamically in wordpress admin panel?

I create registration plugin in front end for user. my all user save as 'subscriber'. Now I wont to get each user profile path from User Profile path dynamically. Simply, Admin Profile path in back ...
1
vote
1answer
25 views

Override Theme CSS with CSS from a plugin

I have seen multiple questions regarding overriding a plugin's CSS with a theme(Example 1, Example 2, etc), but I am looking for the opposite. I have installed a job board plugin that comes with some ...
1
vote
1answer
25 views

Private Plugin Updates - Localhost

I'm trying to get a automatic plugin updater work on localhost, I had it working at one point on a live server but for some reason mid update it gives me an error of: An error occurred while ...
0
votes
0answers
20 views

Filter the options page sections output

I have not found a way around this. It seems Wordpress does not offer this in the settings API. I have created a wordpress options page. I have attached options sections to the page. And then I have ...
0
votes
1answer
24 views

How to change php variable value using wp setting api

How can I change var $failed_login_limit = "2"; var $lockout_duration = "10"; value by using wp setting api? if ( ! class_exists( 'Jeba_Limit_Login_Attempts' ) ) { class ...
0
votes
0answers
45 views

How to upload multiple Image for use registration form in wordpress?

I have following code in my registration form plugin to upload single image in media library.please suggest me to implement this code to upload multiple image. <td>Image: </td> ...
0
votes
0answers
11 views

working with databases

so i got a very wide question and i understand if its to wide for people to bother but if there is a smart head out there willing to give me a push in to the rigt direction i'd be very grateful. i'm ...
1
vote
0answers
20 views

Override Widget class in plugins with custom plugin

I am currently modifying a purchased theme for a client that has several required plugins for it to work. One of the required plugins, creates a widget that displays a post type and client would like ...
0
votes
0answers
36 views

How to upload user profile multiple image from frontend in wordpress?

I create my custom registration form plugin at frontend. Now I need that user can upload multiple image and save it on user table and also save it on user profile folder. I use many plugin like Custom ...
0
votes
1answer
24 views

Locale changed but plugin still showing default language

I'm changing the locale using the locale filter. I've tried various methods; creating a plugin and hooking into filter, declaring locale filter hook in the functions.php file, and even as simply as ...
1
vote
0answers
48 views

How to write 'safe' plugins?

We have reports that our plugin did result in a blank page after installation, and we've got also bad and unfair ratings just for that. Those users don't seem to be able to read install instructions ...
0
votes
0answers
44 views

Singel Sign-On to my WordPress site

Im looking for a solution where a client want to log in it's user automatically to my WordPress site. The solution seems to be Single Sign-on. I have seen this thread Create API for single sign-on ...
0
votes
0answers
27 views

How to run my plugin only when the whole page is sent?

Currently for each page, my plugin runs several times. For instance, when accessing a page in admin panel, it runs 3 times since there is 3 requests. post.php admin-ajax.php admin-ajax.php How ...
0
votes
1answer
37 views

ound this in Where to edit Custom Content fields to optional if there is no plug in?

I am having 3 custom contents on my front page. Each of them must have an image. However, I want some of them not to have the image, I want to have that field optional. Any idea where may I change ...
0
votes
1answer
29 views

Conditional custom redirect

I want to achieve the following: On a post or a page, I can define an optional custom redirect URL (possibly as an Advanced Custom Field) If I view this post/page with a specific added URL parameter ...
0
votes
0answers
11 views

How know the “admin” blog from wordpress multisite?

I'm try to construtc a multisite plugin and when I've the multisite list with all the blogs, I need to remove from this list the "admin" wordpress multisite. For example: I've the multisites 'ids' ...
0
votes
1answer
24 views

Remove Duplicator plugin from admin menu if not an administrator

I'm having a bit of trouble removing the menu item added by the Duplicator plugin (https://wordpress.org/plugins/duplicator/) from the admin menu if the user is not an administrator. I am able to ...
0
votes
0answers
32 views

Showing the results of a search (made through a 3rd party search provider) inside an article

I'd like to develop a plugin that allows me to insert a shortcode in one article [show_image_search key="Alghe Wakamè"] and which will show something similar to the image below. Where can I start ...
0
votes
0answers
17 views

Shortcode Menu plugins default value

I use Shortcode Menu plugins, everything works fine. When I'm using a smartphone, the menu is responsive but the default value is the last value of the Menu. I would like that the default value is ...
0
votes
1answer
28 views

How to add a meaningful link in plugin admin panel?

I've read too many times this kind of code to add a link in plugin admin page: <?php function plugin_add_settings_link( $links ) { $settings_link = '<a ...
1
vote
1answer
18 views

Declaring script dependencies between scripts enqueued with different action hooks

Consider this scenario: I enqueued some scripts in my custom theme. Then I set off to building a plugin that I want to be used only with that one theme. I want to enqueue other scripts in my plugin ...
0
votes
0answers
36 views

Plugin admin menu: How to associate a hidden submenu page with a visible one?

My plugin has the following (simplified) admin page menu structure: // list of plugin items add_menu_page( 'My Plugin', 'My Plugin', 'edit_pages', 'my-plugin', ...
1
vote
2answers
31 views

How to Know if a Plugin can be used with my Theme [closed]

I am new to wordpress & I am using a paid theme on my site www.freelancepulp.com I want to know how I can identify if a plugin is good suit for my theme or not? I had to remove all the plugins on ...
0
votes
1answer
38 views

Adding hero images to blog posts

I'm having some trouble finding the solution for my problem stated in the title. To describe it more clearly, then I would like to add some kind of functionality to the wordpress post section in the ...
-2
votes
1answer
48 views

How to change data format in custom meta box field [closed]

I want to chage date format to d-m-y means day-month-year format . I have added 'date_format' => __( 'd-m-Y', 'cmb2' ) But not working. now it's month-day-year formated . Actually i want to ...
-1
votes
1answer
101 views

My wordpress website admin panel loads very slow, what can i do about that? [closed]

I am having a very slow load time for long time now, I read absolutely everything that I could about how to speed up my WordPress website hosted on azure, However there things that I am not capable to ...
-1
votes
1answer
23 views

How to work email subscribe in WordPress?

There are many website those are using new WordPress theme as email subscribe option, like the below image http://postimg.org/image/6kh8b1wfb/ and I wish I will add this subscribe option in my ...
0
votes
1answer
38 views

wordpress add_action() issue in ajax call

After a hole day finding solution for the issue, i didn't get what is exactly i am making the mistake. Please give your valuable answer for my issue and humble request not to block if you can't ...
0
votes
1answer
31 views

Customizing a plugin function using a hook

I've written a hook in my functions file that adds a metabox, from an installed plugin, to a custom post type that I've created. The metabox appears fine, but the default selection that is checked in ...
0
votes
0answers
92 views

Sending post request to admin-ajax.php but $_POST['data']['events'] is NULL

I am trying to debug a plugin that I purchased but I have come up short and could use some help. Whenever I attempt to save settings that are stored in the "events" object (see below) the plugin ...
0
votes
0answers
15 views

plugin not working for adding post to page

This is my first post and rather my first plugin attempt. Am trying to make a plugin which will create a custom post type and will add the post under a page...to achieve this I have managed he ...
1
vote
1answer
164 views

How to change custom post type pemalink Hierarcy

When we set permalink as Post name and go to wordpress any default post Like "Testing 123" single page its link looks like this localhost/foo_articles/testing-123 Now i when we change our permalink ...
0
votes
0answers
21 views

How do I make a themeable jQuery plugin in Wordpress?

I'm writing a plugin in jQuery that I would like it to be customisable in wp-admin and I'm thinking of the best way to do it. For example, if I was writing a slider plugin and I wanted the the arrows ...
-1
votes
1answer
32 views

How can I make content disappear when a user logs in?

I am working in Wordpress, and I would like to make certain elements disappear once a user logs in. How can I do this? I have social icons on my page that I positioned to the center of my menu bar at ...
0
votes
1answer
30 views

How to get rid of Ellipsis on Woocommerce [Essential] Theme [closed]

As the picture says I am trying to remove the three dots that follow the end of the blue sentence (shown in the photo). I am also trying to increase the numbers of characters it can reveal. ...
1
vote
2answers
45 views

I don't understand how this parameter works..?

Ok, I've got this simple code for a simple plugin which prepends post titles with the word TESTING.. I'm really unclear how the parameter works here. I understand how parameters work in PHP, but ...
3
votes
2answers
99 views

Wordpress plugin from own server

I am developing a game, and I am planning that, I will have partners, so they can run a game like mine. For this, I developed a plugin, with some classes, and functions, to handle the game requests. ...
1
vote
2answers
33 views

plugin style conflicts, how to override? [closed]

My client is using these two plugins: - All in One Buttons - Genesis Design Palette If you check this example page http://bsc.mustor.com/testing-buttons/ you will see that time text on the button is ...
0
votes
1answer
20 views

Manually updating plugins via FTP or SCM

WordPress allows you to update plugins from the Dashboard with one click. When doing these plugin updates via the dashboard, WordPress says it performs the following steps: De-activate the old ...
0
votes
0answers
19 views

Gabfire Widget Image Too Small

I have an issue with an updated widget on Wordpress. I have a sidebar Widget using Gabfire's Widget Pack which is running version: 1.4.4, Wordpress: 4.1.1 and Theme Patterns which is also up to date. ...
0
votes
0answers
31 views

Plugin Boilerplate - Where should I put helper functions?

I'm using the Wordpress Plugin Boilerplate and as it's OOP, I don't see where is the place for helper functions. If I am using this for say a review plugin - and I have a function that generates the ...
0
votes
1answer
18 views

Do rewrites added with add_rewrite_rule() persist after plugin deletion?

I am developing a Wordpress plugin and need to ad a rewrite url using add_rewrite_rule(). That does work. But what happens when my plugin is deleted? Does Wordpress cleanup the htaccess or do I need ...
0
votes
1answer
59 views

How to Display a Plugin function (content) on frontpage using index.php

Slightly Advanced Noob Alert: {Sorry}. I'm designing a WordPress Site {No Active Yet}. I have a plugin [feelbox], but currently it displays only on the single post page. There is no option in the ...
0
votes
1answer
26 views

Customizing $product->get_title() function

i'm customizing a popular CSV exporting tool for Woocommerce. I've got an issue on extracting names for products. Look at this line of code: $product->name = get_the_title($product->ID); ...
0
votes
0answers
19 views

Activate plugins only for mobile?

i found this code and i created a new php file that i added mu-plugins folder to deactivate a plugin only for mobile and it works. The problem is that the shortcodes of the plugin remain there, so i ...
0
votes
2answers
59 views

Change upload_dir folder at a certain cpt but cant change back

im try something with the upload_dir filter I check the current CPT with this function function get_current_post_type() { global $post, $typenow, $current_screen; //we have a post so ...
0
votes
0answers
31 views

'Preview Changes' in CPT with Post Formats throws 404 error

I've tested a few custom post type plugins (having post formats support). ISSUE: While editing any CPT entry if I want to view those changes and click on 'Preview Changes' button, it throws a 404 ...