Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
100 views

add_query_arg not work in admin

I have code: class some{ public function run(){ add_filter('query_vars', array( $this, 'addPar')); $this->some_body(); } public function addPar($vars){ ...
0
votes
1answer
26 views

When I try to install VersionPress, it tells me, “The package could not be installed. No valid plugins were found.”

I'm trying VersionPress for the first time. I downloaded the project from the VersionPress GitHub page, then went to Plugins>Add New in my dashboard and uploaded the zip file "versionpress-master.zip" ...
1
vote
1answer
67 views

Replacing a plugin function with a custom renamed function doesn't work

With WooCommerce and WooCommerce Bookings plugins enabled, I am trying to add a text line above the product time picker section to advise the customer that they need to select one of the options. I ...
0
votes
1answer
18 views

How to fix shifting header after installing speed / cache plugins?

After installing (and uninstalling) Autoptimize, Async JavaScript, BJ Lazy Load, and Leverage Browser Caching plugins, my header shifts back and forth on page load - can you help find the fix? I am ...
1
vote
1answer
23 views

adding a new value to a serialized array in WP_option table

I'm looking for some help on how to add a new value to steralized data in WordPress. I'm trying to add a new option to an already installed plugin so I can add extra functionality for the client and I ...
0
votes
0answers
23 views

Add a custom variable to Woocommerce Follow-ups plugin

I am trying to add a custom variable to Woocommerce Follow-ups plugin. In the documentation they have created a sample function for this witch can be viewed here: https://gist.github.com/75nineteen/...
1
vote
2answers
52 views

How to remove the woocommerce_checkout_process action hook in woocommerce if particular project in cart [closed]

I need to remove checkout page field validation if a particular product is in the cart. Plugin code : add_action('woocommerce_checkout_process', 'my_custom_checkout_field_process'); function ...
0
votes
0answers
33 views

a weird attribute on every html tag

me and my friend working on a Wordpress site but we see it differently on our machines, He sees a weird attribute wfd-id="" on every html tag in google console when he inspect it, also I loaded ...
0
votes
2answers
30 views

How to get current template file used by WordPress?

Consider I've 3 template files archive.php archive-books.php common.php <-- required_once by both archive.php & archive-books.php So whether archive-books.php or archive.php is being ...
0
votes
2answers
32 views

View all button on product page

I want to add view all button on my woo-commerce product page after pagination.after clicking the view all button all product will be open.
1
vote
2answers
32 views

Why is an action callback function from an instance of a class always invoking the same function from an instance?

I have a class whose constructor is the following: public function __construct( $content_type, $filter_fields, $meta_query = '', $taxonomy = '') { if ( !empty ( $content_type ) ) { ...
0
votes
0answers
33 views

Site broken by unedited php?

I have a wordpress website hosted in Plesk. I last looked at it a couple of weeks ago and all was well. I tried to go in yesterday and Plesk is telling me the wordpress installation is corrupt. It ...
0
votes
1answer
34 views

WP Job Manager Feature jobs from [job_dashboard] page [closed]

I'm using WP Job Manager Plugin. I want to make a link on the [job_dashboard] page which allow users to make featured their jobs. I'm added this code to job-dashboard.php: echo '<li><a ...
1
vote
1answer
13 views

How to Use Parameters with a Do_Action Function Within PHP Tags

I'm using a WordPress plugin that allows integration actions to integrate it within a theme. Using GeneratePress' Elements feature, I'm adding the action as a hook. Currently the code I'm using is: &...
0
votes
0answers
13 views

How to access this element through Dashboard to modify its content?

I would like to access and modify the plugin(?) below marked with red circle through Dashboard. (i.e. not through the generated html). Actually I don't know whether it is plugin or a fancy heather or ...
0
votes
0answers
13 views

Plugin to manage form submissions on admin panel

I am looking for a plugin, which is capable to manage form submissions on admin panel. So it should create an admin accessible interface to handle incoming requests/submissions. Administrators should ...
0
votes
1answer
48 views

Opening a JQuery modal window on click of a button with a JQuery plugin

I am trying to open a Jquery Modal window on click of a button. And inserting this Button into a plugins content template (WP SHow posts). I'm using jquerymodal.com's modal code, since I don't need a ...
0
votes
1answer
16 views

Uploading website to live causing problems to plug-in and layout

Good day! I am still learning on how to use wordpress. I have created my website in localhost then wanted to update my live site using my newly created website from localhost. I noticed that when I ...
0
votes
0answers
20 views

Is it possible for other plugins like Caldera Forms to have another plugins like Paypal?

Good day guys! Im working with a registration form with a lot of fields and payment integration. I used Caldera Forms because it easy to use but I noticed that Paypal which is the most important part ...
1
vote
0answers
23 views

Is there a standard way to listen for an on change event of a posts featured image

I'm working on an artist plugin which lets you upload/create a depth map image for jpg's in your media library. To do this, I created a custom meta box which lets you draw the depth map using canvas/...
0
votes
1answer
22 views

I am trying to make a field show and save from quickedit screen

I have a select box with some options. It appears in the normal product edit screen with the following code. function we_skroutzxml_custom_availability() { woocommerce_wp_select( array( ...
-1
votes
1answer
22 views

Merge tags in multistep Gravity Form?

I want to use a multi-step form where the user enters their name in step one, then on step two the form will say "Hello, [name]" with the rest of the content and steps to follow. Any ideas? EDIT: I ...
0
votes
1answer
31 views

Is it possible to arrange Custom Post Types from CPTUI into a Folder?

I'm using CPTUI to create taxonomies and categories for Facet-WP, which i'm using to sort and filter products on the pages i'm creating. This is the problem i'm facing :- As you can see, the Custom ...
0
votes
1answer
25 views

Add to array, redirect and display

I want add text to array and display after redirect and unset array. public function save($type, $value){ global $tab; $tab[] = array('type' => $type, 'value' => $...
0
votes
1answer
17 views

How to track analytics with a Wordpress site under the same domain as my main site?

I have a website and separate Wordpress site as well. The wordpress site is setup at mydomain.com/blog/. Currently I have google analytics tracking the main website but data is missing for the WP ...
0
votes
0answers
12 views

Widgets cant be edited, solution will delete parts

I got some problems with my widgets. I didnt create the website, I am just managing the website. At the moment I cant edit the widgets. I discovered that the deactivation of “HTML Widget” helps, but ...
1
vote
1answer
64 views

Landing Page Redirect Chain | http->https->https www

I am getting this error for redirect chain on GTMetrix when I check my website. The chain is as follows: http:// https:// https://www. I am using this plugin for HTTPS https://wordpress.org/...
0
votes
3answers
42 views

I need help locating a URL that is on my site map, but that I can't find in my Wordpress dashboard

I hired a developer to implement the LearnDash plugin on my Wordpress site. He wasn't able to finish the project and left my site with several unnecessary pages and plugins. I want to get my site back ...
0
votes
0answers
21 views

Set “Open in New tab” as default option

I would like to set the Open in New tab as default option. So that when I add a new URL in a text I would like to automatically tick the box to open the link in a new tab. I am running on Version 5.1....
0
votes
0answers
129 views

how to skip plugin functionality for few pages?

I am using a plugin which count number of views and restrict user with specific level to view limited posts. For example user with level 1 can view three posts or pages every month after viewing three ...
1
vote
0answers
21 views

send_headers don't work on wordpress multisite

I have written a simple plugin to send some security http headers. I've tested it on various wordpress installations but on a wordpress multisite network it seems that the headers are not sended. The ...
0
votes
0answers
17 views

WPBakery Grid Builder and badges for woocommerce

How to add for example the YITH badge for woocommerce to the WPBakery grid builder. I see there is option, in elements to add text block. But I can not find short code or something to put in.
0
votes
0answers
16 views

Change the woocommerce widgets “SORT BY” Links to some custom links

how can i change the woocommerce widgets "SORT BY" Links to some custom links but only for Home page not rest of site Widget i am using woocommerce widget [products limit="7" columns="4" paginate="...
1
vote
1answer
56 views

Write to / remove from default .htaccess file from plugin?

I'm working on a WordPress plugin, and I have a checkbox option to add cache control headers. I'd like to write to the htaccess file if the option is set to 1, else remove the new content. I've been ...
1
vote
1answer
21 views

How to display (plugin?) output on a single page (not a widget, probably not a short code) - template, plugin, combination?

I've seen many variants of this question but none of the answers I've found yet have answered my question. Not new to PHP but new to WP and yes I've read a lot of docs. So this is where I'm diving in ...
1
vote
1answer
25 views

Add keywords meta to index.php page

I've created a php script to add keywords to my posts and pages. My question is about the wordpress index page. Is there a way to add the <meta name="keywords"> tag also to the home of my ...
0
votes
1answer
21 views

Restrict Custom Post Type to One Item

I'm looking to build a plugin that stores settings for a companion app my Wordpress site works with. I've gotten to the point where I have a custom post type mobile_settings that stores labels and ...
0
votes
0answers
15 views

How is it possible to create Multi part sections where people can answer or comment or vote on various parts of a page's content as given example?

How is it possible to create Multi part sections where people can answer or comment on various parts of a page's content as given example? Using this as a reference example (can attach screenshot if ...
0
votes
0answers
6 views

Elasticpress: Related Posts limit to same post type?

Elasticpress comes with a related posts feature. By default it only works for posts of the type "post". How can i make it work for other types and limit them to the same type only? Example: Type "...
1
vote
1answer
19 views

Broken featured images are uploading from frontend

I have a form at frontend i want to create post from frontend everything works but when i upload featured image , broken featured image is uploading. I saw uploads folder the image exists there but i ...
0
votes
1answer
44 views

Wordpress redirect all 404 pages to the Homepage

I want to redirect all 404 error pages on my WordPress site to the homepage, or to a specific page. Any advice?
0
votes
1answer
16 views

Unable to format dates to put in event calendar

What i want to achieve is to get dates through get_post_meta and push them in array and passing it into js code. But when i use below code first post in loop's dates gets formatted and other posts ...
1
vote
1answer
56 views

Dropdown menu on custom page with product to choose number of products per page

I have almost zero knowledge with Wordpress and Wocoommerce cores and api's so, please bear with me. I have showing ~140 products on custom page (e.g. not the default shop page for woocommerce) ...
0
votes
1answer
18 views

Can I clone plugin folder to another directory so that I don't have to reinstall them?

I built a multisite network and it got broken due to a developer who now claimed that it can't be fixed: The subsites' dashboards can no longer be accessed and the pages give the error message "page ...
0
votes
0answers
19 views

How to sell a bundled product, where the client can remove certain items

The Problem: I need to set up a woocommerce store where bundled items are being sold to returning customers. Once the customer deselects certain items the price changes. Also, the system needs to ...
-1
votes
1answer
28 views

User register hook can't access form request

I'm trying to add a few custom field to the registration form using the code below. After registrations customs fields with keys are created but they don't have any value. I think that my $_POST['...
0
votes
0answers
9 views

How to implement required input validation?

In Wordpress, the add-new-user page, for example, has some jQuery validation to make sure that the username isn't empty. It provides with visual feedback like the following: I'm working on a custom ...
0
votes
1answer
28 views

How to change response of admin-ajax request?

Request generated by fullcalendar js, which implemented by plugin WP FullCalendar (github link for code) Request url: http://sitename/admin-ajax.php?action=WP_FullCalendar&type=event&month=...
0
votes
1answer
28 views

Prevent plugin from intruding on wp-json posts api

We use a plugin called Recent Posts Widget Extended (RPWE) to nicely format categorized lists of posts on our company’s support website (WordPress, naturally). It works great, but more importantly, it'...
0
votes
0answers
17 views

Wordpress plugin works only on Home Page? WP Bodymoovin

I am using WP Bodymoovin plugin and it works properly only on the main page. In all other pages is not working properly, doesn't load the animation and gives me that error: lottie.min.js?ver=5.2.1:...