For example, if you want to override the “single-itineraries.php” file then please follow below-given steps.
Step 1: Create the child theme of your current theme.
Step 2: Create the folder “wp-travel” in the child theme.
Step 3: Create the file “single-itineraries.php” within the folder “wp-travel” .
Step 4: Edit the code inside the file “single-itineraries.php” as per your requirement.