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.

1
vote
0answers
182 views

How to fix the woocommerce - adaranth.com redirection issue [closed]

I have faced some redirect issue regarding my wordpress site. My wordpress site product category pages redirect to some unwanted sites (adaranth.com and some other site) Anyone let me know how to ...
0
votes
1answer
15 views

Reverse count page view and show on other page

is there any php function for the child theme or plugin that makes the following possible in wordpress: Page A shows number 16 Website visitor visits page B Page A shows number 15 I would like to ...
0
votes
0answers
11 views

Backup Question: Should I be including S3 files in my backup?

I've got a Wordpress site where I have Updraft Plus (free tier) running. I have it set to backup my database weekly, and files (plugins, themes, and uploads) monthly. I've got the site set up to ...
0
votes
1answer
17 views

Error 404 using wpml plugin

I have a multi site in WordPress. I want to use the wpml plugin for the root site. The problem I encounter is that when I add a new language to the website, it does not recognize the second language ...
-1
votes
0answers
10 views

Is there a plugin for adding any APIs?

I'm trying to have a page on my website that shows the news articles from another websites' news aggregator. They have the following information, but I'm unsure how to implement ANY of it into my ...
0
votes
1answer
17 views

Creating posts with acf_form() that has a relationship type field

I'm trying to design a form that creates a post, with the help of Advanced Custom Fields (ACF). The post has a custom post type of 'movie' and has custom fields of type 'relationship' that link to ...
0
votes
1answer
13 views

Block content rendering on the top just below body tag

