Title: Bug on multiple include
Last modified: August 30, 2016

---

# Bug on multiple include

 *  Resolved [isundil](https://wordpress.org/support/users/isundil/)
 * (@isundil)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/bug-on-multiple-include/)
 * Hello, I have the case where I have to do multiple include, such as :
 *     ```
       Page A: [include page B]
       Page B: [include page C]
       Page C: [include page D]
       ...
       ```
   
 * I had a bug with displaying the title of the “next page’s” title, it was always
   displaying the “Page A” title.
 * to fix it, I replaced around line 107
    `get_the_title()` by `get_the_title($id)`
 * Everything else is working fine, thank you
 * [https://wordpress.org/plugins/include/](https://wordpress.org/plugins/include/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Michael Flynn](https://wordpress.org/support/users/mflynn/)
 * (@mflynn)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/bug-on-multiple-include/#post-6286641)
 * Thanks for the bug report and a super big thanks for doing the work for me. I
   have thanked you in the comments and submitted a new version.

Viewing 1 replies (of 1 total)

The topic ‘Bug on multiple include’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/include.svg)
 * [Include](https://wordpress.org/plugins/include/)
 * [Support Threads](https://wordpress.org/support/plugin/include/)
 * [Active Topics](https://wordpress.org/support/plugin/include/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/include/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/include/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Flynn](https://wordpress.org/support/users/mflynn/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/bug-on-multiple-include/#post-6286641)
 * Status: resolved