- This topic has 14 replies, 3 voices, and was last updated 5 years, 1 month ago by
Leo.
-
AuthorPosts
-
May 9, 2021 at 9:11 am #1771473
RAJAN
I migrated to new WP hosting and I am not able to find out what plugin or code used to add the HTML file, this is how it was earlier
[include id=”notebooks/time_series_eda_forecast.html”]Now I am trying to find out whether any new feature available to add the external HTML file eg:Elements. I have converted Jupyter notebook as HTML using nbconvert. I searched the supported topics, but didn’t find my exact requirements.
I tried embedding GIST but I don’t like the scrollbars due to IFRAME.
https://www.cognoesis.com/2018/02/13/time-series-data-exploratory-data-analysis-forecast/I am using GP Premium 2.0.2
May 9, 2021 at 10:13 am #1771546Leo
StaffCustomer SupportHi there,
Not sure if I fully understand. Are there any instructions on how to implement that code?
How would you implement it in a Twenty series WP theme? It should be the exact same method using GeneratePress.
May 9, 2021 at 3:57 pm #1771766RAJAN
Hi Leo,
I have been using GP premium earlier as well. It was GP 1.x version.
What’s your recommendation to embed external HTML file into the posts?
Thanks
May 9, 2021 at 4:00 pm #1771767Leo
StaffCustomer SupportHow did you add it before and where are you trying to add it within posts?
May 9, 2021 at 6:28 pm #1771848RAJAN
I uploaded the HTML files and refer it using shortcode [include id=<src path>]
I don’t remember whether it was GP feature or plugin or some code added. I have the full back up of the old hosting, but i am not able to find out how is it being done.
May 9, 2021 at 7:10 pm #1771875Elvin
StaffCustomer SupportI uploaded the HTML files and refer it using shortcode [include id=<src path>]
I don’t remember whether it was GP feature or plugin or some code added. I have the full back up of the old hosting, but i am not able to find out how is it being done.
The shortcode definitely isn’t from GP. It’s likely something from a plugin or a custom snippet.
Check your functions.php or code snippets or plugins for any
add_shortcodecodes.Or disable your plugins 1 by 1 to see which breaks it.
May 10, 2021 at 6:06 am #1772562RAJAN
Thanks Elvin. I will check that. It was 2017 when i started the blog, i would like to know if you have any other recommendation for embedding external HTML file in the posts now.
May 10, 2021 at 8:57 am #1772986RAJAN
I missed out one more point, I don’t have the full working backup from the old hosting. I took the backup of only the source and missed the db backup. I am not able to find out “add_shortcode” in the functions.php as well. So I am trying to see whether there is any better way to embed external HTML file in the posts.
May 10, 2021 at 9:07 am #1773004Leo
StaffCustomer SupportA shortcode would need its own function in order to work.
Without that function, I’m not really sure what we can do to help here.
Perhaps you can check with Jupyter Notebook’s support team first?
May 10, 2021 at 11:55 am #1773185RAJAN
Is there any solution available to embed external file in posts using wordpress feature or GP?
May 10, 2021 at 12:00 pm #1773194Leo
StaffCustomer SupportNothing built-in in GP.
The posts and pages functionalities are handled by WordPress entirely.
I Googled “embed external file wordpress” and saw some discussions so that might be a good place to start?
Or you can check with Jupyter Notebook’s support team to see how you can implement their content in a WordPress environment.
May 10, 2021 at 12:04 pm #1773202RAJAN
I tried various solutions before I post the query here. Thanks anyway!
May 10, 2021 at 12:05 pm #1773203Leo
StaffCustomer SupportNo problem 🙂
May 11, 2021 at 2:07 pm #1774929RAJAN
Those who are having this requirement can use this plugin https://wordpress.org/plugins/include-me/ It works for embedding external HTML file to the posts.
May 11, 2021 at 3:44 pm #1774989Leo
StaffCustomer SupportGlad you’ve found a solution and thanks for sharing!
-
AuthorPosts
- You must be logged in to reply to this topic.