Questions tagged [plugins]

Plugins are tools to extend the functionality of WordPress.Use the tag to mark questions related to issues and bugs faced in the plugin or its improvement. This tag should not be used to mark requests for plugin recommendations, which are off-topic per the FAQ.

Filter by
Sorted by
Tagged with
1
vote
2answers
28 views

Wordpress api call using wp-ajax returns error 400

I'm quite new to doing api calls using Wordpress so bear with me. I have this function: function foo() { $userinfo = [ "number" => "26246426", "secondnumber" => "43634643" ]; $...
0
votes
1answer
734 views

wp_insert_post() inside save_post(): force WP to not update global post object?

I wrote a custom plugin which inserts another metabox on the edit post screens. Once the user saves or publishes an article, I want to create another post with a custom post_type, which works great. ...
1
vote
0answers
16 views

Exporting post content from wordpress using WP All Export and wpautop() php function to include paragraph tags

I have exported my post content from wordpress using WP All Export plugin https://wordpress.org/plugins/wp-all-export/, however the content of my posts has been exported as HTML but is missing ...
0
votes
1answer
15 views

front end editor creation for Restropress plug in - displaying information from a WP admin area, on a different URL

I dont know where to start on something I am trying to do other than by asking the question. Please forgive my newness. Thanks in advance - I have a REstropress WP plug in that shows some order ...
0
votes
1answer
381 views

rms_unique_wp_mu_pl_fl_nm.php

What is creating this file? It's in /wp-content/mu-plugins directory. If I delete it, it comes back after a while. it contains these code: <?php if(!function_exists('do_rms_activation_task')) { ...
0
votes
1answer
17 views

Wordpress PWA with Form

Is it possible to use a form in a wordpress pwa. I am using the SuperPWA plugin and have a form on the site, the main focus on the site to collect data which is sent to google sheets..works fine. ...
0
votes
0answers
9 views

Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu

I am currently translating all of my plugins with loco translate. This is working fine on frontend and in all metaboxes in the backend, but not in the wp-admin menu: The red circled word should be in ...
0
votes
1answer
686 views

Generate and send ICS file through WordPress

I'm writing a custom plugin for reservations. I need to generate an .ics file that needs to be sent to a predefined email address. I've tried some library like ZContent iCalendar and a PHP script ...
0
votes
0answers
13 views

Clean old users

Hello I have over 60k users on my wordpress site and using serching for users takes 30s + on a massive server. I would like to remove users that have registered prior to selected date and have a ...
0
votes
0answers
10 views

How to set ACF field as required

I have a text field "Author Name" in ACF on the post page and I want to set it as required. I tried setting it in ACF in the field options as required. It added the required attribute for the field in ...
0
votes
0answers
19 views

Show function to super admin

How do I limit information being applied only to Network Administrators? TL;DR; I am building a multisite for a City Council where every member will have its own subdomain. In one of the plugins, I ...
0
votes
0answers
11 views

Is there a plugin that i can use to find string that should be internatinalized

I have plugin that I want to internationalize, so I wan to know if there is an existing plugin that can analyze my plugin code to find the string that are missing internationalization
0
votes
0answers
12 views

Error loading wp_editor via ajax in wordpress

I needed help. I'm creating a page external to wordpress and needed to add wp_editor. Here is a simplified example of my code: <? require('../wp-blog-header.php'); define('WP_USE_THEMES', ...
0
votes
0answers
26 views

How do I insert a shape onto an image and then play an audio file upon mouse hover or mouse click on that shape in Wordpress

I love the feature MS PowerPoint offers where I can freehand draw a shape onto an image/video, then easily add an Action upon mouse hover or click of said shape. I need the same feature on my ...
0
votes
0answers
8 views

How to check for already existing plugin versions on activation? and prevent errors

If a user has a version of my plugin installed and activated, let's say version 1.1 And I send the user version 1.2 and he tries to upload and activate the new version, what will happen is that they ...
0
votes
1answer
12 views

