wp_pagenavi wont work using custom post per page

I have the wp-navi plug in working smoothly on any category that uses the global reading config (post per page "3"), but i have one category that i only need to show 1 per page, setting this value...

Sort Wordpress Search by Relevance

I've created a pretty advanced search for a Wordpress site I'm working on atm. Allowing visitors to filter results by different taxonomies, sort them by date or custom fields as well as the normal...

Wordpress Nav menu: doesn't show on custom post type category pages

I'm working on a WordPress site with 2 custom post types. For some reason that I cannot figure out, my nav menus are not displaying on my category.php pages. The header.php file is being called...

Wordpress Query by Meta key, type date numeric

Ii have problem with WP Query, can't order by meta key I use Event Manager plugin, and need query 4 post on my Homepage, I need post only current and future events(posts) and sort by start...

WP_Query to display posts by category in Wordpress (in custom post types)

Hej, I'll keep it short. I want to output this in a WP loop: Support Category1 -Post1 -Post2 Category2 -PostA -PostB -PostC So I want to order posts by...

Wordpress Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /wp-includes/meta.php on line 837

I am new in wordpress. i am getting below error. Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /wp-includes/meta.php on line 837 while accessing...

Multisite wont load stylesheet on second site

I've posted this four days ago to wordpress support, but no answer. Thought I'd might give it a go here as well. Copy+paste; Hi! I'm trying to set up a multisite network for my portfolio. Here's...

filter and sort wordpress get_posts with advanced custom fields

I have two custom fields created with Advanced Custom Fields. One is type of checkbox (isEvent) and another is type of date (closing_date). If I want to get all the posts that are events I would...

How To Display WP_List_Tables on frontend page

CURRENT ISSUE: I have been able to successfully create a variety of table Lists from my WP's sql database within the Dashboard admin area as well as create plugins utilizing WP_LIST_TABLE however...

Wordpress Tag Cloud Widget - multiple instances parameters issue

I have registered new post type with custom taxonomy on my WP, so now I have two post types (defaultpt & custompt) and two tag taxonomies (defaulttax & customtax). I want to insert two instances...

Wordpress admin breaks when activating purchased theme

I have installed a theme 'aaika' to my Wordpress site (fresh installation). After activating that theme, I cant even access the WP dashboard. (it is working fine in my local server - XAMPP) here...

WP Sorting custom posts alphabetically by Title

Newbie here... I have a custom post type of 'equipe' (team in portuguese). I am trying to sort these alphabetically by post title then display the_title so we have a alphabetical list of...

Render encoded HTML Characters

This is possibly an odd query, As part of a JavaScript component on a page, I am displaying the titles of several blog posts pulled from WordPress. The WP site is maintained by a marketing team....

Wordpress JS error when trying to add a new category to the product admin page

To summarise the issue, in the Wordpress back end go to products, add new. When i click "+ Add new category", fill in the box and click the "add new category" button nothing happens. The new...

nested: QueryParsingException[[multi_match] query does not support [fields]];

im new to Elastic press and got some problems on Wordpress multi-network site and got this exception when trying to execute WP-query: Caused by: SearchParseException[failed to parse search source...

Remove (Or) Empty Duplicate OpenGraph Induced By Unknown Plugin/Theme

I am trying to use Yoast SEO fully. But my theme or some unknown plugins are introducing another opengraph tag section overwriting Yoast's metadata. How do I eliminate the second duplicate...

FacetWp booking adon not working with woocommerce bookings?

I am developing a booking website. i am using FacetWp bookings ad on plugin to filter my listings by date and I am using woocommerce bookings (Acccomadation Plugin) as well. it was working fine...

How to sort post randomly with WP REST API?

I am trying to display posts using the WP REST API and I want to display them randomly. I know querying the posts the normal way with wordpress there is a orderby: rand option, which would do what...

Ajax Save to server on wordpress

I am trying to save a PDF to server on Wordpress, When I press submit on the form and look at Console I get the messages: [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated...

Why the website is showing 'The site is experiencing technical difficulties' error only in category pages?

Whenever I click on a category from any of the pages or posts which are posted, to go to that category archives, it gives me this error instead of showing the posts of that category. It only shows...

Autofill checkout inputs based on custom post type match / query

I have recently come across a problem of which I has me a little confused. Within my WP setup, I have a basic WooCommerce solution, (For the theme I am using the Timber starter theme to make use...

Creating a new customer with WooCommerce API needs password confirmation

When sending this POST data { "email": "[email protected]", "first_name": "John", "last_name": "Doe", "username": "john.doe", "password": "[email protected]@@", "billing": { ...

Cron job - Moving data between databases

I have a membership website in Wordpress which is built with a custom post type called 'members'. For many reasons, we have used a cron job to run and populate these CPT fields with data from a...

Filtering SelectControl items according the input from another SelectControl in Gutenberg Block (ES5, no JSX)

I have 2 SelectControl from a Wordpress Gutenberg Custom Block I'm trying to build. I don't use ES6. Only ES5 and no JSX. The 2 SelectControl should work in the following way: They fetch from REST...

How to sort an array by date that contains WP post objects created by merging get_posts results?

I want to create a single array of posts by merging the results of 2 separate get_posts queries, and have the array ordered by published date. In my code below, the get_posts for $args_b and...

“Http failure response for (unknown url): 0 Unknown Error” on few API calls on Ionic-Capacitor-Angular Project

I'm using Ionic v6.11.8 and created an App using Angular, The app is working fine on browser, But when I build a debug app from it im getting Http failure response for (unknown url): 0 Unknown...

Sorting by most views/popular posts in Wordpress with Elementor plugin and custom query difficulty

I have this code: // Posts or Portfolio Widget add_action( 'elementor/query/my_custom_filter', function( $query ) { // Modify the posts query here } ); source:...

Wordpress sort WP ULike posts in custom query?

I'm trying to implement this WP ULike plugin sort example inside my custom query but no success so far as I'm not a WordPress pro. Any help is appreciated, thanks a lot! My custom...

Display an ACF field values in WooCommerce product archive loop

i'm currently playing around on localhost since i'm going to design an ecommerce for a client who owns a records store. I've installed Elementor, WooCommerce and ACF, and at first tried to use...

Cant SSH to my Google Cloud VM instance anymore

Hoping someone can help me with this. The title says it all, I cant SSH to my VM instance. What I am seeing: 1 . If I try to SSH normally, the process just loops endlessly (I actually think the...