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
0 votes
0 answers
9 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
19 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
1k views

On button click, redirect users to registration page instead of another page

I have a button that I have that leads users to a page on WordPress called /portfolio/, so is there a way that I can redirect users to the /registration/ page until their logged in? I'm using a ...
0 votes
2 answers
5k views

Any gallery plugins that allow commenting on single images?

I am looking for a gallery plugin that will allow users to comment on each individual photo as opposed to the entire gallery. I have tried Lazyest Gallery; however, it doesn't seem to be integrating ...
0 votes
0 answers
6 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
1 answer
2k views

Allow editor user to full permission to access plugin settings

I want to give full permission to editor user to access a particular plugin MC4WP: Mailchimp for WordPress https://wordpress.org/plugins/mailchimp-for-wp/ For it added below code in fuctions.php file ...
0 votes
1 answer
768 views

Store GravityForm data in phpmyadmin (mysql)

I'm currently developing a small portal on Wordpress for a client where users have to submit forms (created with Gravity Forms). I'd like to be able to store the data from these forms, upon submission,...
0 votes
2 answers
2k views

Custom Rewrite Rule Removing Query String

I'm trying (and failing) to use rewrite rules to redirect shorter/prettier URLs to the right page AND include values in the query string. WP is installed at https://example.com, and the plugin creates ...
0 votes
1 answer
728 views

How can I find related learndash course id from woocommerce product object?

I have woocommerce integrated with LearnDash. Now I am trying to get the selected course (related course) from the woocommerce product object or any other way (by woocommerce product id). There must ...
0 votes
1 answer
2k views

Checkbox field that add a subscription product and change prices of other products in checkout and cart page

In Woocommerce checkout section, I am trying to add a checkbox that adds an additional subscription product. It is working fine and I took help from here One more requirement is that if there are ...
0 votes
1 answer
751 views

Product Page loads terribly slow when product gallery images are added

I have a WordPress + WooCommerce store setup and it works flawless. I recently added 3 new products and each of these products have around 10 images. I added these images in product gallery. But now ...
2 votes
4 answers
2k views

Can I use a Shortcode output as an HTML attribute value?

Within a span, the shortcode output works: <span>[sola_testimonials_count type='all']</span> Result: <span>5,205</span> But as an attribute value, it doesn't get parsed: &...
0 votes
0 answers
13 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
6 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 ...
0 votes
2 answers
789 views

Add comment feature to woocommerce Shop page

