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)

12
votes
3answers
20k views

How To Activate Plugins via Code?

If possible, how can installed plugins (meaning the files have been placed in wp-content/plugins directory) be activated from other plugins?
1
vote
1answer
799 views

How to Delete All regenerated thumbnails but keep the original ones?

I have a WordPress site which used to weight around 350 MBytes. Then I changed the theme and found that I have to regenerate the thumbnails. So I did it, Twice actually, but Now the problem is that ...
0
votes
1answer
574 views

Hiding posts - WP Hide Post not working

I frequently publish posts that I need to be hidden. They need to be published, so that someone who has their url can go to them, but I don't want them showing up on my homepage, in my recent posts ...
0
votes
0answers
20 views

Replace/Provide alternative visual-editor

I have created a purely JavaScript based visual editor and been requested to make this into a WordPress plugin - however have little to no WordPress experience. I've looked through certain hooks and ...
-3
votes
0answers
33 views

Carousel with styling posibility for displyaing custom post types [on hold]

Im looking for a carousel that will let me style its content in a very specific way. Here is an image of what I hope to achieve: Post1 and Post2 are the titles of my custom post types and of ...
-2
votes
1answer
31 views

Wordpress reset password button not working

I tried all the way but I didn't find the reason behind so that I can why this WordPress, woo commerce reset password button not working.I am using Spa Lab | Beauty Salon WordPress theme. I tried ...
0
votes
1answer
31 views

Every time I use wp_get_current_user() my plugin breaks

I have been trying to make a sign-out plugin that allows users to sign out from military training activities that they should be at. After they fill out a form explaining why they are not going to be ...
-1
votes
0answers
12 views

Processing multiple shortcodes in one post at once

I'm creating a shortcode that needs to access the database. I'm expecting this shortcode to be used many times per post. This means it will access the database many times. Is there a way to get all ...
0
votes
1answer
457 views

Default Wordpress gallery or very lightweight alternative to it?

I've tried looking up but I cannot seem to find the following... What must I include in functions.php and in style.css to have the default Worpdress gallery working? I have a new Wordpress theme, ...
0
votes
1answer
21 views

Unable to find PHPUnit code coverage stats

Where should I check for the code coverage stats when using PHPUnit for WordPress? My WordPress setup: I have setup WordPress using VVV and my testing suite includes PHPUnit and WP-CLI. How I ...
0
votes
1answer
15 views

How to upload user profile image from frontend in wordpress ?

We have user profile page in frontend. We need to add functionality to user add their profile image from profile page in frontend. Is any plugin or custom functions available for that ?
-1
votes
0answers
14 views

Problem in creating a new product with Woocommerce REST API

Below code is a sample code in WOO REST API documentation on how to create a simple product, but I think it has a bug in categories associative array. Could someone please clarify this? Is it ...
-2
votes
0answers
13 views

How to create a dashboard inside a WordPress Theme?

I am trying to create a custom theme. Can a custom wordpress theme handle the website content and at the same it has a different dashboard for special logged in users?
0
votes
1answer
14 views

How to reinstate previously saved option?

