WordPress.org

Ready to get started?Download WordPress

Forums

Attitude
Child Themes php not loading (5 posts)

  1. locka
    Member
    Posted 4 months ago #

    I having an issue getting my modified footer-extensions.php to work from my child theme css code ive created there works fine. and I've created all the matching folders and put the code in the same place but it just not being read.

    Please can you tell me if this theme supports more than just CSS in the child theme and if this is correct way to do it. From what I've read it should be.

  2. highdiver2000
    Member
    Posted 3 months ago #

    I used the CSS override function to push in my changes. Which is only a single font size change.

  3. locka
    Member
    Posted 3 months ago #

    Thanks for the reply CSS works fine in my child theme it's just php I have an issue with and I wish to make my site fully upgrade compliant

  4. stephencottontail
    Member
    Posted 3 months ago #

    One thing to check is if you're calling in your file correctly. If your file is called footer-extensions.php, then you need to call get_footer( 'extensions' );. If you have access to your server's logs, check to see if there are any errors. If neither of those help, try posting your modified file to pastebin and posting the link here.

  5. locka
    Member
    Posted 3 months ago #

    My php file is the same name as the one from the main theme I was lead to believe that this one then took precedence Is not the case?

    Currently all my files are local I have yet to publish them live

Reply

You must log in to post.

About this Theme

About this Topic