I want users to give their Reviews about the products. Currently have woocommerce installed in my wordpress site . I want to add the comments at the bottom of the Woocommerce shop page (not single ...
2 votes
1 answer
6k views

How to install and activate a plugin using an external PHP script?

I'm using a custom Php script to install WordPress via the Softaculous API. Once installed, what's the best way to programmatically install and activate a plugin? I could try setting up a custom WP ...
0 votes
1 answer
2k views

How to change "Read More" text?

I'm using blogstart wordpress theme and I would like to change "Read more" text to something similar to language than I'm using. How can I do that? I already tried to paste code below to ...
46 votes
4 answers
35k views

What are the differences between WPINC and ABSPATH?

It's common for plugin developers to protect their plugins from direct access. I saw two ways to do that: if ( ! defined( 'WPINC' ) ) die; and if ( ! defined( 'ABSPATH' ) ) exit; What are the ...
0 votes
1 answer
4k views

How to execute init or woocommerce_init only for checkout page

I am making extra function for my own project. function devsol_customer_login() { if ( is_checkout() ) { ?> <form method="post"> <input type="text" class="woocommerce-Input ...
0 votes
1 answer
3k views

Allow direct access to files/folders within Wordpress to replace wp-admin

Here is the scenario: I would like to design a brand new wordpress admin for my clients (using WordPress autoload as the core to interact with WordPress). I have tried slightly modifying the css or ...
0 votes
1 answer
734 views

How to Save settings of custom tab product page in admin side in a database?

I have following code : <tr> <th><?php _e('Custom Stock Message'); ?></th>...
21 votes
3 answers
23k views

Custom pages with plugin

I'm developing some plugin where I would like to enable custom pages. In my case some custom page would contain a form like contact form (not literally). When user will fill out this form and send it, ...
0 votes
1 answer
830 views

Space in WordPress Attribute Causing Problems

I'm trying to write my first caption plugin and having some difficulties. I'm setting up a shortcode like so: function Shortcode_Caption( $atts, $content=null ){ // DEFAULT ARGUMENTS ARRAY ...
1 vote
0 answers
9 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
1 answer
169 views

Wordpress - source link plugin - how to modify it?

I'm using a little plugin that allows me to add source link to every article. I found the code in this thread: Article source link for posts It's almost perfect, but I would like to modify it a ...
0 votes
0 answers
14 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
1 answer
2k views

How to use wp-ajax in wp-cron

I have create a custom wordpress plugin where i am using wp ajax. In class's __construct i have an action (admin_footer) in order to use wp_enqueue_script and wp_localize_script following wp ...
5 votes
3 answers
1k 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....
0 votes
1 answer
20 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
2 answers
937 views

divide custom field values in div every two values

i have this html mark-up to sort some data <div class="row"> <div class="col-xs-2"> <img src="images/member-schools/ms1.jpg" class="img-responsive"> </div> <div class="...
0 votes
0 answers
9 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
2 answers
804 views

How to dynamically add template in Innerblock?

I am trying to dynamically add the template in my InnerBlock for that I have tried the following code: const edit = props => { var { className, attributes, ...
0 votes
1 answer
846 views

Fatal error when accessing Pages in WP admin (and problems editing any pages)

I have a site that's been going for about 4 years with several hundred pages. I've had strange problems when accessing the Pages section (to choose a page for editing) and while in Page editing. These ...
0 votes
1 answer
36 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 ...
1 vote
2 answers
1k views

Gutenberg block can't save richtext

I'm creating a block and using rich text to save some text this is my edit function. edit: (props) => { const { attributes: { content, backgroundImage }, setAttributes } = props; ...
0 votes
0 answers
25 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, ...
3 votes
1 answer
821 views

$wpdb->get_results() does not fetch results with unicode 'WHERE' clause

I've just a simple query to fetch a students records by his name, written in Bengali. $student_rcrd = $wpdb->get_results("SELECT * FROM student WHERE name='আবুল কালাম আজাদ'"); Although my database ...
0 votes
0 answers
15 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 ...
1 vote
2 answers
2k views

Activate plugins by a theme's functions.php?

Is it possible to activate plugins per theme? I have a multisite, and I know it is possible to activate plugins per site. But I need plugins to be enabled for specific themes. Someone asked a ...
0 votes
0 answers
10 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 ...
0 votes
2 answers
2k views

Display post author avatar for Ultimate Member

I want to show avatar from the post author. I use Ultimate Members and want to show the avatars that are defined via UM. <?php global $post; $url = get_avatar_url( $post, array( 'size' => 48 ));...
1 vote
1 answer
167 views

Plugin to host auctions on your site

Hello what free plugins are for hosting auctions on your site. I saw wp-auction but i want the auction to be embedded in a page.
0 votes
4 answers
1k views

Plugin that supports the purchase and installation of other plugins?

I'm wondering if there is a way for a plugin to install other plugins directly. That means, I provide an interface for the user to click multiple plugins and download and install them directly to wp-...
2 votes
1 answer
2k views

Admin page: form with enctype="multipart/form-data" does not transfer its data

I'm googeling for hours now but can't find anything to my problem: I'm building a plugin and want to embed a file input in its admin page. For this reason I'm giving the form-element the attribute ...
0 votes
1 answer
33 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
12 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 ...
0 votes
2 answers
1k views

WordPress + JavaScipt + AJAX + MySQL: insert query for form

I'm trying to make booking - plugin with form on WordPress-admin site, where I can add new event in calendar (made with JavaScript). I have to submit form with all data and insert data to MySQL ...
0 votes
2 answers
910 views

Custom user data capture form with auto membership ID

In one of the project I am working, I need to capture user data (infact the members data). On the homepage the visitor who want to be a member will click on register which will show a registration ...
1 vote
0 answers
6 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 ...
1 vote
1 answer
1k views

className not populating in custom block

I'm creating a custom block plugin and I've had a bit of trouble getting the class name to appear on a tag output from the save function. My edit function uses return() and passes in this: <> ...