Call to undefined function gcb() In wordpress -
fatal error: call undefined function gcb() in d:\wamp\www\isee\wp-content\themes\isee\home.php on line 10
and code
*/ get_header(); echo homeslider_function(); ?> <article id="first-article"><?php echo gcb(1);?></article> <article id="second-article"><?php echo gcb(2);?></article>
line no 10 gcb(1)
it looks need install global code blocks plugin.
from faq page:
can use content blocks outside of posts , pages?
yes, wrap in php function<?php echo gcb(x);?>
x
content block id. can use longer form<?php do_shortcode("[contentblock id=x]");?>
Comments
Post a Comment