delete this? – post made in error
-
delete – question made by mistake – I entered the shortcode without using the shortcode [box]. Using the shortcode box fixed it.
===========
Pasting link without shortcode works. Shortcode doesn’t work for me. You?
I know the plugin author wrote extensive documentation and after years of support has stopped providing support. For anyone else:
When I enter the shortcode into the block editor, the resulting webpage shows the shortcode, not the spreadsheet.
When I just paste the link to the spreadsheet, the plugin automatically makes it appear properly. That’s great, except that I want to make changes to how it’s displayed, and those changes require either editing the shortcode or the ability to add javascript to my theme.
I tried adding the javascript (written by the plugin’s author) on my theme’s page.php file, but that didn’t work. (The javascript appeared as text.)The shortcode I used was
[gdoc key="https://docs.google.com/spreadsheets/d/1QtUoDMdU2AI7IMPQwoUOpzOnXwjgL5LrTXBa1-5P1lo/edit#gid=287180896" datatables_paging="false"]
.The javascript I entered was:
jQuery(window).load(function () { jQuery('#igsv-MY_TABLE_KEY').dataTable().api().page.len(-1).draw(); });
The Google sheet is shared with “Anyone who has the link”.
Does using the shortcode still work for you, or did WordPress make a change that prevents it from working?
Anyone know how I can make this work?
Thanks
- This topic was modified 1 year, 11 months ago by .
- This topic was modified 1 year, 11 months ago by .
- This topic was modified 1 year, 11 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘delete this? – post made in error’ is closed to new replies.