translate wordpress website from english to arabic

I install weglot plugin and add arabic as destiantion language but when change website from english to arabic i get this error Not Found The requested URL /ar/ was not found on this server how can ...
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); ...
0
votes
0answers
10 views

update_post_meta is not working for me when I use e.preventDefault for update button

This is the what I'm doing at WordPress dashboard. I'm working on WordPress plugin, and trying to save my input fields data against the particular product when the update button is clicked for the ...
0
votes
0answers
14 views

Do widgets support input from users (not admin users)

I am trying to create an autocomplete widget for wordpress to add to an existing custom theme. My question is if this is even possible or are widgets strictly only for displaying information? The ...
1
vote
1answer
843 views

WordPress user account activation

How do I implement user account activation in WordPress? (This is not for multisite.) Once the user registers through the site or admin panel, the user should get an email with an activation link. ...
0
votes
0answers
11 views

How to make WooCommerce multiple filter with custom meta fields

I'm trying to create a big filter for shop page and can't find anything about this. I created some meta fields for product data inside general by hooking inside ...
0
votes
0answers
9 views

Can We use Add_filter inside IF statement. If use then how. I code to use Add_filter inside if statement but its not working

I code this to add 25% on the custom price of each product with a checkbox trigger in checkout. I have a problem that when I use hook ” add_filter ” inside IF statement to apply on checking it’s not ...
0
votes
0answers
17 views

How to migrate Powerbuilder page data to another site?

I am working on a local wordpress site with power builder plugin installed. I have designed couple of pages and i want to replicate these pages to another wordpress site, can any one guide me how to ...
0
votes
1answer
26 views

Hide Wordpress Site URL from Source Code

How to hide the leading site url from the source code example http://example.com/wp-content/themes/themename/style.css Becomes /wp-content/themes/themename/style.css Removing the main site URL ...
0
votes
0answers
15 views

I'm trying to create a food menu where I easily can choose the displayed alternatives from the back end

I'm trying to create a lunch menu for a website that easily could be modified from the back end. I have a document with many different lunch options and I would like to export them to Wordpress and ...
0
votes
1answer
13 views

how to add a hidden type input to wp admin login form programmatically

I want to write a wordpress plugin that custom the wp admin login form. I want to add a hidden type input to the form. please guide me to do this. thanks
0
votes
1answer
879 views

How to get menu location in wp_update_nav_menu hook

