1 vote

Do Seeded Orderby Rand Queries Benefit from DB Caching?

Looking at the source of class-wp-query.php (ie, the WP_Query code), I find this: /* * Ensure the ID database query is able to be cached. * * Random queries are ...
Pat J's user avatar
  • 11.8k
1 vote

How to generate PDF dynamically based on values from the database in WordPress

Using the FPDF library (found at http://www.fpdf.org) you generate PDFs on the fly using any data from your WP site. function wpse60844_generate_pdf( $post ) { /* Define paths for where the PDF ...
Tony Djukic's user avatar
  • 2,058

Only top scored, non community-wiki answers of a minimum length are eligible