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

enter image description here

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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -

Why does a .NET 4.0 program produce a system.unauthorizedAccess error on a Windows Server 2012 machine with .NET 4.5 installed? -