All Questions

0
votes
0answers
5 views

Is it possible to intercept all ajax requests and get the parameters and the returns?

Is there any hook that always goes through it, where I can see all the requests, and also the returns after the "action" that is executed? I need to intercept all requests, including requests from ...
0
votes
1answer
12 views

How to modify query so it grabs only 90 posts in total?

I want to have 3 Pages with 30 posts each: Total 90 posts. /page/4/ shouldn't exist. Should either 404 or redirect to home. Only /, /page/2/ and /page/3/ should exist. With 30 posts each, like so: / ...
0
votes
1answer
8 views

How to display a value from a radio button in the options menu in wordpress

I'm a little stumped on this one. I'm not very experienced when it comes to PHP, but I have figured out how to display a value inputted from a text box. I'm now trying to do the same with a radio ...
0
votes
2answers
7 views

Modify wp-login.php Labels Conditionally Based On Referring URL

I apologize if this is an easily answered question - I've been looking for a while and can't quite get my head around it. I would like to modify the first label for the wp-login.php page based on the ...
0
votes
1answer
8 views

How to edit output of Ajax tag search?

When we add some taxonomy in our metabox, is possible to search by term. I saw that our output is passed via : action=ajax-tag-search&tax=Custom taxonomy&q=Term How is possible to edit out ...
0
votes
0answers
5 views

how to use vfb pro hooks for upload directory [on hold]

I need help with the following. How can I change this code so uploaded forms go in an specific folder? add_filter( 'vfbp_upload_directory', 'vfbp_filter_upload_directory', 10, 2 ); function ...
0
votes
1answer
19 views

Strange results from WP_Query

I'm trying to retreive a set of custom posts using the following: // set search conditions $args = array( 'posts_per_page' => -1, 'post_type' => 'fee', 'meta_key' => 'fee_code', ...
0
votes
1answer
11 views

When echo follow Ajax button inside Ajax pagination template not working?

Ok, I will try to be more clear this time, and i really need your help guys. I'm using an plugin that working with Ajax for creating a follow button to make our users following each other. I putting ...
0
votes
2answers
14 views

How to pass parameters from jQuery ajax into PHP function?

