gri2a
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Best Commerce] Can’t change ProductRowIn many themes there is an option under customise>woocommerce to change the number of products and columns per page. Not in Best Commerce.
These settings are hard coded in >theme>includes>support>woocommerce.php under the heading of – function default_options($input)
Its not pretty…actually its very ugly, but altering these numbers will get you the result you want.
If the developers were to include these under “customise” rather than having them hard coded, Best Commerce would be a much better themeForum: Fixing WordPress
In reply to: PDFs-Native Browser Rendering is too slowJoy,
Thank you for your response. I have hundreds of PDFs and wont be manually entering thumbnails and URLs.
Thats why I want to modify the load method of new_window so that any and all PDFs will load with a nominated PDF loader, rather than the one in the user’s browser
GRI2AForum: Fixing WordPress
In reply to: PDFs-Native Browser Rendering is too slowSteven,
Thanks for your reply. Ive looked at the pdfjs viewer shortcode plugin. Unfortunately it (and all other PDFview plugins) embed the view in a page for all PDFs. I want to thumbnail PDFS and ONLY call PDFjs to open the selected PDF.
The prob with most PDF plugins is the fall into 2 classes. Those that have good rendering capabilities also embed the PDFs, which means they are slow to load pages and fast to render the individual PDFs. The second type typically thumbnail the PDFs and then leave the rendering to the browser being used which are usually pretty ordinary.
I will keep looking
GRI2AForum: Plugins
In reply to: [Document Gallery] Custom URLHi Dan,
I am in the same situation… the rendering within some browsers is killing the load time of PDFs and in some instances they just download (then open) eg. Chrome on Android.
Youve recently added a new feature of “new_window – Open thumbnail links in new window”. What Im after the the location of the code that builds that new window URL.
Im using a renderer called pdf.js which is GREAT, but I need to convert the URL from https://mysite.com/wp-content/uploads/2018/09/document.pdf
to /pdfjs/web/viewer.php?file=https://mysite.com/wp-content/uploads/2018/09/document.pdf
Your product is a 4 1/2 stars but would be a 5+ with a decent renderer
Your quick response would be greatly appreciated
GRI2A