This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

header addon

  • Creator
  • #1298

    I am supposed to put this in the header.php…i looked at the header.php and am clueless. Would you be able to tell me in what file i am to put this code so it shows up in the header.
    < ?php if(function_exists('fcbk_bttn_plgn_shortcode')) echo fcbk_bttn_plgn_shortcode(''); ?>

    i had created a widget with action( 'themeblvd_header_addon' but realized after that the shortcode does not work in the widget

    any advice would be appreciated

Viewing 1 replies (of 1 total)
  • Author
  • #1308
    Jason Bobich

    It’s best if you avoid editing header.php at all, as this is a file that often gets changed with theme updates. This is why the theme comes with such an intricate action hook system, which you can utilize from your Child theme’s functions.php.

    You will need basic PHP knowledge and to understand what a WordPress action hook is.

    For example, you could create a function that contains the content you want to display, and then hook it to the “themeblvd_header_addon” action with use of WordPress’s add_action function. Again, this all happens from your Child theme’s functions.php file.

Viewing 1 replies (of 1 total)
  • The forum ‘Akita Responsive WordPress Theme’ is closed to new topics and replies.