Category "wordpress"

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

Contact Form 7 & Flamingo - Getting Flamingo Post ID as a Mail tag

On a WordPress website I'm using Contact Form 7 and Flamingo to manage contact forms, and store the data. I've been using [_serial_number] in my emails to ident

Wordpress Hook for only order processing

I am making a WordPress plugin, where I need to make an API call every time order status updates to "processing" from "pending". function __construct(){

Elementor Plugin on Wordpress keeps loading and I get a console error /wp-admin/admin-ajax.php 500

how are you? My website was working well and now I'm unable to create or edit pages using elementor because the 'loading' keeps spinning and nothing happens. I