Category "wordpress"

What is the "Endurance Cache" feature in my WordPress website?

I noticed this new wordpress version I'm running has a "Endurance Cache" option at the bottom of the "Settings > General" page. That is caching all of the c

How to hide products with price higher than 1 on WooCommerce shop and archives pages

I'm using this code to hide products on the Shop Page where the product price is higher than 1. However, without the desired result. Where does it go wrong? M

jQuery.on() does not work in WordPress admin panel

I'm writing my own WordPress(4.1.4) plugin which uses some JavaScript code in admin panel. The first issue is $ object is undefined, so I use jQuery instead.

WAMP/Wordpress - cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

I have been stuck with this error for quite some time now. Earlier I got this error on godaddy and asked it over here. Now I'm getting it on hostinger shared ho

Wordpress - get 5 popular posts by views without plugin

Hi, I have custom fields with image from posts, and I want to display the top 5 posts sorting by views. I am using WordPress, can you help me please? Sorry f

Bold font in h1, h2, h3 titles - 92590

I need help in finding out how to get a bold font in Elegant theme in WordPress, but only in the heading areas (h1, h2, h3 etc), since I have no problem getting

Multiple order by in WooCommerce

I want to order my products in category page by average rating (DESC) and then by price (ASC). | id | avgrating | price | | 1 | 4 | 10

Woocommerce checkout form after filling gives error "Fill in the required fields"

I have worked on a website that was built many years ago by a developer who is not updating it. recently I have added Woocommerce. but there is a problem. after

Auto email response after enquiry form not working, 'emailid' argument undefined?

I need to add auto response email on my forms. This requires us to add an argument to the [cd-iframe] directive specifying which email needs to be sent. This al

How to install wordpress in laravel public folder

i also follow this link but this is not my solution - laravel and wordpress on the same domain(laravel in subfolder) i want to add wordpress in my laravel site.

Woocommerce product attributes with hierarchy like categories

Faced the task of making a filter based on the attributes of the product. I need to make a hierarchy of attributes like the product categories. Can this be real

Yoast SEO (WordPress Plugin) - Get plugin generated data manually

I wanted to get the Yoast SEO generated data manually, see example code below This data is being generated by Yoast and automatically add it inside the head ta

Add free product when a certain coupon is applied in WooCommerce

I can add a product to cart, when a certain coupon is used via the woocommerce_applied_coupon hook and the add_to_cart() function add_action('woocommerce_applie

Show/Hide Checkout Fields according to answer to previous question

I use a multi-step checkout plugin. I ask customers if they have allergies, using checkboxes. The first checkbox is none followed by chicken, beef etc. I wish

Add custom post type template via plugin

I'm creating a plugin for a custom post type. I want to add a custom template for it. But I'm not sure how to add it via the plugin. How can I add a custom pos

How do you add custom fields defined in posts to the rest API responses in wordpress

I want to do this without using any sort of plugin since these are both core wordpress features (custom fields and the REST API). Here is the documentation for

How to create a mail counter for each Contact Form 7

I want to count the number of submission received for every contact form. I've tried to use the method of sevenspark adding in functions.php from below link h

advanced custom fields wordpress custom class

I have a custom field in ACF which is a button that I need to change to a different colour based on what page they are on, so for example Page 1 - Button needs

Wordpress 'post_type_link' hides permalink

So I just added a custom post type through the WP-Types plugin, nothing fancy just a custom post type. Now the permalink of this custom post type isn't showing

How to override the slug of ultimate member profile page?

I want to change the default firstname-lastname slug to something different, like firstname-lastname-city-category. How exactly can I do this using ultimate mem