WordPress.org

Ready to get started?Download WordPress

Forums

Max Magazine
[resolved] Child theme sidebars stopped working after update (3 posts)

  1. jamminjames
    Member
    Posted 1 year ago #

    I had some custom sidebars set up for my child theme of Max Magazine, and they were working perfectly, until I updated Max and WP. I can't figure out what's wrong or how to fix it.

    I have a functions.php file in the child theme, where I have registered the sidebars, and they are visible in the widget area. I can't get them to show in the theme, though.

    When I add them to the sidebar.php, they appear, but don't work the way I want them to. I only want one of them to appear on the home page, and the other in the header. The third is a widget area on top of the main column of the home page. (The main column is in the middle, one of the new sidebars is on the left.)

    I've tried calling them in the index.php file, both in the child folder and in the main theme folder, and that doesn't work either, but it used to.

    In the index.php file, I've tried:
    <?php dynamic_sidebar( 'sidebar-3' ); ?> and
    <?php get_sidebar( 'sidebar-3' ); ?>
    neither works.

    Can anyone help me?

    The site, under construction, is in a subfolder of the working site, at: http://raftwet.com/wordpress_35564220/wordpress/

    Thank you!

  2. jamminjames
    Member
    Posted 1 year ago #

    Also, I wanted to add, the slider, carousel and featured posts are not showing up on the home page either, like they were before the updates.

    In fact, although I have the blog set for a static home page, it's acting as if it's a blog home page.

    It's all very mysterious. Any ideas?

  3. jamminjames
    Member
    Posted 1 year ago #

    OK, fixed. Went to /wp-admin/options.php and changed:

    page_on_front

    It had somehow been changed to 111, while my home page was number 0.

    Anyone know how that could've gotten changed? I'd like to prevent it from happening in the future.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic