The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [plugins]

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.

2,616 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
558 views

Plugin could not be activated because it triggered a fatal error. (No Error??)

I am having the error while trying to activate a plugin. "Plugin could not be activated because it triggered a fatal error." I set WP_DEBUG true from wp-config.php file, but there is no other ...
2
votes
1answer
42 views

Website dumps encoded result

So for some reason i get this result on my website By reading other questions and searching the web i found that something like this could have been a result of some caching plug-in that interferes ...
2
votes
1answer
436 views

Files being generated in multiple directories supposedly by WordPress (advanced_settings.php and common_config.php)

I have a few sites in a cPanel. A couple of them are WordPress. I changed to a new hosting provider and since then two files started being generated in multiple directories, even ones not from ...
2
votes
1answer
42 views

How to show popup to a group of users?

I'm wondering if that's possible and how : I would like to show a popup only to a certain group of users. I've looked into the plugin directory but didn't find anything that fits my needs. Can ...
2
votes
0answers
3k views

Adding a jquery script to plugin contact form 7

I have a jquery script that will allow todays date to autopopulate the Date form tag in contact form 7 plugin. This is not a function that CF-7 can do without a script. I don't want my users to have ...
2
votes
0answers
62 views

Remove obsolete plugins artifacts from database tables

I'm dealing with some long-running WordPress blog. It was moved to different servers several times, and the migration process haven't followed «the WordPress way» from time to time — just a database ...
2
votes
0answers
519 views

Use Wordpress with a custom OAuth2 provider

I have a fresh Wordpress installation and a working OAuth2 server in Node.js (made using oauth2orize). The only plugins I've been able to find let me use only the well-known OAuth2 endpoints such as ...
2
votes
1answer
292 views

WP theme with Backbone

What would be the best way to insure that a Backbone WP theme cooperates with standard shortcodes and other WP plugins that include script and style tags in header and footer. I know Backbone plays ...
2
votes
2answers
132 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 ...
2
votes
0answers
60 views

Keep user’s privileges on accessing contents in JSON response

I use WordPress REST API plugin to fetch WordPress stuff on a mobile app. What Access manager plugin keeps the privileges on REST API responses? I want restrict access to certain posts, categories ...
2
votes
0answers
288 views

How can I measure the performance of any WordPress Plugin or Theme?

There are many WordPress plugin or themes with nearly same functionality and features but, how can I measure the performance of any plugin or WordPress theme other than using P3 profiler plugin? I ...
2
votes
1answer
646 views

Give editors access to particular plugin - turn “admin.php” into “edit.php”

I'm using the Business Opening Hours plugin. I made it appear in the sidebar using the Client Dash plugin, but when the Editor clicks it, they cannot access it, only the Admins, how can I change that? ...
2
votes
1answer
209 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
0answers
64 views

Can I check plugins and themes for PHP 5.6 ahead of global PHP server Update

My server is updating to PHP 5.6 next week. I manage about 30 WordPress websites. I looked for a plugin that would check if any of the code throughout the other plugins and theme would break with the ...
2
votes
1answer
101 views

How can I reuse the Wordpress search form for a custom plugin / widget?

I need to develop a custom widget to display posts, based on their ID. The user must be able to handpick posts. Right now, they can enter the post ID, but it is not convenient for them. Is it ...
2
votes
0answers
968 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 ...
2
votes
0answers
60 views

Can I store WordPress media in different sub-folders?

How can I have my media files saved in different sub-folders of my choosing in WordPress? It just only use one folder for all media which make it hard to manage them. Just to be clear, I'd rather ...
2
votes
1answer
733 views

reorder plugin menu position

Looking for a function that I can use to reorder the admin position of a 3rd party plugin, and that will still work once said plugin gets updated. Backstory AIO webmaster and All In One Events ...
2
votes
2answers
127 views

How do I remove the entire left nav bar in admin for certain level users?

I know how to remove items from the left nav bar (hook into admin_menu and do global $menu; unset( $menu[ __( "Posts" ) ] ); for example). But it still shows a left nav bar (with nothing on it). I ...
2
votes
1answer
90 views

custom plugin - custom post type -Selectable options for User

Currently i am writing my first own Wordpress plugin and I have a few problems. I read / did a lot of tutorials, but i have the feeling that I'm not moving forwards. I can create my own Posttyp "...
2
votes
2answers
307 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....
2
votes
0answers
368 views

Getting a 404 when trying to load /wp-admin/plugin-install.php

I am not sure why, but the back-end of my site is running slow... even though it's running slow, all pages still load, except this one /wp-admin/plugin-install.php (the add new plugin page). I ...
2
votes
0answers
119 views

Wordpress with Composer and different plugins for dev/live.

I'm using a Bedrock-like setup where I handle Wordpress core & plugins with Composer. I have my usual plugins in my composer.json within the "require" block, and some dev related plugins in "...
2
votes
1answer
875 views

custom_list_table edit/delete bulk actions

so... this is a brand new chapter for me, i've googled for a solution and found loads but nothing working for me unfortunately. function column_title($item){ $actions = array( '...
2
votes
0answers
629 views

unzip a folder on specific location and delete the zip file

After the lots of search. I am deciding to post my question here. Basically i want to upload a zip file in my wordpress site from my admin panel. And also extract this file to specific location with ...
2
votes
1answer
200 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 ...
2
votes
1answer
796 views

Add custom buttons with custom actions in Edit Post screen in WordPress?

I am creating something for a client and I have a Class that I created with a Custom Post Type called 'PuSH Feeds' and when the user adds a new post and publishes it they can then click on one of two ...
2
votes
0answers
401 views

