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.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

WordPress AMP Plugin Blocking JavaScript [closed]

I have an issue in wordpress site, i have to use AMP Plugin for mobile page speed increase but,some javascript are blocked by AMP. I have to enable blocking javascript to unblocked what can i do. ...
0
votes
0answers
15 views

How can i use the custom variables with in the text editor to use it dynamically?

I have added a template page to the custom email menu. I want to use the custom variable in the email body to use dynamically passing the variable value. E.g. The body of the email template Hello ...
-3
votes
0answers
14 views

How to make auto plugin installer [closed]

I want to install some plugins which some of them are from online wordpress plugin database also some of them are from in theme directory automatically for my theme.Shortly, I want to make one click ...
0
votes
0answers
13 views

Write test for magic method __clone for plugin development

I implemented the Design Pattern Singleton in my Plugin. and I want to test the magic __clone () method to not allow cloning : /** * Cloning is forbidden due to singleton pattern. */ public function ...
0
votes
0answers
22 views

word press blogs error(HTTP ERROR 500) after 7 days [closed]

I am new in WordPress. I bought hosting from Host Gator. My blogs are crash/stopped working after 7 days. All my blogs arestopped and gave error like: This page isn’t workingshop.bhylu.com is ...
0
votes
0answers
11 views

How to apply not existing coupon in woocommerce

