Find Jobs
Hire Freelancers

Create a Wordpress Template

$30-250 USD

已完成
已发布大约 9 年前

$30-250 USD

货到付款
I need to display the Image Caption if there is one, if not, nothing is displayed. Here is the existing code: <?php extract( shortcode_atts( array( "images" => '', "effect" => 'fade', 'padding' => 30, "animation_speed" => 700, "slideshow_speed" => 7000, "pause_on_hover" => "false", "smooth_height" => "true", "direction_nav" => "true", 'bg_color' => '', 'attachment' => 'scroll', 'bg_position' => 'left top', 'border_color' => '', 'bg_image' => '', 'enable_3d' => 'false', 'speed_factor' => '', "el_class" => '', ), $atts ) ); if ( $images == '' ) return null; $enable_3d = ( $enable_3d == 'true' ) ? 'parallax-slideshow ' : ''; $output = $item = ''; $images = explode( ',', $images ); $i = -1; foreach ( $images as $attach_id ) { $i++; $image_src = wp_get_attachment_image_src( $attach_id, 'full', $size, $icon, $attr ); $item .= '<li>'; $item .= '<img alt="" src="' . $image_src[0] .'" /><br>TEST CAPTION HERE'; $item .= '</li>'. "\n\n"; } $border_color = !empty($border_color) ? ('border:1px solid '.$border_color.';') : ''; $backgroud_image = !empty( $bg_image ) ? 'background-image:url('.$bg_image.'); ' : ''; $output .= '<div class="mk-fullwidth-slideshow mk-script-call mk-flexslider '.$enable_3d.$el_class.'" data-speedFactor="'.$speed_factor.'" style="padding:'.$padding.'px 0;'. $backgroud_image.'background-color:'.$bg_color.'; background-position:'.$bg_position.';background-attachment:'.$attachment.';'.$border_color.'border-left:none;border-right:none;" data-animation="'.$effect.'" data-easing="swing" data-direction="horizontal" data-smoothHeight="'.$smooth_height.'" data-animationSpeed="'.$animation_speed.'" data-slideshowSpeed="'.$slideshow_speed.'" data-pauseOnHover="'.$pause_on_hover.'" data-controlNav="false" data-directionNav="'.$direction_nav.'" data-isCarousel="false">'; $output .= '<ul class="mk-flex-slides">' . $item . '</ul>'; $output .= '</div><div class="clearboth"></div>'; echo $output; echo wp_get_attachment_image( 1 );
项目 ID: 7284465

关于此项目

3提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
pls award me ............................................................................................................................................................................
$54 USD 在1天之内
4.9 (66条评论)
6.5
6.5
3威客以平均价$128 USD来参与此工作竞价
用户头像
I am willing to work with you I am not saying that i Am the best but my coding skills show you that i em the best i am highly interested in this job I can start working on it right now .. Skills: PHP/MYSQL Word Press Code Igniter Laravel JS/Jquery HTML/CSS Waiting for your response.
$210 USD 在3天之内
4.9 (224条评论)
7.5
7.5
用户头像
Greetings Would love to take on your project and code a solution. I am a full stack developer with 10+years experience and extensive experience with WordPress, Magento, Joomla, and more. I can achieve your task in a timely and efficient manner. If you are looking for an individual who is professional, delivers quality work, and excellent communication, then look no further. I am available to chat about this project now and look forward to hearing more. Thank You
$121 USD 在2天之内
4.7 (34条评论)
5.7
5.7

关于客户

UNITED STATES的国旗
Las Vegas, United States
5.0
8
付款方式已验证
会员自11月 29, 2013起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。