Can’t understand why I am getting call to undefined function error

[ad_1]

This is where all the files to my blog are stored: [https://github.com/xVicissitudex/WordPress-Themes/tree/main])

In my child theme folder, I have a call to `unblock_peiblog_styles()` in the page-31 php file. I then defined that function in the layout/peiblog-styles.php directory. For some reason it’s just not registering the function definition when I put it there. When I put it in functions.php it works fine but I would like to keep it separate from there.

What should I do to make that happen?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer