thekid87
Forum Replies Created
-
Forum: Plugins
In reply to: [Meta Box] php echo $full_image_url[0] not working t one theme Meta BoxThanks for responding. It was indeed the meta box plugin. I rolled way back to a functioning version of the plugin for my theme via my hosting provider. Not optimal but it works now.
Forum: Fixing WordPress
In reply to: php echo $full_image_url[0] not working t one themeIt was happening before I did the Hard delete too.I thought it might have been the WP 4.4.2 update that caused it.
Forum: Fixing WordPress
In reply to: php echo $full_image_url[0] not working t one themeThanks Michael. It indeed uses meta-box. I have removed it, re installed the latest version new ans still no worky?
Forum: Fixing WordPress
In reply to: php echo $full_image_url[0] not working t one themeGet this in my error reporting
[12-Apr-2016 17:55:14 UTC] PHP Fatal error: Call to undefined function rwmb_meta() in /home1/kittensw/public_html/wp-content/themes/t-one/templates/portfolio.php on line 58
referring to this line
$img_id = rwmb_meta( ‘t_one_bg_img’ );
Forum: Fixing WordPress
In reply to: php echo $full_image_url[0] not working t one themeThanks for replying Michael.
article class=”<?php echo $class_tag ?> isotope-item col-md-<?php echo $columns_class ?> col-sm-6 col-xs-12″>
<?php
$img_id = rwmb_meta( ‘t_one_bg_img’ );
$full_image_url = wp_get_attachment_image_src( $img_id, ‘full’ );
?>
<figure>
<img src=”<?php echo $full_image_url[0] ?>” class=”img-responsive” alt=”<?php the_title() ?>” />
<figcaption>
<?php $popup = get_post_meta( $post->ID, ‘t_one_popup’, true );?>
>
<div class=”layer”></div>
</figcaption>
</figure>