Find Jobs
Hire Freelancers

Create a Wordpress Template

$30-250 USD

Completed
Posted about 9 years ago

$30-250 USD

Paid on delivery
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 );
Project ID: 7284465

About the project

3 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
pls award me ............................................................................................................................................................................
$54 USD in 1 day
4.9 (66 reviews)
6.5
6.5
3 freelancers are bidding on average $128 USD for this job
User Avatar
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 in 3 days
4.9 (224 reviews)
7.5
7.5
User Avatar
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 in 2 days
4.7 (34 reviews)
5.7
5.7

About the client

Flag of UNITED STATES
Las Vegas, United States
5.0
8
Payment method verified
Member since Nov 29, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.