First of all I must say that I don’t think this is a wordpress related question. That said I hope this following suggestion helps you go in the right direction…
Basically the include("xxx-xxx.php");
already tells you where to put the xxx-xxx.php
– in this case it should go into the same directory where the ‘parent’ is located.
If instead it looked like this: include("incl/xxx-xxx.php");
then the xxx-xxx.php
should instead go into the subdirectory “incl”
Related Posts:
- Has anyone tried putting PHP ActiveRecord on WordPress?
- How to fix ‘Notice: Undefined index:’ in PHP form action
- Genesis – Customize search form
- How to insert PHP code in a WordPress Post
- Handling error states with admin_post
- Creating wordpress user registration form
- I want to remove the links from the term list returned by get_the_term_list
- submit the form to same page
- Can I run custom php on specific pages in wordpress?
- Successful or Error Message after running mysql code in functions.php
- Implement a multi-value input field where the number of entries is not limited
- Can I view my own wordpress php source code on my hosted web server?
- Ajax form submit within a Post Metabox
- How to display php source code inside a post using visual editor?
- How to create and work with custom data / tables (i.e., for arbitrary data)?
- Upload Image in a WordPress page using PHP
- woocommerce registration form with klaviyo(don’t work with current user)
- Hide wordpress field if data is empty in post!
- Custom Form Processing Issue
- My form action url is being prepended with a directory that does not exists
- Latest post in a specific menu
- Custom profile field with birthday. Troubles with
- WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
- Custom search results page not working with empty search
- Post + form + action + results on the same page
- Why Won’t My Inputs in a form with a Get method work together?
- Input data from email form not going to JSON file
- How to get the value of input hidden html from text editor to custom page template?
- Contact form won’t submit
- Search Query: how to construct a search string from two select elements?
- Databases – Submitting data from inputs to database [closed]
- How to show a ‘correct’ message after submit a form?
- db converts decimal number wrong
- Ajax contact form return 0
- “operation successful” message
- User register hook is not working in woocomerce register form
- Search WordPress using static html page
- How to put a form with php code into a variable or shortcode?
- How to send form data from WordPress (Meta Box) to an OData service?
- WordPress shortcode returns the data before
- Shortcode to embed Edit Account form not working
- Form Submission Not Working In Custom Theme
- Capture form data in one function and use it in another function (same file)
- Fatal error: Uncaught Error: Call to undefined function get_header() [closed]
- Why does my user not get added to the database on custom registration?
- Submitting a form, using Ajax, to run a SQL Select query based on user input from the form
- using wp enqueue style to create a CSS file specifically for a page template
- Accidentally deleted php code in WordPress website [closed]
- Pass important values server-side when processing form
- WPDB secure custom form
- Adding attribute to the post.php form tag in wp-admin
- Make a page (url) not cacheable [closed]
- Front end file upload returning wrong attachment url
- WordPressUser Submission Form
- Insert PHP code in Text
- Testing a Form’s Zipcode Field with Regular Expressions to Determine WordPress Page Behaviour
- Cascading dropdown select search based on Parent Page & Child Page
- Counting number of posts in multiple (sub)categories using shortcode
- Need help for some PHP code
- Woocommerce display orders with products from specific categories to specific admins
- $_POST returning empty values
- How to send custom form submissions to WordPress Database?
- Copying and pasting to WordPress “code editor” code via the front end and clipboard
- How to preload header logo image in WordPress? like what’s the code and where do I put it?
- I want it to detect the duplicate comment and give a warning on the same page
- PHP multiple forms, same page, isset($_POST[]) not working?
- “Class Not Found” in HTML Form Target PHP File that contains the class
- How to put 2 php codes in functions.php without site crashing
- Store user form submitted information in post type
- Implement jQuery Smart wizard
- How do I stop my form from adding code to current page URL instead of re-directing. Been stuck for days
- Updating the database after parsing CSV document
- custom search query database in child theme
- Using transients to store form notifications
- admin-ajax.php 400 bad request – whats wrong with my code?
- wordpress form action page not found
- If input field has value Require another field – PHP
- Form direction to .php on localhost
- Form not working as it should in WordPress, but in a normal HTML site it does
- Submitting my form to the database and then redirecting to payment site
- Ajax call URL 404’ing when pushed to staging server
- Update only some custom user fields
- Post from front end form to post_meta
- Accessing values entered via form – try again
- Nonce fail after second submit attempt
- Dynamic form variables for post meta
- Headers for Contact Form are wrong
- Blog only showing code
- Using Nonce for my Form
- why is markup routinely placed in functions in wordpress?
- Themes with variable width or single columns? I want to display source code
- Open all external links in new window – need help with the code
- Data inserted in database, but ajax calls error function
- upload images on front by user using form
- How to pass username into form that sends data to database
- HOW TO Insert Existing PHP Code to WOrdPress
- How to get the Woocoomerce subtotal value without tax in the hardcode? [closed]
- Dynamically added text at bottom of article – non searchable by PHP code
- Custom form that stores data in mysql database
- Putting form result in my database