I have this: PHP: add_action('wp_ajax_count_messages', 'count_messages'); function count_messages($projectid) { //some code wp_send_json_success($projectid); } JS: var countData = { '...
0
votes
0answers
8 views

How to integrate an airtime payment to woocommerce in wordpress

I use woocommerce to sell digital products (audio) on my website. I found about a service that powers an airtime payment gateway so I want to know how to integrate it to woocommerce as a payment ...
0
votes
0answers
9 views

Paste as plain text but keep the spaces

I use paste_as_text = true to remove all styling from forum posts in the frontend. But this also removes all the leading spaces on each line. Is there a simple way to avoid the latter?
0
votes
1answer
15 views

get_post_type is always post

Sorry to bother you all with this, but it's driving me nuts and I know I've missed something obvious. I want to display different post types, differently, within the loop. I'm trying to get the post ...
0
votes
0answers
14 views

trying to install a wordpress multisite in a subfolder and have custom subsite urls

I'm working on a project for a client where they currently have a WordPress blog installed on its own server and the url is www.example.com/blog. Now they want to convert the WordPress install to a ...
0
votes
0answers
6 views

wordpressPCL user meta

I'm using the wordpressPCL library to create new users. I need to insert Meta fields as well, how should I structure this field? private static async Task InserUser() { ...
-1
votes
0answers
13 views

Built slider and form [on hold]

Hello everyone I have a question someone knows how a slider and contact form can make in wordpress?
0
votes
0answers
10 views

WordPress products authentication

Is there any plugins or any option available in WordPress 5.0.3 for check authentication of products quality. I'm selling online medicine so prevent any local (duplicate) products. We put scratch ...
0
votes
0answers
5 views

https rewrite not working for All in one security Brute force > rename login url

I am trying to set 2 security measures that seems not to work together: https on the site, using a server redirect + Module rewrite in htaccess : <IfModule mod_rewrite.c> RewriteEngine On ...
0
votes
0answers
8 views

WordPress Multisite IIS domain name bindings - error 404 and 503 - database issue?

I have two sites setup in my multisite setup, besides the main site, that are working with no problems. Each site is setup with a separate domain that I setup in the bindings in IIS. If I setup the ...
0
votes
0answers
15 views

Featured image from custom to Wordpress database

I want to adapt my old custom website database (composed of only one table) to Wordpress database. All data has been correctly imported in both tables (wp_posts and wp_postmeta) with a php code that ...
0
votes
0answers
9 views

Stop WordPress from generating redundant image size

I have on media settings the following setup: The problem is that when i upload an image that's exactly 640px wide it makes a copy like so: image.png image-640x640.png That would make sense only if ...
0
votes
0answers
14 views

Wordpress menu not loading in the admin side appearence-> menu tab

Uncaught ReferenceError: columns is not defined load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable,...
0
votes
0answers
6 views

Existing user_meta fields not updated

Why am I not allowed to update existing user-meta fields when hooking on to edit_user_profile_update hook? I use this code add_action( 'edit_user_profile_update', 'xpl_registration_save' ); function ...
0
votes
0answers
5 views

Can you carry over add-on settings when duplicating a Gravity Form?

So I know when you duplicate a gravity form it carries over the settings that are there be default like notification and confirmations. But I was wondering if its possible carry over add-on settings ...
0
votes
1answer
16 views

PHP Error in Wordpress Theme

So I'm having some issues with an AWS multisite hosting of wordpress. Every couple of weeks my entire instance of websites goes down. The first time it happened I was getting 500 errors so I just ...
0
votes
0answers
8 views

automatic subscription plugin

I have a learning management sytem using learndash plugin.I am using buddypress for user registration and woocommmerce for the store. WHEN A NEW COURSE IS ADDED I WANT TO SEND NOTIFICATION MAIL TO THE ...
0
votes
0answers
8 views

New Blocks: 'Gallery', how to make the picture open in new tab using link to image

I'm using the new blocks. One is 'gallery'. I can edit the blok to link to nothing, link to the 'bijlagepagina' (don't know the English translation) or link to the image itself. If I link to the image,...
0
votes
1answer
23 views

How to display the contents of URL1 when user visits URL2

