WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Modify Files in Parent Theme (4 posts)

  1. demmm
    Member
    Posted 1 year ago #

    I'm actually using a child theme and need to modify a file from the parent theme. The thing is that this file is located in /themes/musicgreen/includes/custom-post-types/portfolio-type.php

    I need to know how to modify it from the child theme and not the parent theme.

    Tipically if the file is in the parent's theme root folder i just place it under my child-theme's root folder. But this is not the case.

    Thanks in advance.

  2. demmm
    Member
    Posted 1 year ago #

    Im reading this over here:
    http://codex.wordpress.org/Child_Themes

    In other words if you have a file in your parent theme parent-theme-dir/includes/filename.php and this file is not included by any of your template files or functions.php file then you can not override this file by your child theme.

    Still looking for a solution. That isn't very clear for me.

  3. demmm
    Member
    Posted 1 year ago #

    A ver active forum :P

  4. e-win.gr
    Member
    Posted 1 year ago #

    I stack there too. Did you find the solution?

Topic Closed

This topic has been closed to new replies.

About this Topic