2

In my wordpress theme, there is a page name pre-registration. if I take there any HTML form, that work but I need a congig.php file for MySQL query for this page. Please help me to add a include(); file at that page.

1
  • 2
    congig or config? Commented Oct 29, 2015 at 3:43

1 Answer 1

1

If It is not a template and you are making something like plugin or your code is directly or indirectly belongs to fucntions.php you can use include as you do in core PHP. If It is an template part use get_template_part() instead , if you can see some error or you have noticed nay problem, please let me know.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.