Custom Page Styles in GavernWP themes for WordPress allow for new page layouts

Last Updated:
Category:
Gavern Framework

GavernWP exposes styles specific to subpages. These make it possible to better leverage WordPress features and to adjust pages to selected themes.

Additional subpage styles are placed in a main catalog within template.*.php files.

GavernWP includes the following subpages:

  1. template.archive.php – An archive page which includes a list of recent posts, categories and a list of links to monthly archives.
  2. template.contact.php – A page with a contact form enabling sending a message to an email address specified in the WordPress configuration.
  3. template.fullwidth.php – A page’s layout without a sidebar.
  4. template.gallery.php – A page which generates an animated image gallery, and which includes a function to assign available attachments to a page such that they appear as slides. We recommend selecting identically-sized images.
  5. template.login.php – A page generating a user login form. After logging in, username information is displayed as well as a logout button.
  6. template.latest.php – A page which includes excerpts of latest posts,
  7. template.tagcloud.php – This page generates a tag cloud of the website.

The main CSS styles for subpages are located in the css/stuff.css file. However, subpages may load additional CSS and javascript files from the css/templates/ and js/templates/ folders.

To load additional files, specify the second parameter of a gk_load function (see: code of requesting a gk_load function in a template.gallery.php file).

Custom Page Styles in GavernWP themes for WordPress allow for new page layouts 3.675 (73.33%) 3 votes

This article was first published

Villa Belluci - View our NEW theme
×

Tutorials & tips delivered regularly

Expand your purchase with regular tutorials and tips to making your site better, direct to your email.