Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need to store the id and secret key of my FB application. I don't want to write them directly in my template. What do you recommend ?

share|improve this question
2  
I recommend you to store in WordPress options table using codex.wordpress.org/Function_Reference/add_option as this site specific data and not post/category specific. –  Vinod Dalvi Sep 5 '13 at 14:54
    
Perfect. Write an answer and I will accept it :) –  aguidis Sep 5 '13 at 15:02
    
Added it as an answer. –  Vinod Dalvi Sep 5 '13 at 15:11

1 Answer 1

up vote 1 down vote accepted

I recommend you to store it in WordPress options table using function add_option() function as this is site specific data and not post/category specific.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.