Hook before & after plugin / core update

I'm working on a maintenance plugin for my website and I want to enable it before plugin/core upgrade starts and disable it after plugin/upgrade ends. Any ideas ? Thanks! :) PS: all I know is I can ...
2
votes
1answer
749 views

javascript onload calling a function of a plugin

A friend created a plugin for me which allows the users to mark posts as read or unread. The code of this plugin is the following : edit of the code ! <?php /** * @package Read-Unread * @...
2
votes
1answer
242 views

Send Data to Wordpress from kiosk

I need to get a data from kiosk (think specific ATM machine) to wordpress database. Kiosk service providers told me to give them Gateway URL and Request format to send data. Im stuck on this, I dont ...
2
votes
2answers
772 views

Multisite Widget/Content

I'm using WordPress multisite and need to display content across all subsites in the sidebar. This is a network of 50+ sites so updating all 50+ sidebars with this content every few days is not ...
2
votes
1answer
172 views

Passing $this->get_field_name() to javascript

I've tried doing this one of two ways: In the form method of my Widget class (which extends WP_Widget), I have the following snippet, which sets a global javascript variable: if( $instance ) : ?> ...
2
votes
0answers
2k views

Changing image URLs in media library

On a default wordpress install, the media library is located at: /wp-admin/upload.php. I am trying to update the image URL to point to my CDN, not my local server. This filter add_filter('...
2
votes
0answers
1k views

jQuery Plugin to use Wordpress functions in AJAX request

I'm using Chained Selects jQuery Plugin to create multiple chained selection fields. I'm using the remote version of the plugin to build the related options by means of AJAX request from a separate ...
2
votes
1answer
363 views

publish_post plugin hook doesn't always pass $post->post_content

I've written a simple plugin that grabs the contents of a post, as the post is published, and sends them to an external site for archiving. This generally works but when dealing with posts that haven'...
2
votes
0answers
1k views

Plugin/Folder permission issues with Azure

Has anyone come across plugin issues when using Wordpress with Azure? I recently spun up a free wordpress install on azurewebsites.net, using PHP 5.4 and Wordpress 3.5. Once plugin in particualr, ...
2
votes
4answers
2k 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); ...
2
votes
0answers
876 views

wp_schedule_single_event function not working

I am testing the wp_schedule_single_event function and it is currently not working on my upgraded version of wordpress. It looks like the event is being scheduled but the code in my hook is never ...
2
votes
0answers
43 views

How ( and mostly at what time ) can i prevent the alternate cron from running?

I'm using the alternate cron version, but i need to prevent it from running on some calls, how can i do this? In the cron.php file i've seen on line 225 if ( defined('ALTERNATE_WP_CRON') && ...
2
votes
0answers
81 views

gallery option is not available in media upload box in costum theme option page

I am creating a theme in which I have to create a sponsor's image gallery on the admin panel in theme option page. It's a slide show on the front panel. For this, I followed a tutorial to create a ...
2
votes
0answers
39 views

Get data from plugin People list in author template

I use Theme Mystique for my site, and the plugin People list. I have created several new fields for the profiles of authors in the plugin. Now I want to get these fields in the authors template. How ...
2
votes
1answer
167 views

Converting Attachment to Images?

I've had no problem using lightboxes before with attachment images, but I've switched to a new theme called Quicknote and it seems that attachment images now instead link to the attachment page. ...
2
votes
4answers
1k views

WooCommerce 'all' orders no longer being displayed - how may I debug/fix

I've just noticed that we seem to have a bug with our store. The 'all' orders selection is showing as empty but the other sub catergories such as completed, on hold and pending etc are there. I'm ...
1
vote
0answers
9 views

Making Mathjax dynamic so it renders input without page refresh

I use the Simple Mathjax plugin on my Wordpress site to allow users to add nicely formatted mathematics by writing it within dollar signs, $...$ or $$...$$. This works on pages and in posts but not ...
1
vote
0answers
26 views

Preg Match All doesn't Allow echo first character for Wordpress Taxonomy Tags

I have been working on a code, that finds particular words from my content and converts them to wordpress Taxonomy Tags. I want to prefix them with a '#' symbol... But somehow it doesn't work This is ...
1
vote
0answers
12 views

Standard Fail2Ban vs. WP Fail2ban vs. WP Fail2Ban Redux

I am working on revamping my wordpress site security, hosted via cloudways. Cloudways is generally great. I was working on installing WP Fail2Ban Redux: https://wordpress.org/plugins/wp-fail2ban-redux/...
1
vote
0answers
49 views

Action or Filter Hook for a Custom Importer

I'm trying to write a custom bulk importer for store locations but I am struggling with which action hook to use. I have written it and tested it on a clean WordPress installation and it works fine ...
1
vote
1answer
14 views

How to find wordpress db schema changes when upgrading from 4.9 to 5.2

When I upgrade from 4.9 to 5.2, the installer will say the database would need be upgraded, however, before doing so, it is possible to check what has changed?
1
vote
0answers
19 views

Looking for a solution - slightly convoluted problem

OK so stick with me on this one... it's a little involved. I won't describe it all, I'll simplify things as best I can to the basics. OK so, on my wordpress site I have three text boxes (BOX1,BOX2,...
1
vote
1answer
16 views

Install (enable) plugins on multisite, on localhost

From the North! I have WP 5.2.3 running, as Multisite, on localhost. I would like to install plugins at the Network level, so that I can enable them on individual sites. I go to My Sites > Network ...