Jump to content


Photo
- - - - -

Functions.php for PageLines Store Child Themes

functions.php pagelines store child themes

Best Answer Simon_P , 30 June 2014 - 09:08 PM

If you need to you can easily create a wp plugin..

 

call it dawson.php and add it to the plugins folder. Then add the following:

<?php
/*
Plugin Name: Dawsons amazing plugin
Description: Lets add all my functions to this file.
Author: Dawson
*/
 
Then just add your code to that file.
Go to the full post


  • Please log in to reply
3 replies to this topic

#1 dawsonbarber

dawsonbarber

    Super Member

  • Members

  • 155 posts

Posted 30 June 2014 - 08:43 PM

I originally asked this question over here http://forum.pagelin...c/35584-voyant/ but realized I should have started a new topic.
 
I don't seem to be able to start one under the PageLines Store Products forum because I can't find Enrique Chavez listed there.
 
Anyway, my question is about the Pagelines store child themes, like Flatten and Voyant.
 
Where do I add custom functions? There does not appear to be a functions.php file that I can/should edit so I'm wondering where they go.
 
I usually use a child theme based on Danny's Skeleton child theme, which, of course, has a file for custom functions.
 
Please advise.
 
Thanks


#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 30 June 2014 - 09:08 PM   Best Answer

If you need to you can easily create a wp plugin..

 

call it dawson.php and add it to the plugins folder. Then add the following:

<?php
/*
Plugin Name: Dawsons amazing plugin
Description: Lets add all my functions to this file.
Author: Dawson
*/
 
Then just add your code to that file.


#3 dawsonbarber

dawsonbarber

    Super Member

  • Members

  • 155 posts

Posted 30 June 2014 - 10:30 PM

Perfect.

 

Thanks very much, Simon.



#4 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 02 July 2014 - 12:32 PM

This topic is marked as answered. 







Also tagged with one or more of these keywords: functions.php, pagelines store, child themes