I am working on a simple plugin (kind of maintenance plugin) where I am updating the homepage based on user page option choice. function set_hp(){ $page = get_option('get_the_page'); if ( $page ) {...
0
votes
3answers
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.
1
vote
1answer
777 views

Why does my functions.php cause white-screen and media-library issues?

Overview: I was authoring a child-theme, and realized that functions.php was causing problems with the media-library and caused a "white-screen" to appear after editing a post. I fixed the issue by ...
1
vote
0answers
16 views

Displaying admin notice dynamically

I would like show the admin notice while post text is being edited (before Save post). I suppose admin_notice hook wont work in this (it doesn't for me). Any idea how to show some error message to ...
-2
votes
1answer
32 views

Wordpress restriction to the whole website

I am looking for idea or some plugin, that restricts all the wordpress website and you can unlock it only if you have a credentials. The idea is: when you write the url of the website to open a login ...
0
votes
1answer
615 views

How to remove 'View Details' page & updates from third-party plugin?

I'm making a site for a friend and decided to use a plug-in I found in the wordpress repository, since I am new to wordpress. However, I ended up changing a significant amount of the code to make it ...
0
votes
0answers
29 views

How to create a global variable in a plugin to use in another plugin

I have a variable in a plugin that stores values ​​to her being fired, these values ​​are entered in the [post_title] but before that he a variable of $post_title_template name plugin and would like ...
4
votes
1answer
76 views

post_id always wrong in plugin

I am trying to make two plugins work together where one of them puts a tag around every title with a filter function. I want it to exclude posts of another plugin that have custom post_type (...
-3
votes
0answers
16 views

Auto refresh the page when time expires [Plugin: Launcher: Coming Soon & Maintenance Mode] [closed]

I am currently using Launcher: Coming Soon & Maintenance Mode plugin to display a coming soon message with countdown timer to specific date and time when the site gets launched in-front of all the ...
0
votes
6answers
8k views

Add code into <head> on a per page/post basis

Is there plugin (or an easyish way) to add code to the <head> section on a per page/post basis? I have a multilingual website and I need to implement the rel="alternate" hreflang markup, so ...
-5
votes
0answers
24 views

What is the code to get the download link for a product in tabs in WooCommerce? [on hold]

what I tried is this add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' ); function woo_new_product_tab( $tabs ) { $tabs['downloads'] = array( 'title' =&...
1
vote
2answers
315 views

Color java code the way it is colored in eclipse [closed]

There are a lot of plugins that color code. But most java developers work with Eclipse and Eclipse has a very specific way of coloring code. Is there a plugin that colors code exactly the same way ...
2
votes
2answers
773 views

Multiple files in a plugin

I'm trying to write a plugin with multiple files. I'm sure I did it before without a problem, but now I have the problem in the subject. In the main plugin file I have included a file name - ydp-...
1
vote
1answer
32 views

How to retain $_POST data when submitting form to custom page

I have written a plugin whose job is to create a custom page with a user subscription form. The form page is created like this: $page = [ 'post_type' => 'page', ...
0
votes
1answer
540 views

Implement Autocomplete for a custom field on Wordpress Plugin Frontend

I've setup my plugin to be used on the frontend using a shortcode. I have managed to use an autocomplete form on a previous website I programmed from scratch (not WP based) but I don't understand how ...
2
votes
2answers
1k views

WooCommerce - Is is possible to replace downloadable file and allow existing customer to get it?

I have a WooWommerce 2.0 shop where I sell downloadables and, from time to time, I have to replace existing files with newer versions. When I replace the file URLs for the downloadable files, ...
0
votes
1answer
432 views

Creating a search form and displaying results

Im trying to create a plugin for a site where the user can see a table of orders from customers in the Wordpress dashboard, It's a custom db but I'm using the wp-list-table, I've wrecked my brain for ...
0
votes
1answer
43 views

A plugin popularity data inside “install new plugin” [closed]

Where i can find a plugin that can show in WordPress /wp-admin/plugin-install.php the download count of each plugin?
0
votes
1answer
102 views

Any plugins that upload, resize, and display images? [closed]

Here is an ideal workflow for my situation: Upload a folder full of images Resize images according to a specified size Have the ability to organize these images into folders (collection1, ...
3
votes
1answer
1k views

How much should I charge for creating a WordPress plugin? [closed]

How much should I (working as a freelancer) charge for creating a custom WordPress plugin?
0
votes
1answer
423 views

Plugins not showing on dashboard?

I've seen other people post the same question but I think my scenario is a bit different. My plugins WERE working fine UNTIL I created 2 additional sites and added an extension plugin. So basically ...
0
votes
2answers
2k views

Mass Mail Plugin to Email Specified User Roles [closed]

I'm not looking to spam anyone, but I am looking for a mass mail plugin so I can select the User Roles (whether core or custom) by check box or comma separated entries of the roles, then type my ...
2
votes
1answer
412 views

Wordpress shopping cart that supports 2 tier product variation options

I need a WordPress shopping cart that will produce 2 tier product variations. For example if you pick 'option 1' for a product, sub-options 'x' 'y' 'z' will be revealed and if you pick 'option 2', sub-...
0
votes
3answers
5k views

Why are some of my thumbnails not being generated?

I am currently developing my new theme over at testing.detailsofmylife.net and I am using a WooThemes template as my basic design. I want to try and include their WooTabs widget as graphically I ...
4
votes
3answers
879 views

Secure WordPress paid plug-in

I want to create a WordPress plug-in but also want to ensure that the plugin can only be used after it has been activated with a serial key that should be unique for each domain. What is the best way ...
-1
votes
1answer
70 views

Zigconnect Plugin: Allowing editors to remove connections

I'm using the ZigConnect plugin to set relationships between different types of posts. It appears that editors do not have the ability to remove connections, although this works fine for admins. How ...
4
votes
2answers
779 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' ); ...
1
vote
1answer
508 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
446 views

I am using multi image metabox plugin but I did get how to display the images in templete?

please help me... here is plugin url http://wordpress.org/plugins/multi-image-metabox/ I am using this plugin but after uploading images. I need to get those images on template... code to display ...
0
votes
0answers
11 views

How to enable Admins to Install Plugins [duplicate]

I am running a multisite network on the latest version of WP. I am the Super Admin. I setup a user as "Administrator" on a site in the network. The Admin User can see plugins but cannot install them (...
0
votes
2answers
34 views

How to enable Admins to see Plugins

I am running a multisite network on the latest version of WP. I am the Super Admin. I setup a user as "Administrator" on a site in the network. The Admin User cannot see the plugins menu. I ...
2
votes
1answer
149 views

Is there a plugin to record querystring parameters for a page (for customer tracking)? [closed]

I am creating an information landing page that I intend to cold email out to a bunch of potential clients. I need to track customers that not only open the email (I know how to do that) but track ...
0
votes
1answer
25 views

Restrict backend but allow to use post.php?action=delete&post=POSTID from front-end

Restrict backend. add_action( 'init', 'blockusers_init' ); function blockusers_init() { if ( is_admin() && ! current_user_can( 'administrator' ) && !( defined( 'DOING_AJAX' ) &...
0
votes
1answer
226 views

How to use wp_http with https-pages?

I'm trying to get content from an other site of mine, using iFrame-less Reloaded (http://wordpress.org/plugins/iframe-less-reloaded/) It uses the class WP_http but doesn't work with a page in https. ...
0
votes
2answers
1k views

wordpress content .php file in an iframe's src in a wordpress post

I would like to insert an iframe with WordPress content inside a post. I explain myself. I have two things: a post and a presentation. In the the_content() WordPress filter, I add my iframe to the $...
0
votes
1answer
622 views

Not getting the Correct JSON response from Ajax Request

I am trying to save data from backend with ajax. But its returning data in HTML as well. But i want only JSON data. ////////////////////////////////// // Do Ajax Request to ...
0
votes
1answer
34 views

Can I load the textdomain before a plugin is activated?

I'm writing a plugin and I've just added a check for a minimum PHP version. I tried to i18n the error message but it doesn't work. I translated every string in the plugin, everything works correctly ...