Browsing Tag

src

Get new <img> src generated from wordpress ajax

I need the featured image src from “post-new.php” page after ajax response. Is this possible? Without publishing first. $('.button').on('mouseover', function(){ img_src = $('.attachment-266x266').attr('src'): }) From

Removing the <img="" src= from wordpress thumbnail

I’am having a problem with making the image a background of my div <?php add_filter( 'post_thumbnail_html', 'remove_width_attribute', 10 ); add_filter( 'image_send_to_editor', 'remove_width_attribute', 10 ); function

Back to Top 134672 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising