ernest8888 0 Report post Posted August 10, 2011 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 3 Report post Posted August 10, 2011 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 0 Report post Posted August 16, 2011 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 6 Report post Posted August 16, 2011 bloginfo('stylesheet_directory'); will access platformbase Share this post Link to post Share on other sites
ernest8888 0 Report post Posted August 17, 2011 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