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
- What is the meaning of %s, %1$s etc.? [closed]
- How to stop form resubmission on page refresh
- Include WP_Query in my own PHP file?
- How to correctly submit a search form and display the result in an independent page
- add_filter the_content str_replace after shortcode
- Genesis – Customize search form
- Metabox repeating fields – radio buttons not saving correctly
- How to exclude pages from the search results
- How to insert PHP code in a WordPress Post
- Inserting Gravity Form checkbox values into Advanced Custom Fields [closed]
- How to handle a custom form in wordpress to submit to another page?
- Handling error states with admin_post
- Creating wordpress user registration form
- Copyright info change in Theme Child PHP
- Creating a WordPress form with a PHP script and default header
- Add footer.php to WordPress child theme
- On update to 3.04 site started recording accents as “á” and “á”, what to do?
- 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
- Submitting form via admin-post.php and handling errors
- 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?
- Custom WordPress+PHP+MYSQL+AJAX form, submit event not captured by Javascript, but does POST data to the DB
- Passing POST data from one WP post to another
- How do i get (unique) page name?
- Getting the dropdown menu to redirect to different pages?
- Processing a subscription form with POST method?
- How to display posts of specific category using a custom Query in WordPress?
- How to group 2 radio buttons in a widget?
- 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)?
- The custom logo, site title, and description doesn’t appear at the same time
- Upload Image in a WordPress page using PHP
- Using Multiple Submit buttons to trigger customised php functions
- Get Admin Email Address From External PHP page
- stats_get_csv (WordPress Stats) to only display top posts (not pages)
- Adding Custom Forms
- How do I let users upload files to a chosen location?
- woocommerce registration form with klaviyo(don’t work with current user)
- Hide wordpress field if data is empty in post!
- How to get the POST TITLE using the POST ID?
- How to create a form and display its content as table in admin panel?
- 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
- Cause of Blank Lines Being Added to WP FIles?
- How can I reuse the code to capture a param in a URL and place in a value in a hidden form?
- WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
- How to save checkbox values for logged in users?
- How to store data from multiple forms using ajax and php
- How to use $query->set with post__in?
- Ajax loaded form replaces form action with Ajax url
- prevent default not stopping page refresh. Passing form information to and from php with ajax in a wordpress site
- How to limit the number of forgot password reset attempts in WordPress?
- Custom search results page not working with empty search
- Modify HTML structure of fields in woocommerce checkout form
- Post + form + action + results on the same page
- Ajax call return 404
- How to pre populate a form field with a link of a current user’s author profile?
- 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?
- Show success or error messages in Ajax response to WordPress custom registration form
- Styling my own password protected page, how to deal with wrong password?
- Contact form won’t submit
- wp_mail file attachment not being placed in upload folder?
- Search Query: how to construct a search string from two select elements?
- Login to wordpress by clicking a link and specifying usernaname and password in url
- Databases – Submitting data from inputs to database [closed]
- Insert custom PHP head above in WP pages
- How to show a ‘correct’ message after submit a form?
- db converts decimal number wrong
- Form Security: nonce vs. jQuery
- WordPress admin-ajax.php 400 bad request
- Log in / Log Out Custom Button
- How to do a code in php and have text before it? [closed]
- Ajax contact form return 0
- Trying do build a contact form
- “operation successful” message
- PHP nested If statement syntax
- User register hook is not working in woocomerce register form
- Search WordPress using static html page
- Display Data in Table from External Database in WP using Shortcodes
- How to execute html code inside php?
- How to put a form with php code into a variable or shortcode?
- Can a page contain php code?
- How to send form data from WordPress (Meta Box) to an OData service?
- How to Configure Events List in WordPress to Disappear Event Once Date is Past
- Code snippet to show current php version inside “At a Glance” box in admin
- What is the alternative code to if (isset ($_POST) && !empty ($_POST) to avoid warnings?
- 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)