I know how to do it with apache/mod_proxy, but I can't use mod_proxy on our shared host. So no .htaccess solutions. Currently I have the following code in child theme's page.php global $post ; if( ...
0
votes
1answer
9 views

how to develop a filter in wordpress to let the user filter the page content depends on the date (newest to oldest etc…)?

how to develop a filter in WordPress to let the user sort the page content depends on (alphabetically, newest to oldest and oldest to newest etc...)? I’d like another drop down tab on the left side ...
0
votes
0answers
11 views

How to add a full working piece of website already coded, to a large scale Website design project?

I've written 5 PHP files each of which are dependant of each other and contains one style.css also. This whole project works fine when executed alone and includes home.php which includes HTML code for ...
0
votes
0answers
5 views

Integrating Amazon & eBay orders into Woocommerce on WP Multisite

I am trying to integrate Amazon & eBay store orders into Woocommerce which is on a WP multisite and can't seem to get anything working even third party plugins such as Codisto LINQ don't want to ...
0
votes
0answers
9 views

Scroll bar is missing [on hold]

I have been working on a project in Wordpress for a few days now. When I wanted to do this again today, I ran into a problem. When I go to a 'page' (all were made a few days or weeks ago) I do not see ...
0
votes
0answers
8 views

Pagination woocommerce

i am using Woocommerce plugin. So, i created a page in Divi theme and i connected my own template to that page for displaying all products. All works fine, but i want to add the pagination at the ...
0
votes
0answers
17 views

How to extend expiry time of jwt wordpress token?

I am making Hybrid app with WordPress database in php, I am using JWT WordPress plugin to authenticate users. But token is expiring in almost 20 minutes, I am using following code to extend the expiry ...
0
votes
0answers
16 views

Is it possible to add gallery image instead of the post feature image in the Gutenberg editor when I'll setting this post format is gallery?

I want to add gallery images (WP new editor Gutenberg) in the post instead of the post feature image and It will be set when I'll set this post format is the gallery. Thank you.
0
votes
0answers
35 views

I'm trying to sanitize_title() the terms and display them correctly

Hi i'm looking for a track to make sure that for each terms of taxonomies: that I can make a sanitize_title () of the name of the term and correctly display the name of the term in the slug of each ...
1
vote
1answer
52 views

Custom taxonomies

I have created a custom taxonomy 'regionen'. I have two levels inside the taxonomy Anden - Peru - Bolivian Conosur - Chile - Argentinien I'm calling the taxonomy on the home page like this ('...
0
votes
0answers
15 views

Adding a blog to site

Hi I have a standard html/css site that I want to add a blog too. I am not going to convert the whole site to run with WordPress just want to add WordPress to a sub folder so www.example.com/blog ...
0
votes
1answer
17 views

Add a containing DIV to core Gutenberg blocks

The design I am working with calls for each Gutenberg block to have a coloured background (white in this case) with max-width: 1160px and the content within to have max-width: 800px and centered. ...
0
votes
0answers
11 views

Authenticate a user for current request

Is there a way for a WordPress plugin to authenticate a user for the current request? My plan is to authenticate users via a HTTP header containing username and password. Then this information should ...
0
votes
0answers
8 views

Change thumbnail size for Media Library

I can't seem to find a way to change the size of the images in the Media Library. For some reason the full picture is being loaded in the media library, and this makes it really slow. I've tried: ...
1
vote
1answer
20 views

Import external data into post using custom Gutenberg block

I've created a simple Gutenberg block that displays the transcript of an externally-hosted video. When creating a new WP post, the author enters the ID of a video in the block's editor section. This ...
0
votes
0answers
12 views

Use wp_list_table class with search and column sorting

How can I sort the columns inside a search result? I use the Wordpress-Class named wp_list_table and display a table, the columns can be sorted and the search functionality works also. But if I sort a ...
0
votes
0answers
15 views

Load WP Query with Ajax

I have a website that has around 700 requests, and takes a while to load and I do a query that queries 600 posts, as it is a one page site. What I am thinking is to load the basic website first, then ...
0
votes
0answers
12 views

get_next_post() not working with future post status

I'm using in single post template simple navigation below the post content: $next_post = get_next_post(); if($next_post) { $next_title = strip_tags(str_replace('"', '', $next_post->...
-1
votes
0answers
12 views

Is there any way in which instead of using plugins we can use the inbuilt coding? [on hold]

I am very disappointed that the plugin on my wordpress version is not working completely . Please tell me whether I can be able to change the code and update any kind of updates in the wordpress. ...
-1
votes
0answers
10 views

How to modify the `'%link'` of previous_post_link() template tag?

Need to know how I can control the link that's passed in the template-tag previous_post_link. The code I have: $link_previous = get_the_permalink(...); previous_post_link( '%link', ...
0
votes
0answers
13 views

(Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme

I'm a WordPress developer but this one has left me scratching my head... I've got a parent theme and a child theme. Works great on my local machine, and was working great on my live server. However ...
0
votes
1answer
23 views

I need to verify emails when users signup

I'm working on my custom plugin and I need to verify the email addresses of users before they can use the platform. I can do it using regular PHP but I'm having issues doing it with WordPress. Can ...
-1
votes
0answers
14 views

Why wordpress extra plugins are not working? [on hold]

I have created a login page using theme my login plugin and to restrict the content only to the registered users I installed another plugin called restrict content by jungle plugins. I am not getting ...
0
votes
1answer
23 views

How to show result of sql query in a page?

I have a table in the same DB that I have a WordPress page and I want to show in the land page the count of total of rows and then I need an another page that show the information of this table , How ...

15 30 50 per page