I am using this code this is working perfectly till checkout. function royal_woocommerce_filter_checkout_for_coupons( $subtotal, $compound, $cart ) { // Your logic to get store credit value for ...
0
votes
2answers
21 views

Make custom post types using ACF

So I'm using the Genesis Framework with a theme provided by them, and I just implemented the Advanced Custom Fields plugin. What's the best way to create custom post types? I want to have a 'People' ...
0
votes
1answer
56 views
+50

Why is one phpunit test throwing an error on one class when all other classes are similar without error?

I'm working on the Liquid Messages plugin. There are some basic PHPUnit tests existing for it and when I run phpunit all pass except for one. It errors out: There was 1 error: 1) GCS_Async_Test::...
0
votes
1answer
18 views

Accessing post's meta data based on user's click of a post

I am displaying a gallery of custom post types. When the user clicks a post, instead of redirecting to a single template, I want it to redirect to another page (too easy just change the link since all ...
0
votes
0answers
5 views

Relationship not working in other languages using Pods with Polylang

WordPress Version 5.3.2 Polylang Pro Version 2.6.8 Pods - Custom Content Types and Fields Version 2.7.12.2 Using Custom Post Types with their respective translations with Polylang, I have several ...
1
vote
1answer
10 views

Autoload via composer in plugin interference

I am using wordpress 5.3.x. and I am using "fabpot/goutte": "^4.0" in my composer in one of my wordpress plugin. In my theme I am using "fabpot/goutte": "^3.8". Both are using require_once 'vendor/...
0
votes
1answer
24 views

Wordpress Stock Update Programatically

I'm trying to develop a plugin that would update the stock quantity of products to 0 (Out of stock) that are older than X days. The logic that I'm using is: Select products who's modofied date is ...
0
votes
1answer
12 views

Using id to show item

Im working on a project where i upload a gpx file and use the path of gpx to put in a shortcode plugin i use the post id the get a filled in shortcode i use this code to get me the piece of info for ...
0
votes
0answers
8 views

Wordpress react Contact Form 7 integration [closed]

I am building a WordPress + React-based website. Does anyone know how to use the contact form 7 plugin? I tried sending form data through the REST API URL but I am getting fields not filled error. ...
0
votes
0answers
16 views

best way to handle subscriptions with a licence?

I have a product with 3 packs: - 14-days trial (user should not have to enter paypal details) - monthly - yearly We used WooCommerce with "WooCommerce Subscriptions" and "WooCommerce Software ...
0
votes
0answers
24 views

How can I build my own job posting plugin?

I'm looking for a way to create my own job posting plugin where someone can add, remove or edit jobs on the back-end of a Wordpress-website. I also need the ability to store the entries somewhere in ...
1
vote
0answers
24 views

Custom Fields with Pods not being translated

The icon for translation for custom fields using Pods.io Plugin aren't working after installing WPGlobus Plugin and Pods Plugin, do I have to install the premium version of WPGlobus? I see when using ...
0
votes
2answers
38 views

Why is my form going to frontend on html form submission present on the php files inside my custom plugin?

I'm creating my first Wordpress plugin. It's goal is to update information from admin user about the book stock using sku only. There are 2 forms in update-stock.php page. First form takes sku input ...
0
votes
0answers
13 views

Media Dialog CSS broken in WP v.5.3.2

My plugin displays the media picker dialog on the users front end. If a user has WordPress 5.2.2 installed then the media picker dialog looks nice/normal (see the first image). If they have WordPress ...
0
votes
0answers
13 views

Insert Serial Key for get the product

I would like to create a website with wordpress for sell license keys and this license key can be puted on the website for get the digital product. The first part (sell license key) I think that ...
0
votes
0answers
14 views

How can I capture error in admin files?

My WP always failed when upgrade plugins, I traced it and found it is something about disk io, permission etc. But the problem is it just returns a 500 error without any specific information. I ...
0
votes
0answers
10 views

Need to display Post statistic data on Graph View in Posts

I am trying to find a solution to display a statistic graph on each post on WordPress to let people know the popularity of each post. This graphical statistic chart will be visible for normal users. I ...
0
votes
0answers
33 views

Stuck with WooCommerece Payment Method Plugin (custom coded)

I am development a plugin for custom payment method for WOoCommerce, where in "public function result()" function I want to access/get product id which is bought. Below is my code so far but it is ...
0
votes
0answers
30 views

add tags to wordpress post using REST API

I'm new to WordPress programming and I'm trying to connect to WordPress REST API and send a new post with content and many tags. I can connect to API and send a new post but I can't add tags to those ...
0
votes
1answer
23 views

Loading a plugin's js file from functions.php

I'm trying to change the way a plugin register's its own js file from this: function gpvd_enqueue_styles_admin() { wp_enqueue_style( 'gpvb-admin-styles', plugin_dir_url( __FILE__ )...
0
votes
0answers
14 views

Revolution Slider AddOn is not working

I added particle addon in revolution slider. but I can't see the particle option under SLIDE OPTIONS. Here is the picture to describe my situation: I am using Version 6.1.3. Whats wrong is going on?
-1
votes
0answers
15 views

How to integrate Woocommerce UPI Payment Plugin with contact form 7?

I want to know is there any way to add mentioned UPI with contact form 7? My requirement is simple, the user will fill up all the details and pay via this plugin. But this should be a part of my ...
1
vote
0answers
15 views

The Events Calendar and Easy Digital Downloads adding customer notes to Attendee export

I am using The Events Calendar Pro, Tickets Plus and Easy Digital Downloads for a client's event site. Unfortunately they don't have an easy option to add a note to an attendee on the backend and have ...
0
votes
0answers
15 views

Plugin or function to show a dropdown list of pages fitered by category

I want to be able to create a shortcode which displays a dropdown list of Pages filtered by a Category. Similar to the two drop downs on this page which are used to display woocommerce categories (...
0
votes
0answers
14 views

Plugin or Method to filter portfolio by category and then subcategory

is there a plugin or already existing way to filte a portfolio or gallery by category and then inside the category by a subcategory? I did a quick search but nothing came up. Just filtering by a ...
0
votes
1answer
12 views

Creating custom “player-objects”

I'm looking for a way to create "player-objects" that are then all displayed on one page. They should just contain a few text-datafields with the players name, role and an image. Since I'm very new to ...
0
votes
0answers
11 views

Blog shows white screen when activate Polylang

I have done two pages for my portfolio site with elementor, they work fine with Polylang. Blog site i have coded from scratch, it works fine without Polylang, but after activating it blog site shows ...
0
votes
0answers
9 views

Woocommerce Backend Search by Title and SKU

Good morning, i'm trying to extend backend product search by using this function without success. This snippet works only in Title and i need to add also in Metakey SKU. I have tried extend by using ...
0
votes
1answer
11 views

Multiple image selection custom widget

I've created a swiper custom carousel as template part of a custom theme. I want to widgetize this component of the theme to have more control over the contents displayed. It's used as an horizontal ...
0
votes
0answers
30 views

Execute inline javascript in wordpress after page fully loaded

I am trying to find out the time it takes to fully load a page in wordpress using javascript.My JavaScript code is inline.I am using wp_print_scripts hook but as it prints scripts in document head i ...
0
votes
1answer
20 views

I Setup Rate My Post Plugin On Site But Now Got Issues In Google Webmasters

I have recently installed Rate My Post plugin on my WordPress coupons site and added a few ratings to different coupons stores such as this one https://grabhosts.net/deals/globehost-promo-code/ and as ...
0
votes
0answers
12 views

Exclude dynamic css or js from CDN Wordpress

I've set a CDN via KeyCDN to an Azure endpoint. The problem is that I have a search icon which is related to vantam builder specific file all.css?version=blablabla. When I specify it as excluded, it ...
0
votes
0answers
17 views

implement checkbox or toggle switch in plugin code

I need to implement a way to let the user decode a base64 string from the front-end. I want to add a toggle switch or a checkbox that if selected will encode or decode the input string. Is there a way ...
0
votes
0answers
16 views

500 Internal server error wp_handle_upload_prefilter

I get a 500 error after I've added the wp_handle_upload_prefilter to my plugin class. How I can fix this? require_once 'vendor/autoload.php'; class MyClass { public function __construct() { ...
0
votes
1answer
16 views

Wordpress output data to another website and pull data

Would you like to ask, is it possible to send data from the WordPress website to another website, and get the data back from another website? I would like to make a function with text insert and a ...
0
votes
0answers
16 views

How to display latest viewed post by logged user?

I`m working on a online magazine website, and one of the features is to display the last 3 magazines (posts) the user have read. How do I go about storing that info and displaying back to each user? ...
0
votes
1answer
19 views

Is there a loading priority for login_enqueue_scripts?

I'm using this function to load my plugins (custom-logo-and-login) Javascript file in the footer of the login.php page, but the file loads right before the wp-includes main jQuery library: add_action(...
0
votes
0answers
13 views

How to disable plugin capability : “create new category”

I tested that a capability can be disabled for any user role, but I found nothing to block the capability of a plugin. Is this possible? any help is greatly appreciated
0
votes
1answer
16 views

How to integrate together a website currently hosted Wordpress.com and a custom web application currently hosted on Azure?

Background: I am a C# developer and have developed a web site/application that can be hosted on Azure (or any Linux server). Another person has created a Wordpress blog and he is managing it through ...
0
votes
0answers
16 views

wp_handle_upload - specified file failed upload test

I'm using the wp_handle_upload() function to create a plugin that will give to the users the ability to upload files from front-end using ajax. I've solved an issue relative to an error in the syntax, ...
0
votes
0answers
22 views

I want to display “how many times this tag used in Wordpress?”

I am trying to make a simple site but I need a help. 2-3 page has a same tag eg: apple-2019-projects And I want to display like that
-1
votes
0answers
21 views

Set Default Value by two fields(attribute) in WordPress

I have some several fields in custom post code name ..... .... code name search(combination of code and name) -->Make field "Read Only" in UI anyway to concatenate code+name into 3rd attribute(code ...
1
vote
0answers
11 views

Automatically adding category filter based on search string

Like ebay and amazon, i want to implement something on my site wherby if someone searches e.g red dresses then the category "Women's dresses" is only searched within. As seen as below, a generic ...
0
votes
2answers
27 views

Image upload and download from front-end

I'm making a web app using wordpress, the app will include this library that will do some steganography operations. I need some help to understand how to implement a front-end image upload for the ...
0
votes
0answers
19 views

page loading time of a cached page

I am trying to find page loading time of a page using following code function loading_time() { echo '<p>Page loading time:'.timer_stop(0, 3).' seconds</p>'; } add_action( 'shutdown',...