Title: Jem Turner's Replies | WordPress.org

---

# Jem Turner

  [  ](https://wordpress.org/support/users/jemmie/)

 *   [Profile](https://wordpress.org/support/users/jemmie/)
 *   [Topics Started](https://wordpress.org/support/users/jemmie/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jemmie/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jemmie/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jemmie/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jemmie/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jemmie/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] Cannot get it to work!](https://wordpress.org/support/topic/cannot-get-it-to-work-12/)
 *  [Jem Turner](https://wordpress.org/support/users/jemmie/)
 * (@jemmie)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/cannot-get-it-to-work-12/#post-8366574)
 * The ‘ and ] are the wrong way round; try:
 * `<?php echo do_shortcode('[ajax_load_more]'); ?>`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Fix Category Count] Getting Parse Error – Unexpected EOF](https://wordpress.org/support/topic/getting-parse-error-unexpected-eof/)
 *  [Jem Turner](https://wordpress.org/support/users/jemmie/)
 * (@jemmie)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/getting-parse-error-unexpected-eof/#post-8159104)
 * Having the same problem, WP4.6
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [querying and displaying post meta data multidementional array](https://wordpress.org/support/topic/querying-and-displaying-post-meta-data-multidementional-array/)
 *  [Jem Turner](https://wordpress.org/support/users/jemmie/)
 * (@jemmie)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/querying-and-displaying-post-meta-data-multidementional-array/#post-4671089)
 * get_post_meta unserialises the data for you – you don’t need to directly query
   the database (and you’re misusing wpdb->prepare)
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [querying and displaying post meta data multidementional array](https://wordpress.org/support/topic/querying-and-displaying-post-meta-data-multidementional-array/)
 *  [Jem Turner](https://wordpress.org/support/users/jemmie/)
 * (@jemmie)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/querying-and-displaying-post-meta-data-multidementional-array/#post-4671040)
 * The example code you’re using from the get_post_meta page should be used inside
   a loop (foreach, while, for etc are typically used for this); because you’re 
   pulling an array out with get_post_meta, if you try and echo that without a loop
   all you would typically see is ‘Array’.
 * Try something like:
 *     ```
       $hours = get_post_meta( get_the_ID(), '_wppl_days_hours', true);
       foreach( $hours as $opening ) {
           echo $opening['days'] .': '. $opening['hours'] .'<br>';
       }
       ```
   
 * This should pull your multidimensional array into $hours. We can then loop over
   $hours, assigning each inner array to $opening where we can then access the day
   and hours by their named key.
 * (Untested.)
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [So far 2.7 is one giant huge headache.](https://wordpress.org/support/topic/so-far-27-is-one-giant-huge-headache/)
 *  [Jem Turner](https://wordpress.org/support/users/jemmie/)
 * (@jemmie)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/so-far-27-is-one-giant-huge-headache/#post-926649)
 * Count me in as another with one big headache.
 * Did the upgrade last night, found several fatal errors in the admin panel but
   didn’t have the time or patience to look at it, so went to bed. This morning,
   I realise the true extent of the problem… fatal errors rending 90% of the admin
   panel unusable.
 * So, I take a database back-up, delete everything and do another upgrade. Fixes
   the fatal errors, but now commenting doesn’t work. Or rather, people can try 
   and post a comment and it *occasionally* goes through but 9 times out of 10 gives
   a 404 and sends me this blank email:
 * > A new comment on the post # “” is waiting for your approval
   > Author : (IP: , )
   >  E-mail : URL : Whois : [http://ws.arin.net/cgi-bin/whois.pl?queryinput=](http://ws.arin.net/cgi-bin/whois.pl?queryinput=)
   > Comment:
   > Approve it: [http://www.jemjabella.co.uk/wp-admin/comment.php?action=mac&c=0](http://www.jemjabella.co.uk/wp-admin/comment.php?action=mac&c=0)
   > 
   > Delete it: [http://www.jemjabella.co.uk/wp-admin/comment.php?action=cdc&c=0](http://www.jemjabella.co.uk/wp-admin/comment.php?action=cdc&c=0)
   > Spam it: [http://www.jemjabella.co.uk/wp-admin/comment.php?action=cdc&dt=spam&c=0](http://www.jemjabella.co.uk/wp-admin/comment.php?action=cdc&dt=spam&c=0)
   > Currently 0 comments are waiting for approval. Please visit the moderation 
   > panel: [http://www.jemjabella.co.uk/wp-admin/edit-comments.php?comment_status=moderated](http://www.jemjabella.co.uk/wp-admin/edit-comments.php?comment_status=moderated)
 * I wish I’d stuck with the last version. You can see the full extent of my problems
   at jemjabella.co.uk, although I warn you in advance that there is profanity.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [the_content and next_posts_link did not work with query_posts](https://wordpress.org/support/topic/the_content-and-next_posts_link-did-not-work-with-query_posts/)
 *  [Jem Turner](https://wordpress.org/support/users/jemmie/)
 * (@jemmie)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/the_content-and-next_posts_link-did-not-work-with-query_posts/#post-717523)
 * I was having a similar problem – I am using query_posts() to display all but 
   one category on my main page, and this was causing my next_posts_link() and previous_posts_link()
   functions to break.
 * The solution posted here fixed the problem:
    [http://wordpress.org/support/topic/57912#post-312858](http://wordpress.org/support/topic/57912#post-312858)
 * Note however that my $paged/query_posts() is BEFORE the “if (have_posts()) :”
   line.
 * (I am running 2.5)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pages to be edited by all users](https://wordpress.org/support/topic/pages-to-be-edited-by-all-users/)
 *  Thread Starter [Jem Turner](https://wordpress.org/support/users/jemmie/)
 * (@jemmie)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/pages-to-be-edited-by-all-users/#post-153149)
 * Thanks. The user_levels page tells me other users can only only manage pages 
   created by themselves or those with a lower level. Because I’m admin (therefore
   10).. they can’t edit them. I guess I can just create a ‘spare’ account with 
   a lower user level to add the pages.
 * Thanks btw. 🙂 I did check the codex – obviously missed those pages. D’oh!

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