Category "wordpress"

Line Spacing for Individual Fonts

I'm using custom fonts in WordPress. I do it by defining font family. I'm having problem if line spacing with One if my fonts. If I use line-height code in my

Private Notes In Woocommerce Order List

We add our own production numbers in private notes and it would be really handy if we could show these private notes on the order list under a new column, searc

Add custom CSS class to "add to cart" button on WooCommerce shop and archives pages based on certain condition

I am trying to disable "add to cart" button on WooCommerce shop and archives pages if product's quantity stock is zero or less. I don't want to hide it so I cam

how do i retrieve and display the alt text of an image in wordpress?

how do i retrieve and display the alt text of an image in wordpress? trying to substitute the title for the alt. here is the original code. <?php while ( ha

Using ACF Builder with Sage doesn't do anything

I've been experimentating with Sage 9 recently and trying out ACF Builder. I followed this guide: https://roots.io/guides/using-acf-builder-with-sage/ But upon

Show Custom Data in Woocommerce Order Details Admin Area

When a User Buys a Product he can generate up to 3 Serial Keys for his Product. This works fine so far. The User can see his Serials always in "my account" The

Contact form 7 will not email form due to it thinks its SPAM

I have a client that has upgraded wordpress to 3.7.1. Contact Form 7 now reports all forms as SPAM. I have WP-Mail installed and all was working before. Any

Wildcard search with slug - Wordpress REST API

We need to search post / pages using slug. I can search for exact slug, however not able to use wildcard search. http://localhost/wordpress/wp-json/wp/v2/pages?

EqualHeight Not Working With Ajax Load More

I am currently developing a sport website where I have Ajax Pagination and Infinite Scroll plugin to load more posts instead of paginating. I use equalheights t

Get Products by Category id

i am writing a pricing table plugin for woocommerce. the user inserts the shortcode with an id of woocommerce products category and after updating the page the

WordPress plugin/theme suggestion

I am looking for a WordPress plugin/theme that offers similar functionality to this website: https://secure.heathrow.com The search would essentially be the sa

HTML: Unable to scroll over iframe video embed (viemo)

I'm making a portfolio using wordpress. In it I have embedded a Vimeo video with a play button in my portfolio using the attached code, unfortunately, I'm not a

How to change HTML structure inside WP <head>

I'm cleaning up some HTML code, and I would like to have a HTML structure that looks like this: <!DOCTYPE html> <html > <head> <title>.

Submitting a form with ajax in Wordpress

I am trying to get the results of an ajax request in wordpress, but I am getting result of '0' in an alert box of javascript, so the form looks like this: <

Submitting a form with ajax in Wordpress

I am trying to get the results of an ajax request in wordpress, but I am getting result of '0' in an alert box of javascript, so the form looks like this: <

Adding Multiple Custom Post Types in Wordpress

I was fine with adding one custom post type (releases) to my functions.php file, but then adding a second (projects) seems to have complicated things. The pro

Wordpress add responsive srcset header image to theme

WP introduced support for srcset in version 4.4 for Thumbnails and Post images. But I can't find a way to make the page header responsive. Here is how I embed t

woocommerce change position of price

I get this error when trying to render the product price before the main content on the page. Fatal error: Uncaught Error: Call to a member function get_price_

How to add automatically collapse/expand in content wordpress (single.php)?

There are a lot of WordPress plugins for adding collapse/expand in WordPress content, such as Collapse-O-Matic. But is there a way to add automatically collap

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\AKS_Shop\wp-includes\Requests\Transport\cURL.php on line 463

I'm trying to install the plugin but this error:- Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\AKS_Shop\wp-includes\Request