Category "wordpress"

Wordpress query search 's' exact word

I see this question has been posted multiple times but all of the examples I've tried are not working. I want to limit the search by keywords to only search for

WordPress edit post list

I have WordPress kanews theme. I want to list posts by update date. but unfortunately I couldn't. sorts by creation date. how can i solve this problem? List pos

Create relationships between custom post types and users WordPress

How do I create relationships between custom post types and registered users on a WordPress site?

Cannot resolve Request Header Issue in ModSecurity and its affects on WordPress

CURRENT: I have the familiar issue with an internal 403 coming up... however, after exploring for the issue through all error logs, I have found that the Forbid

While Loop and Foreach Loop Wordpress

<?php $args = array( 'post_type' => 'series', 'posts_per_page' => 100, 'orderby' => 'meta_value_num', 'orde

While Loop and Foreach Loop Wordpress

<?php $args = array( 'post_type' => 'series', 'posts_per_page' => 100, 'orderby' => 'meta_value_num', 'orde

Is there a way to use custom fonts in WordPress without Elementor Pro?

I am trying to use a personalised font for my website on WordPress with Elementor Builder. I imported files in wp-content/themes/fonts and modified the style.cs

Add shortcode to WooCommerce product description

I am trying to auto-add some shortcode at the end of every woo product description. (not after short description). The code with which I am trying is: add_filte

How to target all elements with a specific class in JavaScript

I'm currently working with WordPress and Bootstrap 5. Due to WordPress limitations with the wp_nav_men function. I can't see the markup at all. This means I can

Can't delete WordPress cookies

I am working on WordPress multisite, and I have changed the login functionality. However, it needs the users to delete old cookies before using this functionali

Load a style sheet into a wordpress plugin

So I'm creating a simple plugin for wordpress that will load new block patterns. I've got everything working except for one thing which is enqueueing stylesheet

Installment widget - Wordpress + Woocommerce

What's the problem? I want to add a PayU plugin installment widget for a product subpage for WooCommerce, but I have a problem with displaying the product price

Remove a wordpress add_filter function from plugin

I have a plugin that is creating a custom template via add_filter: // Create a template view for the new CPT add_filter('single_template', [$this, 'setTemplateA

Slow Query in WooCommerce, what to do?

I have written a Plugin that displays the sum of all purchases of all customers of the last year, ordered by the sum (Customer who bought the most is on top). I

Wordpress Multisite installation issue on staging website

I am trying to change my website into multisite on my staging server. When I add define('MULTISITE', true); in wp-config.php on my local machine setup, it works

Substraction in woocommerce

my problem is as follows. I am currently generating a tax receipt for some orders (not all) in my woocommerce. but the customer would like for 3 of the 4 produc

How to block modification of .htaccess file wordpress

please tell me what can I do to protect my .htaccess file ? Recently I was hacked and I noticed that I can navigate into different place of my wp-admin (Posts,

Docker: Apache in Apple Silicon M1

I have a docker-compose.yml file: version: '1' services: mariadb: image: 'docker.io/bitnami/mariadb:10.3-debian-10' ports: - '3307:3306' vol

Wordpress: Deleted comments in DB but still shows count in admin sidebar. How can I fix this?

I noticed a lot of spam posts, comments, & users on my WordPress site. I directly deleted all of the spam from the database, but I'm still seeing a comment

How to share node_modules and package.json files between two directories?

As I experiment with WordPress's new Gutenberg development methods, I noticed that I need to create individual block folders within the plugins directory. These