I’m using Genesis Magazine theme. I am wondering, how do you add a widget area before post? I read many posts but mostly are all about on specific pages or homepage and even after post.
Any ways you could assist me with?
After reading some, I realized my code is pretty ‘halfway’. Please see the below:
/** Register widget areas */
‘id’ => ‘cta-1′,
‘name’ => __( ‘Call to Action #1′, ‘gm’ ),
‘description’ => __( ‘This is the call to action section.’, ‘gm’ ),
add_action( ‘genesis_after_header’, ‘gm_cta_genesis’ );
Now, what should I do next to set it to show on all posts only?
Sorry not so technie so… apologies!
Please copy and paste this PHP code from the view raw link and paste it the end of your child themes functions.php file.
You can change the hook position easily.
No worries Reg.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.