Only a part of array is stored in transient – what could be causing this?
You are using get_the_id() template tag without proper loop. Your code should be something like this <?php // Get any existing copy of our transient data $suggest = get_transient(‘suggest’); if ( false === ( $suggest = get_transient( ‘suggest’ ) ) ) { // It wasn’t there, so regenerate the data and save the transient $suggest … Read more