Support » Themes and Templates » Special Text Boxes

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    I read this FAQ. It does not say where to put the code which is why I asked this question. WHERE do I put the code? In the Main index? Function file? And can I place multiple special text boxes throughout my theme’s front page? Thank you.

    I do not know this plugin, but –

    the Shortcode stated in the FAQ ( shortcode is between rectangular brackets – e.g. “[]” )is needed to be inserted IN THE POST itself, meaning when you write a post ..

    the second one , which is a FUNCTION for TEMPLATES (at the bottom) , is inserted in the THEME files, it is for THEME developers, or people who know how to assemble some theme code .. that bit of code , if needed , is inserted wherever you want the boxes (whatever those might be..) to appear..

    Somewhere, where you need, in file index.php place this code:

    <?php if(is_home() && function_exists('stbHighlightText'))
      stbHighlightText('Any text', 'warning', '', null); ?>

    Good luck!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Special Text Boxes’ is closed to new replies.