Embed specific category posts into a stand-alone HTML
-
Hi
I want to create an HTML page that pulled in content of a specific category from my wordpress blog… The practicality is to have a page with my Unity embedded game at the top, and the rest of the page will be a selection of posts pulled from a specific category from my WP blog (www.tuism.com).
I can’t simply embed the Unity game into the wordpress site because the layout doesn’t fit – the game is much wider than the content area.
How do I go about pulling content (including formatting) into a html page?
(My experience in web code is minimal, unfortunately)
I could also perhaps create a page in wordpress where I embed the Unity game in a section above where my actual wordpress site starts. Is that possible?
Thanks guys!
-
I can’t simply embed the Unity game into the wordpress site because the layout doesn’t fit – the game is much wider than the content area.
Why not create a custom template for that page or modify your theme?
http://codex.wordpress.org/Page_Templates#Custom_Page_Template
You should use a child theme for this:
Thanks for this info and the links, I’ll look into it! I’m not ofey with the php and those codes so if there are more specific instructions I’d appreciate it very much…
My template that I use has a fixed width, and I want to insert my embed content on top of the content so that it’s not stuck in the fixed width – essentially moving all the content of the site down below an empty and unstyled html bit which I can do as I like.
The theme I’m using is Confit and my site is http://www.tuism.com…
Seems like you’d want a separate page for that – otherwise your main page is going to be really big and likely load very slowly. The links above explain how to set up the child theme – which would be the first step.
Thanks, I’m looking through it… Can you create a page, and have the page use the child theme which is different from the rest of the WP site? Is that what you’re suggesting? I ask because the Child Theme page seems to only describe using it for creating another theme without disrupting the main one, and I don’t want to change my entire WP site’s theme – just for a page, so that I can house the unity embed and still have blog post content of a specific category.
You have to create a new theme, yes. Otherwise your changes will be lost when the theme is updated – not a good situation!
The topic ‘Embed specific category posts into a stand-alone HTML’ is closed to new replies.