Title: RoboPope's Replies | WordPress.org

---

# RoboPope

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Fix Media Library] scan for pdf’s missing from the media library](https://wordpress.org/support/topic/scan-for-pdfs-missing-from-the-media-library/)
 *  Thread Starter [RoboPope](https://wordpress.org/support/users/robopope/)
 * (@robopope)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/scan-for-pdfs-missing-from-the-media-library/#post-10933892)
 * I hadn’t noticed it listed them when I logged unreferenced images, thank you 
   this has helped with my problem. I thought I wanted to be able to write pdf files
   that exist back in to the media library referenced or otherwise.
 * It is clear that my understanding of the date column in the media library is 
   incorrect as it is not the date uploaded but more a last modified field so doesn’t
   necessarily reflect the /uploads/year/month structure which is annoying when 
   it comes to using the media replace tool. It would seem I have to hunt for the
   file name rather then selecting an uploaded date range when looking to multiple
   updates to pdfs all uploaded at the same time but not necessarily then all updated
   at the same time
 * Thanks for getting back to me
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Converting PHP code to shortcode help](https://wordpress.org/support/topic/converting-php-code-to-shortcode-help/)
 *  Thread Starter [RoboPope](https://wordpress.org/support/users/robopope/)
 * (@robopope)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/converting-php-code-to-shortcode-help/#post-7188495)
 * Resolved. I ended up using ob_start(); and return ob_get_clean(); around an ammended
   verison of my code
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Converting PHP code to shortcode help](https://wordpress.org/support/topic/converting-php-code-to-shortcode-help/)
 *  Thread Starter [RoboPope](https://wordpress.org/support/users/robopope/)
 * (@robopope)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/converting-php-code-to-shortcode-help/#post-7188424)
 * lol point taken. Hopefully it has pointed me in the right direction
 * Thank you 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Converting PHP code to shortcode help](https://wordpress.org/support/topic/converting-php-code-to-shortcode-help/)
 *  Thread Starter [RoboPope](https://wordpress.org/support/users/robopope/)
 * (@robopope)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/converting-php-code-to-shortcode-help/#post-7188421)
 * Thanks for the reply. I have tried to test this code in php rather than a short
   code declaration and I get.
 * Parse error: syntax error, unexpected ‘”’ in /homepages/blah/blah/blah/blah/runtime.
   php(42) : eval()’d code on line 16 it seems to be unhappy with the single ” in
   the ‘”>’ part of the statement
    ` foreach($page_links as $link){ $ret .= ‘<li
   ><a>ID).'”>’.$link->post_title.'</a></li>’;
 *  `

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