lspilcher
Forum Replies Created
-
this was a WP Super Cache problem
sorry bit of a newbie on wordpress – added
'author_name'=>null,
to documents_shortcode default array and everything is great. I’ll end up creating my own local plugin and shortcode to extend wp_document_revisions with these changes – thanks again for you helpI have not been able to make the [documents] shortcode filter by author or author_name. Do you have any ideas/suggestions?
got it – thanks
Works like a champ thanks much – as an aside I’ve made edits to your code to allow for document type (for a town website so things like minutes, policy, ordinance etc) and added it to look and operate exactly like Workflow State – so in terms of style and keeping out of the way of updates to your plugin – how would you recommend keeping those ‘extensions’ separate. The custom taxonomy comes out easily but not the changes required in admin.php to display additional column, drop down meta box, saving the document type etc.
I solved this problem by editing the file minutes-agendas-newsletters/minagnews-parse-uploads.php to add a
at the end of every document listed. Here is the snippet of code<td><?php if ($month_has[$docType]) { $documents_listed_count++; foreach ($this->documents[$docType][$year][$month] as $day=>$filename) { echo $this->interpret($td_content, $filename, $docType, $year, $month, $day); echo '<br>'; } } else { echo ' '; } ?> </td>