Title: modifying single.php using a child theme
Last modified: August 20, 2016

---

# modifying single.php using a child theme

 *  Resolved [JLcoco](https://wordpress.org/support/users/jlcoco/)
 * (@jlcoco)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/modifying-singlephp-using-a-child-theme/)
 * hello,
    I have searched about this for a long time but cant seem to find an answer…
   I have tried copying the single.php to the child theme folder n then make the
   changes but it doesn’t work, in the sense the that the modifications work but
   i am getting errors like (Warning: include(topAd.php) [function.include]: failed
   to open stream: No such file or directory in….) n its all over the page !!!… 
   Can someone tell me the correct way to modify next_post_link() in the single.
   php using a child theme ??? plz help …..

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/modifying-singlephp-using-a-child-theme/#post-3053035)
 * It very much depends upon the parent theme. Where did you download the parent
   theme from?
 *  Thread Starter [JLcoco](https://wordpress.org/support/users/jlcoco/)
 * (@jlcoco)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/modifying-singlephp-using-a-child-theme/#post-3053040)
 * The parent theme is Socrates theme….
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/modifying-singlephp-using-a-child-theme/#post-3053049)
 * I’m sorry but as you are using a commercial theme, you need to seek support from
   the theme’s vendors.
 *  Thread Starter [JLcoco](https://wordpress.org/support/users/jlcoco/)
 * (@jlcoco)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/modifying-singlephp-using-a-child-theme/#post-3053067)
 * thank u very much for replying … 🙂 i will ask the vendors ….

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘modifying single.php using a child theme’ is closed to new replies.

## Tags

 * [next_post_link](https://wordpress.org/support/topic-tag/next_post_link/)

 * 4 replies
 * 2 participants
 * Last reply from: [JLcoco](https://wordpress.org/support/users/jlcoco/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/modifying-singlephp-using-a-child-theme/#post-3053067)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
