Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #51807

    Hi! I’m trying to add a different opt-in box right under the header in this theme. I’ve got it all designed and I’ve got the short code, but I’m having a hard time finding the right place in the code to put it so it appears under the header (where the promotional message normally goes). Help please?

    Thanks in advance!

    #51816
    Sakin
    Keymaster

    @EducatedSavage: If you want to add can custom codes that I recommend you to create Child Theme first. For child theme, check out http://catchthemes.com/blog/create-child-theme-wordpress/.

    Then you need to add that code by creating function, hook in catchbase_before_content hook and add in your child theme functions.php file. See the sample code as below which will print Hello Another Feature to the Header below the promotion headline.

    function catchbase_below_promotion_headline() { 
    	echo 'Hello Another Feature to the Header'; 
    }
    add_action( 'catchbase_before_content', 'catchbase_below_promotion_headline', 32 );
    #51975

    Nevermind – it IS working, but it’s obvious my brain was too addled to notice it. LOL Thanks so much!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Adding Another Feature to the Header’ is closed to new replies.