This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li class="client_date"> | |
<?php if ( $portfolio_metabox->the_value('time') ) { _e('Project date: ', 'peaxl') ?> <?php $portfolio_metabox->the_value('time'); } ?> | |
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $background = of_get_option('custom_background'); | |
if ($background) { | |
if ($background['image']) { | |
echo '<style type="text/css" media="screen"> | |
body { background:url('.$background['image']. '); } | |
</style>'; | |
} else { | |
echo '<style type="text/css" media="screen"> | |
body { background:'.$background['color']. ' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $services_picto = $service_metabox->the_value('icon_service'); | |
if ($services_picto) { ?> | |
<img src="<?php $service_metabox->the_value('icon_service'); ?>"> | |
<?php } ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Custom background --> | |
<?php $background = of_get_option('custom_background'); | |
if ($background) { | |
if ($background['image']) { | |
echo '<style type="text/css" media="screen"> | |
body { background:url('.$background['image']. '); } | |
</style>'; | |
} else { | |
echo '<style type="text/css" media="screen"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php global $video_metabox; $video_metabox->the_meta(); ?> | |
<?php if ( $video_metabox->have_value( 'vids' ) ) { ?> | |
<ul class="project_videos"> | |
<?php while( $video_metabox->have_fields('vids') ) { ?> | |
// This Works |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php global $video_metabox; $video_metabox->the_meta(); ?> | |
<?php if ( $video_metabox->have_value( 'vids' ) ) { ?> | |
<ul class="project_videos"> | |
<?php while( $video_metabox->have_fields('vids') ) { ?> | |
<?php do_shortcode( '[embed]' . $video_metabox->the_value( 'videourl' ) . '[/embed]' ); ?> | |
<?php } ?> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php global $video_metabox; | |
$video_metabox->the_meta(); | |
?> | |
<ul class="project_videos"> | |
<?php while($video_metabox->have_fields('vids')) { | |
?> | |
<?php $video_metabox->the_value('videourl'); ?> | |
<?php } ?> | |
</ul> |