Title: display_sequence fix
Last modified: August 21, 2016

---

# display_sequence fix

 *  [hliljegren](https://wordpress.org/support/users/hliljegren/)
 * (@hliljegren)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/display_sequence-fix/)
 * Hi!
 * I couldn’t get the display_sequence working so I changed the line (98)
 * `$displaySequence = explode(",", $dataFlags["display_sequence"]);`
 * to
 *     ```
       /* Check if we have a supplied display_sequence that should override our default */
       if(isset($args["display_sequence"])) {
           $displaySequence = explode(",", $args["display_sequence"]);
       } else {
           $displaySequence = explode(",", $dataFlags["display_sequence"]);
       }
       ```
   
 * and now it works! But I only peeked into the code so maybe the fix should go 
   somewhere else…
 * [http://wordpress.org/plugins/posts-to-page/](http://wordpress.org/plugins/posts-to-page/)

The topic ‘display_sequence fix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-to-page.svg)
 * [Posts to Page](https://wordpress.org/plugins/posts-to-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-to-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-to-page/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-to-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-to-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-to-page/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [hliljegren](https://wordpress.org/support/users/hliljegren/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/display_sequence-fix/)
 * Status: not resolved