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
1answer
45 views

Activate Plugin Automatically After Set Time

please how do I activate a plugin after a set period of time automatically. For example, let's say I want to activate Jetpack automatically after 3 weeks. Thanks
0
votes
1answer
24 views

My WordPress site when down after installing a plugin and now all I get is a simple white screen [closed]

I've contacted my service provider and was told there is a backup available but the last one dates back to August 5th - one week ago! All the work I've done the past week will be lost. I've enabled ...
1
vote
2answers
35 views

How to check wp_options's rewrite_rules if current and existing are the same before flush the rules?

I found a major bug inside our custom plugin, we simply adding the new rules and flushing the existing rewrite_rules on every page load("add_action('wp_loaded', 'flush_rules')"), which seems ...
0
votes
0answers
15 views

Is there any Extra cost charging plugin for reorder feature custom products?

Is there any plugin for such a feature “extra charge cost for First order will be charged and for reordering the same custom-product will not charge”? The Items are printed products where we need to ...
0
votes
0answers
18 views

A way to upload old html pages with all its assets via WordPress admin and to add a fixed menu on top of those (a la Wayback Machine)

Inside a WordPress website I manage at a custom hosting, I want to have a few joke websites that looks like personal Geocities pages from the 90s, with animated gifs and all. Generally I edit these ...
0
votes
1answer
25 views

What is the easiest way to rename a plugin (and also avoid plugin updates)

I have a few customers and they absolutely want me to make changes within plugins which do NOT offer hooks etc. I checked it - only way is to modify the plugin directly. So: I want to know what is the ...
0
votes
1answer
56 views

Get woocommerce variable product metadata

I want to get woocommerce variable product _sale_price_dates_to. The code below works fine for single products. $dates_tosale = get_post_meta($product->get_id(), '_sale_price_dates_to', true); But ...
1
vote
2answers
80 views

Setting Email locale before retrieving gettext translations

I developed several plugins which I localized using the standard approach with __() functions and the .po or rather the .mo files. All of this works like a charm. What I now want to be able to do is ...
0
votes
0answers
29 views

Wordpress fatal error from php protocol codes

This is the website link: dormireacuba .it/ When I'm trying to visit this site then just showing some fatal errors Fatal error: Uncaught Error: Call to undefined function wp_fix_server_vars() in /web/...
2
votes
2answers
172 views

Pushing changes from localhost to live server?

I am searching for a good solution in which i can develop a wordpress site on my localhost and push the changes i made easily to my live server. The idea is that i have some kind of plugin/software in ...
0
votes
0answers
38 views

Content-Security-Policy implementation with WordPress W3Total Cache plugin installed

Documentation about this says to avoid inline script and css Error: Refused to execute inline script because it violates the following Content Security Policy directive: What I have used so far: ...
1
vote
0answers
14 views

Map Custom Registration Fields to Wordpress User Roles

How do I map these custom fields to the user profile? Desired Functionality: if selected 'Consumer' user role should be the 'Default- WordPress Role' if selected 'Wholesale Buyer' user role should be '...
0
votes
1answer
26 views

How to pass the API key to the client from the database? [closed]

I wrote this simple client in javascript that uses mapbox geocoding API. It is not necessary to hide the API key but what is the correct way of giving that js file access to the API key without ...
0
votes
1answer
39 views

Access a particular field in an array

