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 -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

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