About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Hello, in this widget it’s possbile to insert a slider?
Yes, of course.
Could you please tell me where in the style sheet I should put the code?
Thank you.
At the end.
For some reason it isn’t working for me. The widget did appear just fine once I first added it to the php but when I add to the bottom of the style sheet the item I move to the widget won’t appear. I’m still trying….
I would like to be able to add a widget are below the navigation bar and before the content area on all pages except the home page. Can you help me with that? I tried using your above tutorial but I can’t get the widget area to show at all, not even on the home page which is were this should show up. I’m not sure what I’m doing wrong. The site I’m working on is: http://www.palmerleedurrantlaw.com.
Thanks!
Follow http://www.sridharkatakam.com/adding-widget-area-header-static-pages-agency-pro/
Thanks so much! Worked perfectly!
[…] user wants to know how to add a widget area below header on inner static Pages in Agency […]
I get the widget to appear in the widget section. But when I put in a slider or txt box it doesn’t show up on the main website
Can you provide the URL of your site?
to be honest i am just exploring a bit using the wamp server and haven’t uploaded anything yet. Does that make it much harder?
it sounds similar to the problem amy had if that is any help
After playing with it a bit that day I commented my issue, I discovered the widget does show up for me on all of the inner pages but not on the home page. I have went away from it for now but it might be that I need to set it as a blog page not a static page… I’m not sure yet. Unless you have further guidance Sridhar on getting it come up on a static home page?
Aha! so you guys are using a static Page as front page.
I’ve updated functions.php code to take care of this. The change is to replace
if ( is_active_sidebar( ‘home-featured’ ) && is_home() ) {
with
if ( is_active_sidebar( ‘home-featured’ ) && ( is_home() || is_front_page() ) ) {
Yes! It is now visible on the homepage. Thank you very much. I will adjust the size now.
It doesn’t appear on the inner pages now. Should I add something back in?
hey amy, wondering if you could send me a copy of what you have coded in for your site.. if its any different.. Just having troubles at my end. Thanks!
@Amy If you want the Featured widget area to appear throughout the site, change
if ( is_active_sidebar( ‘home-featured’ ) && ( is_home() || is_front_page() ) ) {
to
if ( is_active_sidebar( ‘home-featured’ ) ) {
@Paul http://pastebin.com/raw.php?i=sXZ2CmzN
I have just followed the steps in my above tutorial on unmodified Agency Pro and everything is working fine as expected.
http://i.imgur.com/n1XCaT3.jpg
If you can make the site live and provide the URL, I can further advise.
haha I tried the updated functions.php code
The change being
if ( is_active_sidebar( ‘home-featured’ ) && is_home() ) {
with
if ( is_active_sidebar( ‘home-featured’ ) && ( is_home() || is_front_page() ) ) {
I had no luck still.. would there be a css change too?
HI, Just tried this and now I’ve lost all pages and website doesn’t even appear. I now need to know what to do to restore it.Thanks.
You may have not removed the opening PHP tag as suggested in the code added to functions.php. Use a FTP client or your cPanel file manager, navigate to your child theme directory and edit functions.php.
This is cool. I got the widget area to work but I want to do something a little different. I want the widget area to be above the content on a static page, but not be full-width (I want the sidebar to be on the right). I figured out how to put it below the header on a page, but how to make it not be full width? Thanks for the help.
http://www.sridharkatakam.com/add-widget-area-static-pages-content-agency-pro/
[…] my post titled Adding a widget area below header in Agency Pro, Bob […]