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
    Topic
  • #1298
    raffaes
    Participant

    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
    dev.ydesfemmesmtl.org

    any advice would be appreciated

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

    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.

    http://dev.themeblvd.com/tutorial/primary-framework-action-hooks/

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

    http://dev.themeblvd.com/tutorial/actions/

    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.