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
0
votes
0
answers
4
views
What is the Best Secure Plugin to Manage WordPress Website Security? [closed]
I am currently using Wordfence Security. After some research and reading reviews, I think it is the best option for managing WordPress security. It provides essential features like:
A Web Application ...
0
votes
0
answers
2
views
How do I disable quantity field on the cart page for a product that has a maximum quantity set in WooCommerce
I have added a maximum quantity field under the General menu of the product data. After I set a maximum if I add more than the maximum to the cart I get the desired error and the number of items can't ...
0
votes
2
answers
18
views
Change WordPress Username maxmimum length
Would anyone please advice on how to set a hook to be applied to function.php
So that I can change the default WordPress Username Limit (40 Charachters).
Also I need to allow Arabic Charachters in ...
0
votes
0
answers
19
views
Wordpress Block - add_rewrite_rule doesn´t work
I created a Wordpress Plugin to display Events.
The plugin is developed via Wordpress Block and works fine. The url to the detail page is http://localhost:4444/?slug=02-12-2024_artist_name
To make it ...
0
votes
1
answer
14
views
Edit Image button disappears when I make WordPress use Imagick instead of GD
Resizing images in WordPress Media -> Library was causing images to lose quality so after searching I found a solution to make it use Imagick instead of GD, I added following code
functions.php
...
0
votes
0
answers
13
views
Display image sizes in media library and make it sortable
I've used this code https://wordpress.stackexchange.com/a/296517/254438 to add image sizes in media library.
How do I add sorting of image sizes? I know there are plugins but I don't want to use any ...
0
votes
0
answers
12
views
How to Modify Gallery Preview on Edit Screen on the "Visual" Tab in Classic Editior
I am modifying the gallery_shortcode() function from media.php using a plugin.
How do I make my custom gallery structure show up as the preview on the edit page. I want to change how it displays in ...
0
votes
1
answer
9
views
Can you open a media frame to sellect an attachment to associate with another attachment you are editing on an existing media frame?
I want to have a media frame that pops up on click of a button on an existing media frame.
This way I can associate another attachment with that attachment.
This question shows an example of you can ...
0
votes
1
answer
15
views
Is there potential plugin incompatibility if theme has no header.php and footer.php?
I apologise if I'm asking something which has been previously covered - but I've not been able to find an answer.
In updating a classic theme for personal use, I considered dispensing with the header....
0
votes
1
answer
26
views
YITH Wishlist plugin displays the same product id for every product [closed]
Hello fellow stack exchangers! I seem to be having a problem using the YITH Wishlist plugin for adding a wishlist feature to my products in a custom theme I am developing. When I hover over the heart ...
-1
votes
0
answers
12
views
WP_TEMP_DIR unlink(dirname(__FILE__).' issue
i got issue with writing anything on the server (updating plugins and themes, creating pages etc.)
Downloading update from https://downloads.wordpress.org/plugin/instawp-connect.0.1.0.66.zip…
Warning:...
0
votes
0
answers
9
views
WP_Options tabel randomly increasing in size indefinetly
I have a problem with my wordpress page (woocommerce store, woodmart parent theme), where the wp_options table in my database gains almost 50MB in size, in what I thought was approximently every 10 ...
-1
votes
0
answers
8
views
Couldn't find publish button on WordPress site portal
I am using wordpress after years, I have already published the site but I am not able to publish the site with minor changes.
can I know from where it should published ? ( Version 6.7)
I have tried ...
1
vote
1
answer
52
views
WP Mail SMTP Plugin Fails Certificate Verification [closed]
I am using WordPress v6.7 with the WP Mail SMTP plugin v4.20 on a Windows 10 v23H2 development computer. The WP Mail SMTP fails to send a test message using WP Mail SMTP's test email function. I get ...
0
votes
1
answer
13
views
Draft standard post by ACF Data picker
I have a custom field named "fecha_borrado". The date is a date picker from Advanced Custom Field.
I have this code but don't work. Maybe i did some wrong?
I added too define('...
1
vote
1
answer
22
views
How to customize WP_Error (REST JWT authentication plugin) [closed]
🔖 Background & Environment
WordPress
6.6.2
JWT Authentication plugin
1.3.4
Php
8.3
I'm using the recommended plugin JWT authentication for WP REST API, to authenticate my users.
Asking /wp-...
0
votes
0
answers
11
views
Rank Math Seo register custom xml url
Using Rank Math SEO plugin generates below xml file.
https://yoursitename.com/sitemap_index.xml
https://yoursitename.com/page-sitemap.xml
I want to register new sitemap url for custom data generated ...
0
votes
1
answer
18
views
Is SSL connection of plugins default?
If WordPress installation runs with SSL, is it guaranteed, that plugins, if they establish connections to remote hosts, use SSL by default too?
1
vote
1
answer
42
views
How is wp_admin_notice supposed to work?
I have a function related to two hooks:
// this action only fires if the current user is editing their own profile
add_action('personal_options_update', 'yop_save_custom_user_profile_fields');
// ...
0
votes
1
answer
24
views
rest_cannot_update error
I got this error when i try to post article on my blog via python using rest api. everything works but got error when i try to add seo rankmath meta description.
Response: {"code":"...
1
vote
1
answer
34
views
wp_logout function not executed
Context: a custom plugin
My goal: i need to redirect user to another site after a logout
I wrote these
error_log("test of error logging");
add_action('wp_logout', function () {
error_log(&...
0
votes
0
answers
15
views
media_sideload_image only works on localhost and without return id or src
I'm trying to use media_sideload_image like in this question:
Can't upload image using media_sideload_image
it works on localhost with add_filter('https_ssl_verify', '__return_false'); for testing ...
0
votes
0
answers
19
views
WP behind nginx reverse proxy, home page stuck in redirect loop
I have a home page stuck in a 301 redirect loop.
I have two servers. ServerA and ServerB. serverA: domain-a.com using nginx reverse proxy ServerB: domain-b.com using nginx
domain-a.com proxy domain-b....
0
votes
0
answers
19
views
npm ERR! notarget No matching version found for @wordpress/components@^12.5.0
I am trying to create a Gutenberg block and have issues compiling it. I get this error when I run the following command. Can anyone help me in fixing the issue or atleast suggest/tell me what to do ...
0
votes
1
answer
55
views
Simple ajax request with Vanilla JS keeps given 400 Bad Request
I am new to Ajax and hope someone can help me with the following.
I am trying to make simple ajax test in wordpress, but getting al the time a 400 Bad request. I am really wondering why this is not ...
0
votes
0
answers
22
views
How can I keep a WordPress dropdown menu open when navigating to a child page?
I'm using WordPress with the Astra theme (free version), along with Elementor Header & Footer Builder (free version) and the WP Mobile Menu (free version). I've set up a dropdown menu, but it ...
0
votes
0
answers
11
views
I’m encountering a recurring issue with user logins Session [duplicate]
I have added approximately 100 users to my website, each with a unique username and password. However, I’m encountering a recurring issue with user logins.
Occasionally, when a user logs in with their ...
0
votes
0
answers
11
views
The description should be between 50 to 500 words in length [duplicate]
fixed thank you i change source page to other page
0
votes
1
answer
41
views
White Screen of Death on Wordpress Website
A white screen of death is displayed on my website. No matter which page you are on, it remains completely white. The Wordpress admin panel is not affected and is completely accessible.
My website ...
0
votes
1
answer
74
views
Create custom Header and Footer for a page that uses diffrent theme then the rest of the website
Issue: Creating a Custom Header and Footer in WordPress
I’m currently working on a WordPress website and facing some challenges with creating a custom header and footer for specific pages. Here’s a ...
1
vote
0
answers
45
views
bb-plugin upgrade broke the site [closed]
bb-plugin upgrade 2.8.3.8 -> 2.8.4 ended up breaking the site.
2024/10/04 09:39:43 [error] 3503526#3503526: *1928276 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: ...
1
vote
1
answer
43
views
I have to select text from gutenberg editor. Purpose is to store and replace text
In the specific case where you're using "Convert to Blocks," the selection might be happening inside a custom RichText component or other block structures that Gutenberg uses. These ...
2
votes
1
answer
33
views
What is the best way to override functions of thirdparty plugins?
Sometimes I need to edit some plugins to my solutions.
If plugin has hooks and/or function_exist() checks - i can override it via function.php in my theme.
But another question - if author refactor ...
0
votes
1
answer
25
views
How to Display News in a Timeline with Headline, Category, and Time?
I am working on a project where I need to display news articles in a timeline (Latest news). I want each news item to be structured as follows:
• The title of the news article
• Category (e.g., “...
0
votes
1
answer
36
views
How can I access uploaded file submitted via Forminator? [closed]
Currently I am using Forminator, and one of my forms is used to upload users' Microsoft Excel files so that further analysis based on that can be conducted.
I literally have no experience for ...
0
votes
2
answers
24
views
How can I rename roles in a WordPress multisite installation?
function wpmudev_custom_change_role_names_multisite() {
// Obtener los roles de la red
$wp_roles = get_site_option('wp_user_roles');
// Verificar si los roles existen
if ( isset( $...
0
votes
0
answers
39
views
WordPress plugin custom server update protect download url
I followed this tutorial to provide update to my plugins on my server:
https://rudrastyh.com/wordpress/self-hosted-plugin-update.html
This uses filter hooks plugins_api and ...
0
votes
1
answer
35
views
Custom page template from plugin does not work with pre-installed themes in WordPress 6.6.1
So I have a simple Wordpress plugin that just allows me to use custom page templates. Here's the code:
my-special-template.php
<?php
/**
* Plugin Name: My Special Template
* Description: Awesome ...
0
votes
0
answers
89
views
Custom Dynamic Tag in Elementor not showing image
Hi I am trying to add dynamic tags to the wordpress "image" widget, so that I will be able to choose custom featured image: second-featured-image and third-featured-image.
These second and ...
0
votes
0
answers
18
views
wp_plugin_dependencies_slug filter hook to activate plugin with dependency in pro version
I am creating a WordPress plugin that needs to have two dependencies: Contact Form 7 and Advanced Custom Fields.
I am trying to use the new Plugin Dependencies introduced in WP 6.5: https://make....
0
votes
0
answers
12
views
Struggling to edit the width of text in 'Variations' template
I am struggling, using the "Variations" template, to extend the paragraph text to fit the whole screen. I've googled and it comes up with lots of instances of variations, and I've searched ...
0
votes
0
answers
88
views
The Instagram API responded with an error: Error #0
I installed the spotlight plugin in order to present my Instagram feeds on the Gallery page of my website ( https://elfofeliz.com/gallery ). Firstly I connected one of my Instagram account and it ...
0
votes
0
answers
24
views
Elementor Media Upload Folder
By default, elementor has a “thumbs” folder for media present in posts. I want to set a limit on the no. of images this folder can have. So, that elementor should create a new folder for media of ...
0
votes
1
answer
15
views
How to force login on wordpress error
I have encountered the error There has been a critical error on this website. on my wordpress site and I don't have FTP logins. How can I force login with the web logins
0
votes
1
answer
50
views
Load a custom post type template.html from a plugin
I'm using a Full Site Editing theme and have created a custom post type of 'walk', but I cant load a custom post type template.html from the plugin. I've put the single-walk.html in the '/templates' ...
3
votes
1
answer
32
views
add custom filter to plugins page?
I was wondering if it was possible to add a custom filter to the Wordpress backend plugins page (/wp-admin/plugins.php). To ensure I'm being totally clear about what I'm referring to, I'm talking ...
1
vote
1
answer
36
views
PHP Fatal error: Cannot redeclare distance() when making a new block
I created a ACF block. It calculates the distance from the displayed ski resort to the 3 closest ski resorts and displays a summary and is meant to use in a side bar or something.
I have a function ...
1
vote
0
answers
23
views
remove Woocommerce "add to cart" to be "Download" button [closed]
I have a Wordprees website and I sell book on my site, I want woocommerce replace "add to cart" button with "Download" button if
the product is free
user will find "download&...
0
votes
1
answer
41
views
Missing Contact Form/Form Default Plugin in Wordpress
I'm currently using wordpress to develop website and as much as possible doesnot want to use any plugins.
When I want to add contact form I see the link below which looks like a default plugin, but ...
1
vote
1
answer
74
views
Content being rendered as empty string in posts endpoint
Hi so I'm developing an integration with a customer's Wordpress site so that we can index the site and search across its content for them.
However I'm facing some issues while doing this :
I am able ...