New Front EN › Support Forums › Ikebana Theme Support › Side bars on portfolio › Reply To: Side bars on portfolio
Actually Andrew, I have found where my issue is and wondering if you could help with this. This is from my functions.php:
`// Add custom post class for box size
function size_class($classes) {
global $post;
$postclass = ”;
if ( get_post_meta($post->ID, ‘satori_post-size’, true) == ‘Large’ ) {
$postclass .= ‘post-size-large’;
}
$classes[0] = $postclass;
return $classes;
}
add_filter(‘post_class’, ‘size_class’);
// Add custom post class for box size
function size_class_long($classes) {
global $post;
$postclass1 = ”;
if ( get_post_meta($post->ID, ‘satori_post-size’, true) == ‘Long’ ) {
$postclass1 .= ‘post-size-long’;
}
$classes[0] = $postclass1;
return $classes;
}
add_filter(‘post_class’, ‘size_class_long’);`
When this is in, my new Long size works, however, the Large size stops working. What have I done wrong :)
Cheers
Damien