How to extract only the image url from this array. <?php $rec1= get_post_meta($post->ID, 'fave_recommended-property-1', true); $rec2= get_post_meta($post->ID, '...
0
votes
1answer
39 views

How to remove a hook written with $this?

I'm trying to remove an action defined in the theme, but I'm getting an error. I guess because of the $this definition. What exactly should I do for this? Hook position : /themes/theme/vendors/dokan....
0
votes
0answers
19 views

Gravity Form: Display Success Message above the Form

I am using Gravity form with Elementor Pro. I have 3 different forms created in gravity form: login, forgot password and reset password I am calling My form through the Elementor Popup template. When ...
0
votes
0answers
12 views

My wordpress is showing the following error when I am trying to activate elementor plugin. I have updated Wordpress manually

Warning: require(/home/vol14_2/unaux.com/unaux_26830699/htdocs/wp-content/plugins/elementor/includes/plugin.php): failed to open stream: No such file or directory in /home/vol14_2/unaux.com/...
1
vote
1answer
33 views

How to get all attachment image from post ?? WordPress

I just want to get all atachment image from post with Alt, description, title, size, resotution and how to add DOWNLOAD button? i want to create image downloading website on wordpress for example LINK ...
0
votes
0answers
53 views

Strange footer - pswp__top-bar problem

My current WP configuration: WordPress version: 5.8 PHP / MySQL version: 8.0.2 / 5.6.50 Theme used: Oceanwp Child Extensions in place: Elementor (3.3.1), Elementor Pro (3.3.5), machinery (4.03), ...
0
votes
0answers
39 views

How to display the category name in the tab and post inside the tab in Wordpress?

I am using the bootstrap nav tab. What I am doing is, I have a custom post type and I have created the custom category. I have 8 categories and each category has 10 posts. I have to display the ...
0
votes
2answers
18 views

Get all image in media Gallery with alt/title?

Is there a way to fetch the ALT/TITLE of ALL images in the media gallery? I think this would be an easy way for a website to have a Pictures page that just pulls all of the images from the media ...
0
votes
1answer
19 views

Error datatable whit ajax

nice to greet you. I am trying to integrate datatable js to my plugins but it gives me a 404 error on the end point request I am following this tutorial. https://mogul.nz/2020/10/how-to-wordpress-...
0
votes
0answers
28 views

Thumbnail image doesn't show up in Shortcode output

A 'WordPress Shortcode' is being developed to display 'YouTube Channel Thumbnail' and 'Latest Playlist Thumbnail' when supplied with 'YouTube Channel ID' as follows. [yt_insert channel_id="...
0
votes
1answer
15 views

Changes not visible when not logged in

I have a wordpress site and 4 hours ago I have made some changes to the home page and an internal page. The changes I can see when I am logged in. When I try to log out, I only see the old pages and ...
0
votes
1answer
24 views

Display linked articles at the bottom of post (like related posts)

I find many plugins for displaying a list of related posts after a post. However they are all based on taxonomies or text content. YARPP – Yet Another Related Posts Plugin is an example of such ...
1
vote
1answer
50 views

Simulating a wp page - wp page load sequence

I'm toying with a honeypot to catch form spammers. I've hidden a link to a non-existent page in the footer. What I'm attempting to do now is, when they visit that link, to display a form that looks ...
0
votes
1answer
52 views

Notice: Uninitialized string offset: 0 in social sharing mu-plugin

I'm getting a Notice: Uninitialized string offset: 0 This is a mu-plugin that is supposed to show social sharing buttons and the only problem is happening with pinterest. Since it's not connected to ...
1
vote
0answers
13 views

Want to build parent-child relationships between custom post types created with CPT UI

I've gone through similar queries from the past but couldn't find a solution that works for me. So I created 3 different custom post types with the CPT UI plugin. They are called 'careers', 'vacancies'...
1
vote
0answers
26 views

WordPress function not being called from jQuery method

I’m very new to WordPress Plugin Development. I’ve been learning and developing my plugin for around 2 weeks now. My plugin is supposed to be a retrieve a question from the WordPress database and ...
0
votes
0answers
20 views

WP Function does not trigger on Webhook API Call

I have created a function that triggers and connect parent post with Child post based on a Custom Meta Field value. If Meta field value of an existing Parent post matches with the newly created child ...
0
votes
0answers
46 views

How can I change a translation for a string in a plugin?

I'm only starting with WordPress development so please be gentle :) I'm using the Amelia Booking plugin and am trying to change the string "On-site (Bank Transfers Only)" which is defined in ...
0
votes
0answers
6 views

Calculate Paypal/Stripe fee by country?

Please tell me how to set the fee, depending on the country that the user chose when placing an order? Payment methods paypal and stripe. For example, for stripe, for the USA it is 2.9% + $ 0.30, and ...
2
votes
1answer
72 views

API for getting plugin core compatibility?

I’m looking for a way to determine which version of Wordpress a plugin has been tested to work with. Only way I’ve found is by looking at the plugin’s homepage. I can scrape that but I’m wondering if ...
0
votes
0answers
17 views

how to add shortcode in plugin and use this plugin

I have a website and I wanted to implement Face ID when registering. I found the Face Recognation plugin functionality to fit perfectly. Only I need this plugin to work on the frontend during ...
1
vote
1answer
34 views

How to 'clone' a wp plugin to make small changes

I'm looking to make small changes to the Advanced Bank Payment Transfer Gateway plugin and was looking for guidance for this since reaching out to the developer didn't help. Basically this plugin ...
0
votes
1answer
30 views

register_activation_hook() not working as expected

This is the main plugin file. It activates but nothing happens. The menu is not created. /* * Activate plugin * create admin menu * create more stuff */ register_activation_hook(__FILE__, '...
1
vote
1answer
31 views

Can't Update or Delete Plugins From Wordpress

I'm having trouble updating or deleting anything from the plugins folder of my Wordpress install. I've tried manually deleting the plugins via FTP, but get an error message that way. I also get an ...
0
votes
0answers
7 views

Menu Item custom radio button field show results based on value (Advanced custom field plugin)

I have a custom field (radio button) for all menu items for a menu just as follows. https://i.ibb.co/0Fyxnn3/1.png this field is mainly there to users to define a whether a menu item is a mega menu or ...
0
votes
0answers
20 views

How To Noindex Specific Urls On WooCommerce

I am trying to set noindex meta tag when the url have inside the ?f=sale or ?f=colour. example url: domain.com/dress/?f=_sale%5Bsale%5D domain.com/dress/?f=colour%5Baquamarine%5D%7C_sale%5Bsale%5D ...
0
votes
0answers
13 views

New posts are not showing up on my front page

few weeks ago I installed revive old posts plugin on my site after some Weeks The plugin ain't working the way I wanted then I had to deactivate and delete the plugin but right now am facing a problem ...
0
votes
1answer
18 views

How would I Redirect an existing WooCommerce customer to a specific url after Checkout

I am trying to find a solution for redirecting existing customers to a specific url after checkout. I'm not sure if the Thank you page redirect is sufficient for the process. can you assist?
0
votes
0answers
38 views

why does an empty get_the_excerpt change get_the_ID to default homepage?

Using a post-carousel plugin, the following error is occurring after one line of code executes (the get_the_excerpt command only): If the_excerpt for the current $post is empty, this is the result: ...
0
votes
0answers
26 views

Has blocks gutenberg block multiples registers type in my Plugin

I created a plugin that contains multiple blocks and I want it to load assets only if I have one of those blocks created. Is there any way to get all blocks registered by my plugin? The idea with this ...
0
votes
0answers
11 views

Can I create tags from a product description and map that info automatically for filter searching?

I have an aggregator and of course, the better the filtering, the better the experience. I currently have most of what I want as an attribute or tag for filtering, but the last I'd like is embedded in ...
1
vote
0answers
37 views

wp_set_auth_cookie causes 403 error in the wooCommerce checkout

Long story short: When I programmatically create a user with wp_insert_user and log him in with: wp_clear_auth_cookie(); clean_user_cache($user->ID); wp_set_current_user($user->ID, $user->...
0
votes
0answers
13 views

Sitemap Help - Remove /tag/ from URLS

I have a website that uses both categories and tags to organise posts. I have removed the /tag/ in the URL so that it reads: example.com/tag-1-details/ However in my sitemap (Yoast) it says: example....
0
votes
0answers
19 views

Slider shortcode that will write an init script for each shortcode instance in WP Footer

I've been frankensteining this plugin (first time digging into plugins) using examples from Google, but I'm not well versed in PHP. The goal is to generate the init script for swiper.js for each ...
0
votes
2answers
46 views

How to redirect to same page after form submission

I am working on a plugin where a new page template is created on plugin activation. The template has a form for user input. <form action="" method="post"> <textarea ...
0
votes
1answer
20 views

How to find out which plugin is blocking user?

A remote user is telling me she can't get into the site. Upon trying to log in, she is getting an error message shown below. I am able to log into her account from my end. I thought this was either ...
0
votes
3answers
292 views

What happens if I don't update my plugins?

If I don't update the plugins for years, what happens? Because I have an e-commerce website and often when I update a plugin I have errors and I lose customers. Is something bad happening if I don't ...