Find Jobs
Hire Freelancers

Wordpress Auto Thumbnail from Post

$30-250 USD

Đã hủy
Đã đăng vào hơn 11 năm trước

$30-250 USD

Thanh toán khi bàn giao
Hello, I need to customized the functions in my theme to make it auto generate thumbnails from posts (the first image) that is not local, it`s referenced in a url. I have the code, I just need to make it work with this theme. My website is: [login to view URL] As you can see, I have tried using the Auto Post Thumbnail plugin but it generated the thumbnail from the second picture (that is referenced localy) not the first one from the url. //////////////////////////////////////////////////////////////////////////////// // Get Featured Post Image //////////////////////////////////////////////////////////////////////////////// function get_featured_slider_image() { global $post, $posts; $first_img = ''; ob_start(); ob_end_clean(); $output = preg_match_all('//i', $post->post_content, $matches); $first_img = $matches [1] [0]; if(empty($first_img)){ //Defines a default image $img_dir = get_bloginfo('template_directory'); $first_img = $img_dir . '/images/[login to view URL]'; } return $first_img; } //////////////////////////////////////////////////////////////////////////////// // Get Post Image //////////////////////////////////////////////////////////////////////////////// function get_post_image() { global $post, $posts; $first_img = ''; ob_start(); ob_end_clean(); $output = preg_match_all('//i', $post->post_content, $matches); $first_img = $matches [1] [0]; if(empty($first_img)){ //Defines a default image $img_dir = get_bloginfo('template_directory'); $first_img = $img_dir . '/images/[login to view URL]'; } return $first_img; } //////////////////////////////////////////////////////////////////////////////// // Get Featured Category Image //////////////////////////////////////////////////////////////////////////////// function get_featcat_image() { global $post, $posts; $first_img = ''; ob_start(); ob_end_clean(); $output = preg_match_all('//i', $post->post_content, $matches); $first_img = $matches [1] [0]; if(empty($first_img)){ //Defines a default image $img_dir = get_bloginfo('template_directory'); $first_img = $img_dir . '/images/[login to view URL]'; } return $first_img; }
Mã dự án: 4001422

Về dự án

6 đề xuất
Dự án từ xa
Hoạt động 11 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
6 freelancer chào giá trung bình $66 USD cho công việc này
Avatar người dùng
Please check PMB
$100 USD trong 1 ngày
4,9 (565 nhận xét)
8,3
8,3
Avatar người dùng
I can modify your wordpress website to create post thumbnail from first image (even on external images). I can complete this work in 2 days.
$44 USD trong 2 ngày
5,0 (1242 nhận xét)
8,1
8,1
Avatar người dùng
wordpress have its own function for this. a 5 line code. need 20 mints to finish the job. if ready then allow me to do it.
$30 USD trong 0 ngày
4,9 (62 nhận xét)
6,7
6,7
Avatar người dùng
Hello, After having look at your requirement, I would like to offer you our quality services which will be your ultimate goal and requirement to have. With the market presence of 5+ years, we have worked on 1500+ successful projects ranging from $50 to $20,000 USD. We have been providing quality service with the customer satisfaction and within the time line to 20+ Web/print partners. Awaiting for your favorable response. Regards, Krunal
$70 USD trong 1 ngày
5,0 (13 nhận xét)
4,9
4,9

Về khách hàng

Cờ của ROMANIA
Bistrita, Romania
4,9
14
Phương thức thanh toán đã xác thực
Thành viên từ thg 5 25, 2006

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.