I want to get the menu location in the wp_update_nav_menu (during menu save action) add_action('wp_update_nav_menu', function ($id, $data = NULL) { error_log( var_export($data, true) ); ...
2
votes
2answers
1k 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 ...
0
votes
0answers
7 views

Convert Eventon Timezone Meta Variable to Local time

Simply put, I want to somehow extract the event start time and event end time from the events at the following link... https://rebrand.ly/yewh1tu I know the logic of what needs to happen, but don't ...
0
votes
0answers
9 views

Securely render emojis on front-end and post to backend

I am creating a wordpress plugin which allow user to select different emojis with text. I am then making a fetch request to back end to update with selected emoji. Right now I am just rendering a ...
0
votes
0answers
11 views

woocommerce payment gateway callback not firing

I am struggling making a woocommerce gateway for cofidis. This institution needs that I post via form a set of variables and after confirmation is made, it sends back, via get a set of variables ...
0
votes
1answer
42 views

Implementing Scrollable Images

Sorry if this question derives subjective answers. I figure that asking on WP-SE makes this a little more forgivable. If I had asked on SO I would have had to explain why I couldn't change the block ...
3
votes
2answers
4k views

Plugin: How to make links in admin page open up inside of the admin panel

In writing my plugin, I have added my menus and submenus to the admin page. The pages load and function as intended. What I am trying to do is create some links inside of these pages that will pass ...
0
votes
1answer
19 views

Trying to add admin file upload form plugin

I'm trying to create an upload form from my admin page via a plugin. I've cobbled together some code from a few sources, including this one: https://www.htmlgoodies.com/beyond/cms/create-a-file-...
0
votes
0answers
21 views

One WooCommerce Store to multi distributor sites

I have two Stores on WooCommerce, Store A and Store B. I want to fetch products and categories to store B from store A so that store B is a sub store of store A, I cannot use MultiSite because store ...
0
votes
1answer
17 views

How to deliver ready WordPress -solution to client

I'm gonna perhaps get employed myslef for part-time job by working via subcontract to digital media office in near future. I'm developing ready-to-use solution with Studio Press -bought licensed ...
0
votes
1answer
1k views

Username Variable in custom links?

I'm trying to use custom links in the php code to link to buddypress profile pages. Basically, I need a way to create a username constant so I can make links like domain.com/members/--username--/...
-1
votes
1answer
15 views

Extend WordPress REST API with Scheme Pro Plugin

I am creating a Vue app powered with WP REST API. Situation is that I have a website that has content and I added schema pro plugin for SEO enhancement. Now since I am using WP REST API, my question ...
0
votes
3answers
699 views

How to make my wordpress site Multi-region

I have a website that I want to make multi-region. In this case I want some pages of the website to be different on each region, also the menu should be different. For example. I want a website that ...
1
vote
0answers
29 views

Wordpress web pages keep getting deleted (moved into the trash) by themselves

I'm new to Wordpress. My Wordpress web pages keep getting deleted (moved into the trash) by themselves, without any input from me. Luckily I have made a backup with All in one migration tool, prior to ...
0
votes
1answer
2k views

How to set From filed in contact form 7 Use Mail (2) auto responder

I'm trying to set a contact form on my site but have a little problem with the auto responder (use mail 2) the From field. I'm testing it by myself so i act like an admin and a user on two different ...
0
votes
0answers
18 views

Get related posts from another WordPress site?

I have a client who owns 2 news websites, both are WordPress sites but it does not use WordPress multisite (they are 2 separate WordPress installs), both currently use Jetpack to return a list of ...
0
votes
0answers
9 views

Allow user / attendee to change their chosen event on website themselves using The Event Calendar

My client wants to let his users change which event they'll attend, and pay a small fee. For example, they go to the website and click on 'Reschedule.' They fill in their email and see a list of the ...
0
votes
0answers
557 views

504 Timeout gateway when trying to pay for an order in Woocommerce. What else can I do?

I receiving a 504 Gateway Timeout error when I try to pay via PayPal or Stripe in Woocommerce. PayPal in Sandbox mode also causes an error with ajax request, although in the PayPal logs it is written ...
2
votes
1answer
3k views

403 Forbidden - You don't have permission to access /wp-admin/admin-ajax.php on this server

When I try to make a backup of my wordpress website through plugin I recieve the following error: "403 Forbidden - You don't have permission to access /wp-admin/admin-ajax.php on this server." This ...
-1
votes
0answers
13 views

How to force wp-stateless to rewrite media url?

I'm using wp-stateless plugin to store all media files in Google bucket. In wp-stateless settings, I change the custom domain to my own domain. Then, I configure the load balance for the bucket. The ...
0
votes
1answer
20 views

How to create a plugin with automatic update?

I'm developing a plugin and would like to know how do I send automatic updates to it? Do I have to use webhooks for this? The plugin will be for private use, it will scan the website to remove ...
1
vote
2answers
334 views

Is it possible to require approval before a page edit is made live?

I'm trying to replace an old Joomla website that had a version control plugin for site content. This was very useful for my employers, who wanted employees to be able to edit their own department ...
0
votes
0answers
10 views

Issue with Adding Price variable and custom price together

Im developing a plugin for adding extra fee to a download, So in need to when a button clicked the add $extrafee and edd_price($post->ID) together to make final download price with extra service ...
0
votes
2answers
825 views

Get post content from outside the loop with plugin shortcode usability

This is great for showing just the raw content... Get post content from outside the loop But i'd also like to apply shortcodes from various plugins to my content to affect the content. What would I ...