remove or update add_image_size
I’m working on a theme that has a number of image sizes defined correctly using:
I’m working on a theme that has a number of image sizes defined correctly using:
I have a page that I would like to work on little techniques and then show them off. I built a scrolling banner that uses images and then scrolls them in order. I have successfully built this with static HTML but I have never done so in WordPress.
In my white theme, there is no alt attribute configured for the home slider post. I added the alt text for the image through the media library interface. I added the following code to display the alt text/attribute. But it does not display:
I have a site where I created a page that takes the gallery images from a post and puts them into a slider.
I am using this code directly from the codex.
I succesfully converted my 4.3.1 install to all https. After updating to 4.4. I have a problem with the new srcset attribute. While the src attribute for images is set using https, the srcset attribute is http. This causes browsers to not display any image at all.
Is there a way to disable image attachment links trought a filter in functions.php or something ? I know it’s possible to do it manually when you add an image to a post but I want to disable this functionality by default.
I am looking for a way to remove the attachment link from images in the post content.
I am having a strange issue with the built in wordpress image editor. I have no problem uploading files or preforming any other media functions. The only thing I seem to be unable to do is utilize the image “edit” capabilities (the area where you can crop, resize, rotate…)
I’m wondering if there’s a simple way top stop WordPress automatically hardcoding featured image height and width attributes, other than using regex…