Category "wordpress"

Image alt tag aren't display in post when inspect the sources code in WordPress

You will be clear if you see the image below. I insert alt tag in all image of WordPress Media Library but when I use those images of my post and inspect to see

How remove pagination from woocommerce storefront theme

How remove pagination from woocommerce storefront theme.

Cors issues with JWT Authentication for WP REST API and local React project

I succesfully installed "JWT Authentication for WP REST API" and followed (and reviewed multiple times) the instructions for setup correctly. My React app does

Wordpress wpdb->delete issue

I'm trying to delete a record from the database programmatically. When I have it hardcoded like this it does delete a record from the database: $wpdb->delet

Change the alert text on add to cart action without selected variation in Woocommerce

in Wordpress I'm using Woocommerce v3.3.5 and in single product pages for variable products, When I click the add to cart button while I don't select a variatio

How to make wordpress site full width (Metro theme)

I cannot seem to figure this out! The site is pokko.ca (pass is pokkoget) Trying to make it full width in Metro theme but it won't change for me. Please help! t

Wordpress cannot connect to mysql server

I have run a mysql server in my macbook, where I can access via both mysql command mysql -u root and navicat application. However, when I open the install page

Cannot retrieve order_id from database with SQL query

We are trying to update WC orders based on an external script. However, the script is unable to acquire the order_id for some reason. I tried to run the SQL que

Get WooCommerce product variation attribute terms in admin products general box

I display the id and sku of each variable product in the general tab - of the wp admin product data box with the following code. Any idea how to get the the var

WordPress - Dynamically add user ID to the end of a URL

I'm looking for a way to have the current logged in username added to the end of a link. example: www.mywebsite.com/custom-post-type/author-post-title "author-

Display Brand Name Above Product Title in Woocommerce Cart, Checkout Page, Orders and Email Notification

Using the functions below I've applied a custom field to products added in Woocommerce cart and checkout page also to orders and notification email. My questi

Wordpress REST API user registration

I am trying to create new user with api v2 but i am getting { "code": "rest_cannot_create_user", "message": "Sorry, you are not allowed to create new

Set quantity minimum, maximum and step at product level in Woocommerce

I'm using "set minimum and maximum allowable product quantities to be added in WooCommerce Cart" to require a minimum and maximum quantity order. Now, i need to

To delete a class name 'page' from the body

I have created a Page Templates in WordPress. The body comes in the class as the following image. I want to remove 'page' class.

Get Woocommerce CoCart API response(add, update, delete) after promotion applied

I would like to get the responses of each route (add to cart, update cart and delete cart) already applied to the promotion. What I face now is it only response

How to add extra content to the WordPress admin user table Name column every cells

I want to add extra information after every name, in the name columns cells, How may I do that? default columns like names, email, role are not pass on manage_

Update Total in checkout of Woocommerce with Ajax Request

Before asking question on SO, I searched a lot about what I needed to make a ajax request with WordPress. All my code and the request is working, but is not doi

Is it possible to get an amazing Lighthouse score while using a WordPress page builder?

I'm a front end engineer working in e-commerce and marketing, and one of my routine tasks is finding out why client's websites are so slow. Most of them are on

Timber: Single post pagination does not work (wp_link_pages)

I am fairly new to Timber and I am trying to get the pagination for a single post item working. Since there are a lot of topics around the pagination for archiv

Finding and editing a WordPress site in cpanel w/o access to WordPress

I have a client who needs his website edited, he is no longer in contact with the original creator of the site, and it seems that the creator used WordPress to