Specific Folder not Loading
-
I have a site set up with several pages linking to individual Google Drive folders. All of them are using identical code and settings, both for the WordPress pages and for the Google Drive settings.
We include a direct link to the google drive folder as well as the shortcode version with a header and the items in it shown with preview on.
The materials in this section?can also be found in <a title="Google Drive" href="https://drive.google.com/folderview?id={folderID}&usp=sharing" target="_blank">Google Drive</a>. [gdocs fid="{identical folderID}" title="Google Drive Materials" preview=true maxdepth=1]
So there shouldn’t be anything causing any of these pages to not display – they’re also all using the same default template, so there shouldn’t be any stray CSS conflicts or something like that creating trouble.
But for one of the pages, the title loads from the shortcode but the list of documents doesn’t.
On a working page, when I do “inspect code”, I get something like this:
<table class="doc-table"> <tbody> <tr> <td><a href="https://docs.google.com/document/d/{docID}/edit?usp=drive_web"><img style="height:50px;width:auto;" src="https://lh6.googleusercontent.com/{ImgID}"></a></td><td><a href="https://docs.google.com/document/d/{docID}/edit?usp=drive_web">{DocTitle}</a></td> </tr> <tr> <td><a href="https://docs.google.com/document/d/{docID}/edit?usp=drive_web"><img style="height:50px;width:auto;" src="https://lh3.googleusercontent.com/{ImgID}"></a></td><td><a href="https://docs.google.com/document/d/{docID}/edit?usp=drive_web">Timeline - Memo II 2015</a></td> </tr> </tbody> </table>
On the non-functioning page, this is all I get:
<table class="doc-table"></table>
Any ideas? I’ve replaced direct IDs in the code above because the site is semi-private for someone else (hidden from Google) and I don’t want to change that here – the fact that nothing is drawn from the Google Drive folder but the direct link works fine is what’s confusing me. We’re trying a new folder to get a new ID to work with, but I figured I’d post this here in case it helps anyone else
- The topic ‘Specific Folder not Loading’ is closed to new replies.