Category "wordpress"

How to center align logo image in Wordpress Theme?

I want to center align logo image of my wordpress theme, I've tried to do so but failed; Here's the CSS for Header Area /* Header ----------------------------

#1045 - Access denied for user 'root'@'localhost' (using password: YES) MAMP MySQL access denied

I'm trying to copy a live WordPress site to my local server. I went to import the database from the live site through MAMP, and I received an error message when

CSS - Hide Options From Select Menu on iPhone & Safari

So I have a site that is using a select menu for the mobile navigation. I'm needing to hide a few options from the list, and have been able to so on all browser

I'm desperate. My website is showing this error in console, related to googlecm.hit.gemius.pl

enter image description here I don't know what is this and I'm desperate to find out as I found something on the internet saying it's a virus. Please clarify th

How to add a heading in between checkout fields of WooCommerce

I am customizing the WooCommerce checkout page fields. I want to add a heading (text) in between the fields. I have reordered the fields like this add_filter('w

Wordpress : ACF image not showing

i try to display image but with Basic display (Object) but no showing <?php $image = get_field('image'); if( !empty($image) ): ?> <img src="&l

How to install php_imagick on wamp64

I've been trying to install php_imagick on wamp64 without any luck. The desired goal is for WordPress to stop showing the error message: The optional module, I

Woocommerce Search Result showing post result not product result

I am using by default product search of woocommerce but search result is showing result like post NOT like product. my search get query is like mydomainname/?s=

Creating a plain html home page AMP with WordPress running the other pages

Gday I like to know how you would go about creating a home page in plain html and have WordPress run the other pages? The reason is I’d like to create

Cant seem to get the Pagination to work on my WooCommerce REST API application?

What I got so far: [ 'wp_api' => true, 'version' => 'wc/v3', 'query_string_auth' => true //Force Basic Auth

Disable Gutenberg editor for certain page ids

I need to disable the gutenberg editor on the edit screen of certain pages. I know how to disable it for post types, like all pages: /**************************

Remove "estimated for {country}" text after tax amount in Woocommerce checkout page

I set up a 19% standard tax amount in my Woocommerce Online-Shop. Unfortunatley - now there is a text "estimated for Germany" behind the (includes 20,12 €.

wp_remote_get() not passing authentication

I've been trying to use wp_remote_get for the first time and having some troubles. So far I'm testing the response with this code: <?php

AWS EC2 Ubuntu File permissions issue

I'm running a EC2 instance with: Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-119-generic x86_64) Bitnami LAMP 5.6.30-5 My problem I have a Wordpress site that isn'

How to post data with fetch to functions.php

I am trying to make a fetch request to the functions.php file. I am trying to avoid jQuery and Ajax thats why I am using the standard fetch API. My code in one

How to find out the name of the theme that I'm using in wordpress from the database?

One of my site was infected with malware and has more than 20 templates installed and I can not remember the name of the template being used, I wonder if there

Show only featured products in Woocommerce shop page

I want to display in default shop page from WooCommerce only featured products, nothing more... It's there a solution to display in WooCommerce shop template on

Avada Wordpress Theme, cannot resize logo ( using cafe demo content )

I'm using the Avada Wordpress theme and have installed the Cafe Site Demo Content. I went into Appearance > Theme Options > Logo and uploaded my image lo

How to Prevent Spam Post/Articles in Wordpress?

I have a blog in my website using wordpress and noticed that there are spam posts such as bride, dating and other ads that are not related to my website. I don

Increase the Product Image Size in the Catalog Page

I know, this is a simple fix (it has to be), but I have been searching for two days and haven't been able to accomplish this. The products in the catalog page o