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
35 views

Change Jobs for Wordpress templates

I'm using the Jobs for Wordpress plugin to post jobs on my clients website. I'm trying to change the templates so I can use my own style and layout, but I can't change the layout and position of the ...
0
votes
0answers
18 views

Form to update another user's metadata

So I have a "client portal" of sorts which has different aspects of a logged-in user displayed on it, like their username, payment date, name of child, etc... and some of these metadatas need to be ...
0
votes
1answer
30 views

Ajax call doesn't work in frontend but it's working in backend (when I'm logged in)

Here is is the call: make_ajax_call( '<?php echo wp_create_nonce( 'tidplus-ajax-nonce' ); ?>', MyAjax.ajaxurl, 'section-frontend', 'page-ticket' ); Here is the .js code: function ...
-1
votes
0answers
16 views

How to replace specific word on Page ID in Wordpress using translated_text

I wish to modify a string on a specific page ID using $translated_text function. Please can someone help set up the code for this?
0
votes
1answer
23 views

Co-author plus: list of posts by authors in the sidebar

I am using co-author plus. I would like to display all/recent posts by authors of a post in the sidebar. Is there a way of doing that? Plugins like Author Recent Posts do not work with Co-author plus. ...
0
votes
2answers
38 views

Issue calling my functions on Plugin activate in Wordpress

I am Creating New Wordpress Plugin and splitting my code into different files for code management. Here is code of my main Plugin file which my-best-plugin.phpwith following code: <?php if ( !...
0
votes
0answers
18 views

Woocommerce - action to new order comment/note hook

I would like to send some other user the order notes once added by the admin in each order from wp-admin. So when admin adds a new comment on a order i would like to notify some users about it. I ...
0
votes
1answer
19 views

Search Results Page filter by page title

How can i edit the search results page embedded in OceanWP theme, so that the page with a title similar to the word i entered in the search bar show up first or at least highlighted?
0
votes
2answers
20 views

WP_Http response throws “Cannot use object of type WP_Error as array”

My plugin is throwing the error "Cannot use object of type WP_Error as array". The line in question is... $http = new WP_Http(); $response = $http->request( $url, array('timeout' => 20)); if( ...
-1
votes
0answers
15 views

Upload edd files to ftp

Do you know the plugin that works with ftp for upload Easy digital download files to another host? I need a plugin that connect to ftp and upload edd files to second hosting
1
vote
1answer
42 views

Single API call exposed via shortcode with params

I am attempting to create a Plugin with a single shortcode that takes a param to identify which field to grab from my JSON API response. The API returns multiple values, which I am attempting to be ...
0
votes
0answers
42 views

Display Woocommerce attribute name above product title

On the Woocommerce 'shop' page I have the product description below the main image. Underneath that, I have the range name which I managed to display using the 'WooCommerce Show Attributes' plugin. ...
0
votes
1answer
14 views

Can’t delete a custom post in front end with custom role

forks! Well, I’m developing a plugin with a custom post type and I need create a front end page with form who allow a custom role (create by third part plugin) create and delete my custom post. But, ...
0
votes
1answer
27 views

$woocommerce->cart is null inside WordPress Rest API

I'm trying to add an item to cart inside a WordPress REST API. This is my code so far: add_action( 'rest_api_init', function () { register_rest_route( 'lufc/v1', '/add-to-cart', array( '...
1
vote
0answers
14 views

Use gutenberg block editor on plugin page (outside of a post)

I'd like to use the block editor to manage content of the site-wide footer. With the classic editor, I simply need to register a plugin page and add a field that's just a wp_editor instance. I recall ...
0
votes
0answers
22 views

In woocommerce, is there any way to empty wordpress default mini cart when order placed?

In my site, when some user type place an order then I change their order status "processed" to "review". But when I'm doing that my mini cart is not empty. So is there any to empty mini cart force ...
0
votes
1answer
13 views

Creating categories while importing via CSV

I have a CSV that I am importing via a custom plugin I made. This will create a CPT that has a few ACF fields. This CPT is called Formula, and it has a taxonomy associated with it called formula_type. ...
0
votes
1answer
28 views

WP_Query for custom post type and category_id not working

I am tring to implement custom filter for The Event Calendar. I have used this code $args = array( 'post_type' => 'tribe_events', 'meta_key' => '_EventStartDate', 'meta_query' => ...
1
vote
0answers
23 views

Plugin options page with live preview?

I want to build a plugin page with form options and a live preview to auto refresh and display the changes on the frontend. Is it possible to show a live preview of the frontend in the plugin options ...
0
votes
0answers
7 views

Customers to view content based on their purchase

My products are web-based PDF documents that cannot be downloaded (only viewable on my website upon purchase). I want to restrict access only to users who actually paid for the products. How can I ...
0
votes
1answer
31 views

Passing function into add_action always returns the first argument

I'm building a plugin that iterates across and parses the arguments of various WordPress hooks, and because of the flexibility needed I'm passing a function as the callable parameter in add_action: ...
0
votes
2answers
17 views

Can't access 3rd party API, code works on local server but not on wordpress

I've been working on a project and I just cant pull the data from this API. I'm developing a plugin that's supposed to pull data from an API and then use that data. I developed this project offline ...
0
votes
2answers
22 views

Activate and deactivate plugin automatically

How I can Activate and deactivate plugin automatically? For example, I want the "Yoast Seo" plugin to be active only on Monday, Wednesday, Friday, Saturday and the other days deactivated. How can I do ...
0
votes
0answers
16 views

WPGlobus Multilingual - REST API

I'm using WPGlobus plugin with REST API, For fetching data from posts now if I fetching content of pages it shows me like, "content": "{:nl}De korting wordt automatisch berekend aan de hand van o.a. ...
0
votes
0answers
17 views

How can I add a woocommerce bookable product form to a page (other than woocommerce product page)?

Currently our website has only one price for a given service. Now we are adding kids prices by woo-commerce bookings plugin. I want users to select the Number of Adults and kids and date of the tour ...
0
votes
2answers
31 views

Make the checkbox meta field checked by default

I have created a page for plugin. For that page i have added a checkbox meta field. The field is working fine. By default, the checkbox field is unchecked. I mean at first to active the plugin, the ...
0
votes
0answers
10 views

Naming product pages in WooCommerce

I am using the WOOF product filter for WooCommerce and I am rather confused with how my pages are loading. I have a shop that has 5 different 'categories'... Scarfs, Hats, T-shirts, Hoodies, Jackets ...
0
votes
0answers
42 views

Add new themes and plugins problem in wordpress 5.2.2

I am facing a problem in WordPress 5.2.2 to add new themes and plugins. Whenever, I wants to add some new themes and plugins to my wordpress ,it shows error that your web link is down or it ...
0
votes
0answers
9 views

how to display woocommerce variation product in search page /shop page just like duplicate entry

How to display woocommerce variation product in search page /shop page just like duplicate entry but image change according to variation image set, also shows the same review and same description.
0
votes
1answer
36 views

ACF: Hide a div or template section when a custom field (in a field group) is empty

I am currently trying to get a div or section of my template to hide or not display when a custom field on the backend is not filled in. The problem is, what works for single custom fields that are ...
0
votes
1answer
25 views

Defining constant in a plugin to use in another plugin

I am wondering if this is possible or if there is another, better way, of doing things. Google-foo didn't help. So, I have two plugins, aa-frontend and aa-site. I need to define a constant or ...
-2
votes
1answer
19 views

wordpress themes and plugin customization

Wordpress has been the best for me. Now I have been working with wordpress plugin and themes using various wordpress hook and filter for my site. Currently I need to 1.) change the successful ...
0
votes
1answer
4 views

Reading Custom Post data so I can have user update Manually

Sorry if this sounds like a newbie question. However, I am currently building a site and I am using a plugin called SportSpress and they create some custom post types in the there plugin. I am ...
0
votes
0answers
20 views

Is it possible to custom set query for a WordPress REST API response?

I have a custom post type that I am querying for through WordPress REST API, right now the response returns all the posts. I would like to set the tax_query argument based on the user who is sending ...
-2
votes
0answers
10 views

Particular slider

I'm creating a site with Divi from ElegantThemes. A client asked me to replicate an effect shown on https://serioverify.com/. I struggle to explain, I try. Refer to the attached image (the first piece ...
0
votes
0answers
18 views

Using SVN to upload plugin created with gutenberg blocks

I created a plugin using Gutenberg blocks. I have a node_module folder because its using dependencies like Wordpress components. The plugin folder size is about 100 Mo. I tried to use SVN to commit ...
0
votes
1answer
18 views

How can I test plugin activation using phpunit?

I'm using phpunit to do TDD on a WordPress plugin. One of the requirements is that plugin activation fail if a taxonomy with a predefined name, let's say "apartments", is already registered (either by ...
-1
votes
1answer
15 views

Undefined property: stdClass::$ AND Trying to get property 'name' of non-object Error in plugin

I created a function that reads an external API and it creates a custom post "Job" with some custom fields. For development, I created it in a shortcode and can reload the page to trigger it. Works ...
0
votes
0answers
20 views

Remove special characters from filenames

I have a website that i transfered recently from one host to another. Unfortunately when i did that, i noticed that all the images that had special characters in it lik (é, è, à, ...) weren't showing ...
0
votes
1answer
9 views

'<script>' tag is changed to '<a>' when configuring Cookie Notice

I'm using WP 5.2.2 and trying to configure a cookie notice banner. I'm using the popular Cookie Notice plugin (v1.2.46). My problem comes that when I configure the Google Analytics script (the one to ...
0
votes
1answer
22 views

Why is my site still showing insecure icon even if I have SSL certificate?

I have a Valid SSL certificate. My home page, About page, and Hire Page are insecure. I have found out my images on those pages are requesting and accessing an image from HTTP. I used Plugin, every ...
0
votes
0answers
16 views

Plugin sponsorship in repository

Is there a way how to put company logo/link to my plugin in WP official repository, that sponsored my development?
0
votes
1answer
14 views

Multiple wordpress installations with same plugin folder (Apache Virtualhost)

I'm trying to use a single plugins folder for multiple websites to standardize my websites.Do you know any way to use Symlinks in WordPress? In a single shared folder send the plugins to various ...
0
votes
0answers
12 views

Voting system database connection

I am trying to implement a polls plugin in WordPress. I have to import previous questions and answers from previous polls existing in a database and implement new questionnaires and voting systems. I ...
0
votes
0answers
9 views

Create one temporary permalink in wordpress for form

I have started a freight company and am using sub contracted drivers I am trying to add a Proof of delivery solution to the website. Ideally, I would like to create a temporary permalink which I can ...
0
votes
0answers
10 views

Variation price does not change in a variable product [closed]

Im struggling with this issue that I have a product which price should increase when choosing an additional attribute. In my case that is the third one. The problem is that nothing changes and I am ...
0
votes
0answers
10 views

Auto search and populate fields using Gravity Forms

I have a product registration form which I set up through Gravity forms. What I want to do is import a list of products and product codes into my wordpress installation and somehow link this to my ...
0
votes
1answer
41 views

WooCommerce: after install hook

There is some hook that is triggered after WooCommerce Install (I mean the WooCommerce Wizard, not the plugin installation)? I didn't found a hook to do this and the Wizard Class (...
0
votes
0answers
19 views

Plugin to draw links/codes from known list without replacement

I have a hard time finding an appropriate plugin to draw some links/or codes (from earlier preapred list) without replacement (without returning the codes/links to the list) in a simple questionnaire. ...
0
votes
1answer
14 views

Add panels with images and description in wordpress

Good day! I wanted to add a panel into my website homepage complete with panel heading and body. I also wanted to add an image inside the panel body but I have been very unsuccessful. I have been ...