Add full-width call to action to latest post homepage in WordPress

Do you want to add a full-page call to action just below your navigation menu?
Well, here you can use this snippet to achieve full-page CTA. Insert this to your function.php file in the child theme.

add_action('generate_after_header',function(){
   echo ' your code for the full width CTA here';
});

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top