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.
10,750 questions
1
vote
2
answers
37
views
When to store store plugin options as a single database record?
I'm building the analytics script plugin which offers customizations on a settings page. There will be around 20 options in total.
Does it affect the performance negatively if I manage these 20 ...
0
votes
0
answers
66
views
Sudden ERR_HTTP2_PROTOCOL_ERROR on every JS and CSS files loads
I recently went on my website which is online since more than 5 years now and realized that none of the CSS and JS files were loading. By looking into the console, I’ve seen that every load fails ...
0
votes
1
answer
120
views
Swoof filter settings
When filtering the permalink structure it looks like this:
https://constructions-equipments/shop/swoof/brand-caterpillar/
But it should show like:
https://constructions-equipments/shop/?swoof=1&...
0
votes
1
answer
26
views
How to change css poperty through webhook in wordpress
Here is the code that I have wrriten in the snipnet plugin and it is return parse error when i am returning data.
// JavaScript function to toggle button visibility
function showTheButton($...
0
votes
0
answers
42
views
Create index for own custom data in elasticpress from wordpress plugin
I creating a plugin , I inserted some custom data into database mysql , I need to create an index for that custom data in elastic press for my future search. I am confused about creating an index for ...
0
votes
0
answers
25
views
Wordpress: customize caption inside the fancybox slide with html elements
I'm locally developing on wordpress version 6.4.3 a gallery page showing sculpture images. The theme is twentytwentythree and I'm using Fancybox for wordpress (version 3.3.4) as a plugin for the ...
0
votes
0
answers
22
views
How to resolve status code: 410 from Pagespeed insights for the wordpress website
I activate the plugin Seraphinite Accelerator on the website “http://tangentconsulting.ca”. After the activation, I changed the URL from our-story-2 to our-story. The Our Story page was working fine ...
0
votes
0
answers
9
views
Looking for Features in WP Compatible Slider
a friend and I are working on a client website and they want an extremely feature rich slider but we haven't found one that does everything we're asking. Does anyone have suggestions?
Needs to have ...
1
vote
0
answers
16
views
can not serialize and insert data from custom form
I have a custom form . My form have three input fields book_name, chapter_title and chapter_content. chapter_title and chapter_content are dynamic form fields. I want to insert book_name as post_title ...
0
votes
0
answers
186
views
Fatal Error in my WP "Call to undefined function get_option()"
It all started when I installed the Really Simple plugin on my WordPress website and requested the SSL certificate even though I don't have HTTPS. When I realized this error, it was already too late, ...
0
votes
0
answers
40
views
Plugin Error - Not Sure Where to Go From Here
A while ago I was updating plugins for the site I work on, and the website encountered a critical error. Since then, the site and wp-admin has been non-functional. A visit comes up with this error ...
0
votes
1
answer
70
views
Executing ACF field as a shortcode
I have a custom post type, where one of ACF fields is map (we take google maps ). Currently, we are pasting that in text field, but to work, that must be executed as a shortcode. The problem is, ...
0
votes
0
answers
15
views
Issue using form in Google app in mobile
I have a contact form on my website, and I'm utilizing Contact Form 7 (CF7) plugin for it. However, when I fill out the form using the Google app on my mobile device, the page seems to reload somehow.
...
0
votes
0
answers
29
views
How to check if something belongs to a list or not
I'm seeking a solution for my website where visitors can verify their membership status by inputting their ID or email. The requirement is for the system to indicate whether they are a member or not, ...
0
votes
1
answer
63
views
Best approach to change mobile background image and adding its class
I have extended core/group block to add different background image when its being viewed on smaller view port.
I would like to know what will be best approach to add class name here which I did in my ...
0
votes
0
answers
92
views
Dropdown menu only appearing when logged in
I'm having a problem where the Hamburger dropdown menu only appears when I'm logged in, I tried on multiple devices and I tried clearning the cache and removing all plugins (except elementor, without ...
0
votes
0
answers
13
views
No WP-Content Folder in Website Files, No Ability to Disable Plugins Manually
While updating some plugins on my Wordpress site recently, I encountered a critical error, which I suspect to be the result of an update failure. I can't access WP-Admin and so used Filezilla to try ...
2
votes
1
answer
81
views
Why is my drop down empty
For a wordpress challenge I need to make a dropdown with all categories and I need to use apifetch
So I have this :
/**
* Retrieves the translation of text.
*
* @see https://developer.wordpress.org/...
0
votes
0
answers
17
views
Can The REST API be used to create/edit plugins and themes?
I'm trying to use chatgpt to create an entire website start to finish, the only problem I've run into is that I'm not sure how I would edit/add plug-ins and files/folders via the REST API. I have a ...
1
vote
0
answers
19
views
Help Needed: Issue with Change Permalink on DirectoryPress Listing Pages
I'm encountering a problem with a WordPress plugin I'm developing for DirectoryPress listing pages. The plugin aims to replace the default permalink with a new link specified by users in a custom ...
0
votes
0
answers
9
views
Product image import
I have an Excel file with SKU, product name, and image. Then there’s another row with the same SKU and the same product name as the first row, but the image name changes, so it becomes another image ...
0
votes
1
answer
45
views
Allowing users to install a predefined bundle of plugins and themes with one action
EDIT: Assuming one already has WP Core installed; would it be possible to offer a predefined bundle of plugins and themes made by various parties, which users could download, and then install in (...
0
votes
0
answers
18
views
WP Crowdfunding login redirect fails
I am using wp crowdfunding plugin for my website but when I create a campaign the campaigns are visible in the dashboard but are not found in the wpcf_list and the another problem is that when I login ...
1
vote
1
answer
47
views
Including Google Map within a wordpress plugin
I am developing a plugin to include with a shortcode a form which must include Google map in order to retrieve latitude and longitude by dragging the marker.
EDIT QUESTION WITH COMPLETE CODE
I created ...
0
votes
1
answer
28
views
wp db request without refreshing the page
want to make database requests like for example "select * from wp_users" to the database without refreshing the page. I am in a wordpress plugin.
Have try already a few things and seem not ...
0
votes
0
answers
50
views
How can we extent core/group or cover block?
I am working on a project and it has a requirement of adding separate background image for mobile devices.
So is there any way that I can add InspectorControl on the core/group block for the mobile ...
1
vote
0
answers
107
views
Where is code for is_purchasable defined in Woocommerce [closed]
I've got a Wordpress/Woocommerce installation.
On the category page, products either have an 'Add to Cart' button or 'Read more' button depending on whether each is purchasable.
When I look at the ...
0
votes
0
answers
16
views
Conclude woocommerce-shipping-totals
I use a Plugin for my woocommerce Checkout (Fluid Checkout). I use different shipping Methods for different products. In this case I got for each Method one output in the checkout shipping totals.
But ...
0
votes
0
answers
27
views
Uncaught ArgumentCountError
I'm trying to fix a friend's wordpress website (as the closest thing she has to a vaguely techie friend :) ). She updated a plugin as instructed to do when she logged on to administer the site (she ...
0
votes
0
answers
21
views
Private WordPress Content
I will send customers a QR CODE that will direct them to an image on the website (png or pdf), referring to their circuit.
Example: https://inovative.com.br/qr-code/Customer1/
https://inovative.com.br/...
0
votes
0
answers
57
views
Hide attributes based on previous selection
I've been trying to achieve this on my shop page but I am not able to. Basically I have 3 attributes, brand, model, year. I want to hide specific attributes or disable them ( make them not selectable )...
0
votes
1
answer
41
views
Secure way to add JS Script to Wordpress filesystem
EDIT: Because of the answers below i changed the title and explanation for this question. Maybe there are other people who struggle with saftey questions, like me.
I am a beginner with Wordpress ...
0
votes
0
answers
23
views
Customize WP Filter Hook
I am using WP Form Locker Add-on Plugin.
When you confirm your email the plugin sends you email with verification link.
The email reaches in English.
I want to make it reach in Arabic
This is the ...
1
vote
0
answers
142
views
Theme Builder All Parts shows locked [closed]
I have installed the Elementor free plugin on my WordPress site,
now when I go to Admin->Templates->Theme Builder, I see that all the SITE PARTS are locked,
see the below image,
why this ...
0
votes
0
answers
32
views
Not applying update field (acf) in my plugin
this is my plugin code
<?php
/*
Plugin Name: Unique Auto VIN Fetcher
Description: Fetches vehicle data using VIN from a specified API and fills the data
in custom fields in posts.
Version: 1.0
...
1
vote
0
answers
51
views
API to programmatically determine which wordpress plugins are out of date
Is there an API or an automated way to determine which plugins are out of date and/or have newer versions?
I have about 10 different linux servers, and each server has at least 5 installations of ...
0
votes
0
answers
70
views
wp_add_inline_script vs wordpress fetch api
Inorder to pass some data from PHP to the javascript files, we can use either wp_add_inline_script or fetch api. Is there any condition, where each one of them is preferred over the other ? I have ...
0
votes
0
answers
31
views
How to use Rewrite Tag Parameters in URL-rewritten Page's Titles (META & H1)?
I'm developing a plugin which creates a page and inserts shortcodes as content upon plugin activation.
My goal is to have dynamic page URLs such as the following with data/content pulled from custom ...
0
votes
0
answers
71
views
Wordpress Website is very slow after migration
I am using an custom domain to produce a website for my customers. When the draft is finished and the customer happy, I transfer the website to the customers new domain.
For this process I was using a ...
0
votes
0
answers
77
views
Local WP site can't locate plugins or theme
I'm trying to recreate a WP site on my computer but it's missing all the plugins and themes. The folders exist in the project and I can see the menu items in the dashboard, but when visiting the ...
0
votes
0
answers
13
views
WP galleries in posts after import. How do I do it?
I moved the website posts with Wp All Export and All import, which worked fine, but many of the posts contained galleries (Wordpresses gallery with [gallery] shortcode). The problem is that now the ...
1
vote
1
answer
49
views
Ajax response from Media Selection does not update ALL information more than once
I don't quite know how to explain what is going on, or how to title my post but I'm going to do my best.
I'm making my first plugin for WordPress, which is very simple.
Allow the user to select a ...
0
votes
1
answer
72
views
search by meta field in the regular WordPress admin panel search
I want to expand the Wordpress admin panel search using this code.
function add_search_query_meta( $query )
{
if ( is_admin() || ! $query->is_main_query() || ! $query->is_search )
...
1
vote
0
answers
131
views
Code Snippets security when selecting "only run on front end"
As I understand the functions.php only runs on the server and its source code is not provided to the browser on the client's side. Additionally, Code Snippets plug-in, assuming previous security ...
0
votes
1
answer
72
views
adding firstname and lastname on registration
So i'm making a extension plugin FOR another plugin.
What i want to achieve is that i upon registration they are required to add their Firstname and Lastname, so i added the fields for it, i did the ...
1
vote
0
answers
18
views
Search result page admin panel - display values from the result's metaboxes
Help me please.. I have plugin for vacancy/resume/companies in the form of posts on Wordpress.
The task is to perform a standard Wordpress search for arbitrary fields inside the record.
The fields ...
0
votes
0
answers
40
views
Plugin question, How to insert a colon in a value box
I would like to be able to insert a colon into my number box. In this case, I would like to put a colon between 15 and 1 instead of the decimal, since it is describing a ratio, but when I do this it ...
0
votes
0
answers
78
views
How can I create a drawable image for a contact form
I'm trying to create a new patient form and Im not sure the best way to create a section with an image of a body so that they can draw on it to indicate where on the body they hurt. It has been done ...
0
votes
0
answers
11
views
Changing slug when post is copied
Is there a way to rewrite the slug when copying a post in WordPress to the new title instead of having a -copy after the slug?
Thank you!
1
vote
0
answers
77
views
Possible to overwrite load_template function in plugin using functions.php
So, I am currently using a Wholesale plugin for Woocommerce which, by default, redirects users to it’s own Wholesale Store page. The caveat is that the Wholesale Store page only uses the archive-...