• I just upgraded my theme and it totally hosed my child theme. I am attempting to reconstruct and downloaded the child theme template. The child theme is active but none of my content appears except for the slider images. When I activate the parent theme the content appears.

    Any thoughts?

    Thanks GL

    dev.tspkey.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • Is this solved? I can see contents on your site.

    Thread Starter goredshift

    (@goredshift)

    Well, yes and no. I was able to create the child theme with the themify plugin. But, I cannot add any files ie. header.php / functions.php without it breaking the site. Do you know where I can find documentation or posts for protocol / sytnax for adding files to the root child theme folder as well as customizations to the Parts folder?

    Thanks!

    If you’ve not read it, start here

    If you copy core files to the child theme, you have to exactly match the folder structure else it will break the site.

    But copying core files is the wrong strategy anyway. Depending on what you’re trying to do, you should be able to have a CT style.css and a CT functions.php containing Hooks, not hacked core files.

    Your style sheet starts with a duplicate @import. You don’t need either as Czr does that automatically.

    Thread Starter goredshift

    (@goredshift)

    I have used the exact folder structure.

    I am not great with PHP but I am learning. I am not real comfortable writing hooks, but I will study them. My adjustments are fairly mundane and worked fine in my child theme prior to upgrading recently.

    I have two specific functions I need to work in modifying the core files.

    1. I want to move the three boxes down to the bottom of the content area (which is done now by moving the variable to to bottom of that page via the header.php.

    2. I want to add a slider to the /category/membership page and change the .archive-title text. I had edited it previously in the /parts/class-content-posts.php but that variable has been moved from what i can tell in the latest version.

    Thoughts?

    1. https://www.themesandco.com/snippet/move-featured-pages-block-anywhere-front-page/
    Instead of the hook __before_header use __after_main_container
    2. Slider in category pages: https://www.themesandco.com/snippet/displaying-a-slider-in-your-category-pages/
    What’s this “.archive-title” text? This selector doesn’t exists, you are referring to.. “Category Archives:” before the category title?
    If yes:
    https://www.themesandco.com/snippet/changing-the-title-of-the-categories-archive-pages/

    As you can see, almost everything you asked is covered by snippet on themesandco.com ..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Upgraded and used Child Template but Content is missing.’ is closed to new replies.