Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
208 views

How to disable hover zoom on woocommerce. None of the common methods work

I have tried these codes in child functions and style files. Nothing works. add_action( 'wp', 'divikingdom_disable_wc_zoom', 99 ); function divikingdom_disable_wc_zoom() { remove_theme_support( '...
Raj Arjit's user avatar
  • 103
0 votes
1 answer
432 views

How to wrap image tag into div for post only?

I have created a function it wraps all image tag inside a div, but I want to apply it only for the post but my function wraps the page images inside a div also. // Wrap img into div function ...
Atul Rai's user avatar
  • 111
1 vote
2 answers
4k views

Inserting HTML tag with ACF into shortcode

Let me start off by saying that I usually make alot of research before asking publicly for help - due to likelyhood of information already being on the web - altho I've done several days of reseach ...
Pr0metheus's user avatar
0 votes
1 answer
9k views

Image change on hover

Is there any way to have an image change on hover (from image a to image b) in wordpress? I wonder if there is a plugin or a custom function I can use to perform this. P.S. -It is not a featured ...
Pragmaticoder's user avatar
2 votes
2 answers
431 views

Disabling post images for not logged in users

Is there any neat way of disabling the figures/images in a certain post category until a user logs in. I want the entire post content to be visible except for the images. I'm not a programmer and I ...
Adam Robinsson's user avatar
2 votes
0 answers
2k views

bulk change of image setting "link to" to "link to: image url "

i want every image present on my wordpress site with setting "link to: none" or "link to: post url" became in "link to :image url" ho make this for old post and for new post ? i tried this code in ...
themich's user avatar
  • 21
0 votes
1 answer
1k views

Add_image_size not generating correct size

I have 2 additional image sizes i've added to my theme and the for some reason when I use the Force Regenerate Thumbnails plugin, my images are created but the files sizes are not exact. Here is the ...
HjalmarCarlson's user avatar
2 votes
2 answers
916 views

Converting a simple plugin to be placed inside of functions.php

First off, I know it's better practice to use plugins separately than to integrate them in functions.php but this is for a theme framework that will be deployed to multiple sites and it will be easier ...
Steve's user avatar
  • 23