Jump to content
Sign in to follow this  
ernest8888

Child theme from my template

Recommended Posts

ernest8888

Maybe some one can help or guide me in the right direction I have platformPro and I have a theme that I love I converted my theme into a child theme of PFPRO so far so good the one thing that I am have problems with is calling directories and files from sub directories in my child theme I use get_stylesheet but it always looks in the parent theme can you give me a function that will look in the child directory for my files thank in advance

Share this post


Link to post
Share on other sites
Kate

Hey Ernest, Have you downloaded Base? That gives you the start of how to do a child theme ;)

Share this post


Link to post
Share on other sites
ernest8888

Yes I have base and I understand the css and how to import I am have trouble calling files and directories from the child theme I use STYLESHEETPATH and bloginfo but it keeps looking in the parent theme for theses files and directories. If I could find the correct function to do this I think I can make a child theme from my premium theme that I like from themeforest. can you give me a tip or the right function for this or where I can look for the right function. I have read all of wordpress not much help no much help. A function to call files and directories from child theme Thanks in advance

Share this post


Link to post
Share on other sites
kastelic
 bloginfo('stylesheet_directory');	 

will access platformbase

Share this post


Link to post
Share on other sites
ernest8888

do I need require_once(STYLESHEETPATH . "/library/tfuse.php"); also and if i do will i place it before or after your function

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×