Jump to content
Sign in to follow this  
highreach

Another function.php question

Recommended Posts

highreach    1
highreach

Hey Guys, function.php has been kicking my butt recently. Over the last few days I have gotten very good at breaking my site with functions.php, then going back and restoring the functions.php file to its original state. I have read a bunch on how to implement new code into functions php and have tried it in several places. Here is the latest (failed) attempt. If anyone has any ideas, please let me know. Thanks a bunch

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi, Can you tell me what you want to add to your child themes function.php file please.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

The best course of action would be to contact JigoShop support regarding this.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Simon    247
Simon

PLEASE dont edit the main framework functions file, either use a chile theme or the customization plugin.

Share this post


Link to post
Share on other sites
Jenny    33
Jenny

Looking at the paste, you're missing the closing } in your function. Not sure other than that. PS. Simon means "child theme" ;)


Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
highreach    1
highreach

Man, one little squiggly line is the different between taking my site offline and getting the code to work. @simple_mama , you are a genius. Thank you so much. @pross , I am editing the functions file found in wp-content/themew/paglines-template-theme. Is this bad?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Editing the Child theme like you mentioned above is the correct way to add custom code such as hooks to your site.


Please search our forums, before posting!

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  

×