Topic: How to port template to theme?
Hi,
Could somebody help me and explain step by step how to port a template to a theme?
Thanks
Best wishes
Carl
You are not logged in. Please login or register.
We had problems with our forum being hacked. From what we can tell, all data is safe, but it forced us to upgrade our PunBB installation. Announcement
GetSimple Support Forum → Themes → How to port template to theme?
Hi,
Could somebody help me and explain step by step how to port a template to a theme?
Thanks
Best wishes
Carl
Carl,
what do you want to know exactly?
Isn't the wiki clear enough? See here:
http://get-simple.info/wiki/themes:creation
The list of template tags will tell you which parts of the template will be created by GS, and you can study the default templates to find out the functionality also
please tell us your questions, we will be glad to assist you
Cheers, Connie
Thank you for quick reply.
Sorry but i not so good at this yet and i not really understand the wiki so that is why i would need a step by step description for dummies.
Let´s say i find a theme and would like to bring it in to GetSimple. How to do so the theme looks exactly the same i GS?
Best wishes
Sorry but i not so good at this yet and i not really understand the wiki so that is why i would need a step by step description for dummies.
Let´s say i find a theme and would like to bring it in to GetSimple. How to do so the theme looks exactly the same i GS?
Create a directory /theme/MyThemeName
Copy all files of the template including subdirectories into this directory
Make sure this directory has a .htaccess file with content Allow from all.
You should now be able to see the original template by directly opening the HTML from explorer (or similar) or entering the URL http://my.server/theme/MyThemeName< … .html
rename the HTML file to template.php
replace <title>...</title> with <title><?php get_page_clean_title(); ?></title>.
assuming the template has a menu in the form <ul...><li>Item 1</li><li>...</li>...</ul>, replace this with <ul...><?php get_navigation(return_page_slug()); ?></ul>.
replace the example content, which should be replaced with the actual page content, with <?php get_page_content(); ?>
Optionally use additional functions like the following instead of the example content of the template:
get_header()
get_footer()
get_component()
(see wiki for more information).
hi,
this is what can be done in 10 minutes
original theme http://www.freecsstemplates.org/previews/nightvision/ #
here the same theme changed to getsimple http://gs.comlu.com/
sure must be applied some changes to have the same look
but in no time you can set up a small site quickly ... no?
of course using the method described by mvlcek
GetSimple Support Forum → Themes → How to port template to theme?
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.