Slider in external HTML for startup
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Hi,
We use the graphene theme for our organisation intranet. This because it’s highly customizable and has the slider with the latest news.
This slider i’d like to use in an external HTML/PHP file so we can show this after employees login on their pc. Would this work and where can I find the piece of PHPcode which defines this slider HTML output?
Thanks!
Martin
You cannot simply extract the relevant PHP codes and have it produce the slider’s HTML. That’s because the slider requires WordPress in order to determine which posts/pages to display, and to get the associated images for those posts/pages.
What you can do though is extract the slider HTML that has already been generated, and copy that into a separate HTML file. You’ll need the slider HTML plus the slider javascript, as well as the theme’s style.css file.
An alternative would be to load the entire WordPress system from the external PHP file. You can find a tutorial about this here: http://www.corvidworks.com/articles/wordpress-content-on-other-pages
This free Support Forum relies on contributions from our support staffs and fellow Graphene themes users. While we endeavour to provide adequate and timely support, due to its voluntary nature responses are not guaranteed and may be delayed.
If you require urgent assistance, you may like to consider our Priority Support option.
Made with by Graphene Themes.