Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter RoboPope

    (@robopope)

    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

    Thread Starter RoboPope

    (@robopope)

    Resolved. I ended up using ob_start(); and return ob_get_clean(); around an ammended verison of my code

    Thread Starter RoboPope

    (@robopope)

    lol point taken. Hopefully it has pointed me in the right direction

    Thank you ??

    Thread Starter RoboPope

    (@robopope)

    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)