I am trying to create a gutenberg block with server-side rendering. The problem is the block renders in the top left instead. In the frontend, it displays as expected. const { __ } = wp.i18n; const { ...
-1
votes
1answer
15 views

Is there a visual editor specifically for page snippets/sections?

I am building a Wordpress/Woocommerce site, and developing a plugin for it. In the plugin I am including some PHP html templates and hooking them into Wordpress in various ways. Is there a way to ...
0
votes
0answers
15 views

How correctly send array data from checkbox in GET

I have a simple search form in which are category checkboxes. echo '<label><input type="checkbox" value="'.$category['id'].'" name="category[]">'.$category['name'].' </label>'; ...
-1
votes
0answers
18 views

PHP CODE widget shows error 403

I made my website through PHP CODE Widget Plugin. Now after updating WordPress, when I'm trying to edit PHP CODE Widget, it shows an error page 403 forbidden. Some pages are working fine, but some of ...
0
votes
1answer
13 views

wp_enqueue_style on template_redirect level?

I am using the following function, which works fine, in order to provide a minimal output of HTML at a WordPress installation of mine: add_action( 'template_redirect', 'test' ); function test() { ?&...
-3
votes
0answers
17 views

Plugin to assign transporter (third party delivery) to an order

I am working (aspiring) to set up a platform which allows users to place order, using woocommerce plugin in wordpress . I am looking for a plugin which allows users (on a platform) to assign ...
0
votes
0answers
14 views

Can I make a certain table appear based on conditional logic in a field?

So here is the situation. I am making a website that sells a certain service (don´t worry, nothing NSFW). Now I am given a following request: to make a page with a single field that asks for a ...
-1
votes
1answer
28 views

How to block external download link access if visitor not referred from WP?

How to block link access (on a custom script installed server) if visitor not referred from our wordpress site? I mean we want to block access to links inside of our wordpress posts and make them ...
0
votes
0answers
17 views

Add list with categories to choose from and save it as the category for the post

I have a solution for the fact that users can now add categories to their posts. Problem: they don't know which already exist and which do. Therefore, I'd like to go to a route where users can choose (...
0
votes
2answers
13 views

correct validate and sql query

Is this method of operation on the database is safe and correct? if(isset($_POST['name'])){ $table = $wpdb->prefix.'_my_table'; $post = trim(sanitize_user($_POST['name'], true)); $...
0
votes
0answers
21 views

Site navigation from Google not using HTTPS for some resources, causing redirect loop

Issue: My site runs into a redirect loop when accessed via Google search results, but not when accessing the same page manually, or when navigating the site on its own. I have done some investigation ...
1
vote
1answer
24 views

Passing select control value to block

I have created a gutenberg block and a select control that has some class names. The select control is in its own panel in the sidebar. My issue is when I try to call the select controls value/size. ...
0
votes
0answers
17 views

WordPress Ajax request “Failed to load resource: the server responded with a status of 400 ()”

I spend a lot of time searching for a solution to this issue. I looked on google and stackexchange but didn't get the answer. So I am looking for the solution is while making an ajax request through ...
0
votes
0answers
37 views

Object of class WP_Error could not be converted to string in /formatting.php

I'm working on a WordPress site with Chinese language which use WP Bakery plugin. I added woocommerce product category short code on home page to show some products from a category It works on a all ...
0
votes
1answer
55 views

CF7 Custom Recipient - Changing the text

I'm using the CF7 Custom Recipient plugin and i need to change some text on it. In that red square i just want to change "CF7 Custom Recipient" to "Enter mail for inquiries" or something like that. ...
0
votes
1answer
20 views

WordPress redirect JavaScript and CSS using function.php/child theme

Is it possible to redirect JavaScript and CSS calls using something function.php for example? I used WP Hide & Security to rename some of my plugins and it has functioned well but it clashes with ...
0
votes
1answer
15 views

Slider with two images at a time

I need an images slider that supports adding two images next to each other and to show them at the same time with prev & next option, I need to be able to change to the next two images when a user ...
-1
votes
0answers
10 views

Change reference to usernames of those referred on AffiliateWP

I am a novice on php and web development. I bought the affiliateWP plugin and needed them to make a change but they wouldn't respond to me for quite sometime now and I don't have much time since I ...
-1
votes
1answer
22 views

How to display multiple images in the before and after plugin?

As the title says, I need to know how to add multiple images in the before and after plugin, The plugin allows me to add two images only, Is there is anyway to display multiple images with prev & ...
0
votes
0answers
39 views

Duplicate automatic website theme

I have a question about the multisite. I will consider a default theme for sites that users create. My question is; how when regester a subsite by user, site is created with the template and the demo ...
0
votes
0answers
10 views

How To Import Multiple Categories From Excel file in WordPress Using Plugin

I want to add all OLX categories in my site on one click. I have an excel file of all categories and sub-categories. Is there any plugin?
-1
votes
1answer
24 views

Restricting users to a specific front end page

I am looking for a way to restrict users of a certain role to only be able to access one page on my wordpress site. When a user of the role logs in they should be redirected to the page and they ...
0
votes
0answers
33 views

Blog Pagination Links Not Loading Custom PHP Blog Layout

Blog Pagination "[First...1 2 3...Last]" Links not loading custom php layout when left-clicked. Custom Layout: Blog title and meta should appear ABOVE the featured Image. Pagination Links: The ...
0
votes
0answers
21 views

How to bookmark pages that have dynamic URLs?

I display stock data on a WP page using the stock ticker symbol as a URL parameter, example: ..../stocks/?tsla (page will display Tesla stock information). Now I want to add a "Bookmark this page" ...
0
votes
0answers
23 views

mobile menu not working with anchors

I'm using the Theme Free-blog (https://wordpress.org/themes/free-blog/) and the free version of mobile menue plugin http://www.wpmobilemenu.com So far it works fine but since I added an anchor in ...
0
votes
0answers
12 views

Create a custom table with column as an index

I want to create a table in my wordpress database with a column that is an index. But I can't seem to make it work with this code: $table_name_t2mtokens = $wpdb->prefix . "t2mtokens"; $...
1
vote
1answer
21 views

Internationalization autocomplete JS variable

I'm working in a plugin (My first plugin) that uses autocomplete (Via JQuery UI) via an array and I'm wondering if I have to translate the array too if I want to make my plugin fully translatable. ...
0
votes
1answer
15 views

How can I make my custom shortcode work in a Custom HTML Widget?

I created a plugin and tried to use its shortcode in a Custom HTML Widget, but for some reason it's outputting [my_shortcode_name] instead of executing the shortcode. The shortcode works fine if I ...
0
votes
1answer
24 views

multiple image upload using wp_enqueue_media

I have created a custom plugin and there has an image upload option. In view page: <div class="form-group"> <label class="control-label col-sm-2">Trade Photo:</label> ...
0
votes
0answers
20 views

WP REST API Problem Bad Request In PHP curl code

When I run this curl code. It gives me a Bad Request Error from Apache Serve. I give a screenshot of this. Also, Give my code. Please Give me solution Of this. Screenshot : My Code is : $wprest = ...
0
votes
1answer
23 views

WP core and plugin updates fail AWS

I'm trying to set up an AWS LAMP environment for WordPress. Everything on the AWS side is working. EC2, S3, EFS, RDS, Cloudflare, the whole package. The site loads and is blazingly fast... however ...
0
votes
0answers
17 views

Problem using woocommerce and color swatch

I have a website where I am importing products from various other websites. I am using WooCommerce Variation Swatches for variable products color swatches. I don't know why some of the products shows ...
0
votes
1answer
23 views

Issue running db create table query from static method

I suspect the way I call the table creation function below is the culprit for no table creation (nothing shows in the debug log or query array). Can anyone see my mistake? // main plugin file, ...
0
votes
1answer
16 views

Load my Inline js footer area

In WordPress we are used a editor that's name muffin builder. It's create dynamic google map script. I just put my Google Api key in this editor and apply it in my home page and its autonomic create a ...
0
votes
1answer
50 views

Plugin not working & permalink erorr after upgrade to php 7x on Nginx

This plugin code was working fine on apache server with php5 but now i am installing on nginx with php7 & wordpress 5.x, its having permalink error (showing 404 error). It's working with wordpress ...
0
votes
0answers
15 views

I am not receiving className in a ServerSideRender component

I'm trying to render a block from PHP with ServerSideRender as follows: js file: /** * WordPress dependencies */ const { __ } = wp.i18n; const { registerBlockType } = wp.blocks; const { ...
1
vote
1answer
33 views

“add_post_type_support” with Custom Post Type & ACF

I have a Custom Post Type named conferences (same slug, supports custom-fields), which is using the Advanced Custom Fields plugin. One of those custom fields is "conference_date", which I want to ...
2
votes
0answers
14 views

How to change ID of an attachment in wp_posts and its related tables correctly?

I have two posts in my wp_posts table where post_type='attachment' The picture below shows the records related to those in wp_postmeta table I need to change the IDs of those files. What I am doing ...
0
votes
0answers
18 views

How do you remove question mark in URL in get method?

I'm trying to create a plugin for Wordpress and in the plugin, I am using the Get method to store a string which I will use to call an API. I created a custom page and the url is: http://localhost/...
0
votes
1answer
21 views

How can I capture Memberpress user info after signup

I'm currently working on a website where users can purchase subscriptions using memberpress, I want to capture the user data after the signup process is completed and the payment transaction is also ...
0
votes
1answer
28 views

Clear out old images, any advice?

I'm working on a site which has a media library that is now 7GB - and I really want to clear out all the unused images. I've tried using the Media Cleaner Plugin: https://wordpress.org/plugins/media-...
0
votes
0answers
34 views

Authenticate my WordPress Plugin Client via OAuth2 “Authorization Code Grant”

I am about to create a WordPress Plugin with Client functionality. I basically want to post wordpress-data to a remote server using the servers REST-API (short overview: I want to simultaneously add ...
2
votes
0answers
37 views

How to Replace Words with Hypertext Link But Ignore Previously Existed Links?

Auto-linking for "selected words" in the_content I am currently using the following code: function wp_affiliate_links($text){ $replace = array( '/ example /' => ' <a rel="nofollow" href="...
3
votes
2answers
32 views

Show missing Sidebar from Gutenberg admin area

I hid the custom sidebar from Wordpress example https://wordpress.org/gutenberg/handbook/designers-developers/developers/tutorials/plugin-sidebar-0/ by pressing remove from toolbar star in the panel. ...