- This topic has 7 replies, 3 voices, and was last updated 3 years, 8 months ago by
Roman.
-
AuthorPosts
-
July 24, 2017 at 6:19 am #354012
Roman
I am experimenting with the blog page header content. Help for imput field says “HTML and shortcodes are allowed”. Then, following code should work, shouldn’t it?
<iframe src=”https://www.youtube.com/embed/5dezYhcir0g?ecver=2″ width=”640″ height=”360″ frameborder=”0″ style=”position:absolute;width:100%;height:100%;left:0″ allowfullscreen></iframe>GP Premium 1.3.1July 24, 2017 at 9:09 am #354097Leo
StaffCustomer SupportHi there,
Just want to make sure that is not inserted in the meta box on the blog page? WordPress ignores all meta box on index pages by default.
If so try using the blog page header in the customizer: https://docs.generatepress.com/article/blog-page-header/
OR even better as you might be interested in the new page header addon: https://vimeo.com/223381628
It should be released soon. Meanwhile you can become a beta tester: https://docs.generatepress.com/article/beta-testing/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/July 24, 2017 at 9:10 am #354098Roman
It is inserted using the blog page header in the customizer.
July 24, 2017 at 9:20 am #354105Leo
StaffCustomer SupportI think your link has some wrong quotation marks. Just tried this and it works:
<iframe width="560" height="315" src="https://www.youtube.com/embed/5dezYhcir0g" frameborder="0" allowfullscreen></iframe>
Looks like some nice skiing by the way π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/July 24, 2017 at 9:32 am #354109Roman
The code with a questionmark was copied from YouTube share window. Anyway, as soon as I paste your code into customizer nothing happens. When I hit publish and close customizer and revert back the whole iframe tage is gone. Other HTML works just fine.
July 24, 2017 at 10:07 am #354124Roman
Offtopic: Leo, just have overlooked your comment about skiing π Thank you. The same video with soundrack is here (YouTube have stripped sound) http://www.dailymotion.com/video/x5rxk6i and ofcourse our web http://telezjetele.cz is all about skiing. Assuming from your gravatar you may be ski adicted as well π
July 25, 2017 at 12:34 am #354422Tom
Lead DeveloperLead DeveloperHmm, interesting. In GPP 1.4, you won’t need to add your blog page header using the Customizer, so this will likely be a non-issue.
You can try the beta by enabling beta updates as Leo mentioned above π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJuly 25, 2017 at 12:40 am #354427Roman
Thank you for beta testing proposal, but I am short of time to investigate, implement and live test beta features. I will wait for GPP 1.4 release.
-
AuthorPosts
- You must be logged in to reply to this topic.