User Tools

Site Tools


themes:tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
themes:tutorial [2014/01/07 22:22]
Timbow [Editing]
themes:tutorial [2016/08/22 21:28]
Timbow
Line 229: Line 229:
 **16** We ought to Link to GS with ''<?​php get_site_credits();​ ?>''​ **16** We ought to Link to GS with ''<?​php get_site_credits();​ ?>''​
  
-**17** Some plugins require ''<?​php get_footer();​ ?>''​. It won't have any visible effect.+**17** Some plugins require ''<?​php get_footer();​ ?>''​. It is for scripts, nothing to do with the page footer and it won't have any visible effect. We will put it just before the closing tag </​body>​.
  
 That's it for a basic page That's it for a basic page
Line 236: Line 236:
    <?​php get_site_name();​ ?>    <?​php get_site_name();​ ?>
    © <?php echo date('​Y'​);​ ?> | Design by <a href="​http://​www.html5-templates.co.uk"​ target="​_blank">​HTML5 Templates</​a>​ <?php get_site_credits();​ ?>    © <?php echo date('​Y'​);​ ?> | Design by <a href="​http://​www.html5-templates.co.uk"​ target="​_blank">​HTML5 Templates</​a>​ <?php get_site_credits();​ ?>
-   <?​php get_footer();​ ?> 
 </​footer></​code>​ </​footer></​code>​
   
 <​code></​div>​ <!-- end-of-"​page"​ --></​code>​ <​code></​div>​ <!-- end-of-"​page"​ --></​code>​
   
-<​code></​body>​+<​code> ​  <?php get_footer();​ ?> 
 +</​body>​
   
 </​html> ​ </​html> ​
Line 324: Line 324:
    <?​php get_site_name();​ ?>    <?​php get_site_name();​ ?>
    © <?php echo date('​Y'​);​ ?> | Design by <a href="​http://​www.html5-templates.co.uk"​ target="​_blank">​HTML5 Templates</​a>​ <?php get_site_credits();​ ?>    © <?php echo date('​Y'​);​ ?> | Design by <a href="​http://​www.html5-templates.co.uk"​ target="​_blank">​HTML5 Templates</​a>​ <?php get_site_credits();​ ?>
-   <?​php get_footer();​ ?> 
 </​footer>​ </​footer>​
   
 </​div>​ <!-- end-of-"​page"​ --> </​div>​ <!-- end-of-"​page"​ -->
 +<?php get_footer();​ ?>
   
 </​body>​ </​body>​
Line 342: Line 342:
 ====Finishing Touches==== ====Finishing Touches====
  
-All the theme files go in a folder and the folder name determines the theme name as shown in the GS backend. ''​template.php''​ and any other page templates should be in the theme folder and not in a sub folder. There should be a sub folder called //images// and in that folder a file named ''​screenshot.png''​ which will be the screenshot displayed in the backend when themes are selected. It shouldn'​t be too big; 240px wide is plenty.+All the theme files go in a folder and the folder name determines the theme name as shown in the GS backend. ''​template.php''​ and any other page templates should be in the theme folder and not in a sub folder. There should be a sub folder called //images// and in that folder a file named ''​screenshot.png''​ which will be the screenshot displayed in the backend when themes are selected. It shouldn'​t be too big; 648px wide is the maximum width.
  
 GetSimple'​s wysiwyg editor will display page contents much more accurately if you put in the theme folder a file named ''​editor.css''​ which includes the basic styles for the theme. GetSimple'​s wysiwyg editor will display page contents much more accurately if you put in the theme folder a file named ''​editor.css''​ which includes the basic styles for the theme.
  
  
themes/tutorial.txt · Last modified: 2023/03/21 12:57 by gintoxic