Main menu

Pages settings

Pages settings of GavernWP allow to specify basic parameters connected with page’s display:

meetgavernwp-pages

  • Display details on pages option switches display of the page information block for each page content item,

  • Display Author Info on pages option enables/disables display of the author information block for each page content item,

  • Display comments on pages option switches display of the comments block for each page content item,

  • Display sidebar information on the attachment page – you can disable or enable showing the sidebar with additional information on the attachment page,

  • Contact e-mail – specifies e-mail used on the Contact page template,

  • Use reCAPTCHA on contact page – you can enable or disable using of reCAPTCHA on the contact page,

  • reCAPTCHA public key – to enter the public key to use on your domain,

  • reCAPTCHA private key – to enter the private key to use on your domain.

Available Filters

List of Filters available in MeetGavernWP Theme

For theme parts:

  • gavern_thumbnail_caption (you can change captions of thumbnails)

For social links (Every social link can be changed by filter):

  • gk_social_fb_link
  • gk_social_gplus_link
  • gk_social_twitter_link
  • gk_social_rss_link

For the title:

  • gavern_blog_name
  • gavern_blog_desc

For the Theme logo:

  • gavern_logo_html

For metatags:

  • gavern_meta_description
  • gavern_meta_keywords

For Open Graph tags:

  • gavern_og_title
  • gavern_og_image
  • gavern_og_type
  • gavern_og_description
  • gavern_og_url
  • gavern_og_custom

For the breadcrumb (e.g. to change “Meet Gavern WP” to “Home” in breadcrumb):

  • gavern_breadcrumb
  • gavern_breadcrumb_home

For the GK News Show Pro widget

  • gk_nsp_art_title
  • gk_nsp_art_text
  • gk_nsp_art_image
  • gk_nsp_art_info
  • gk_nsp_art_readmore
  • gk_nsp_link_title
  • gk_nsp_link_text

For the GK Tabs widget

  • gk_tabs_tab
  • gk_tabs_content

For example, to change “Meet Gavern WP” to “Home” in breadcrumb use following filter:

function my_breadcrumb_home( $home ) {
return 'Home';
}
add_filter('gavern_breadcrumb_home', 'my_breadcrumb_home');

Available Hooks

Hooks allows to “hook” a custom function to an existing function, which allows you to modify WordPress’ functionality without editing core files. Modifying these files may create a security loophole and you will have lost the modification when you upgrade your WordPress installation, so we strongly recommend using hooks.

List of hooks available in MeetGavernWP Theme:

Hooks connected with the document:

  • gavernwp_doctype
  • gavernwp_html_attributes
  • gavernwp_title
  • gavernwp_metatags
  • gavernwp_fonts
  • gavernwp_ie_scripts
  • gavernwp_head
  • gavernwp_body_attributes
  • gavernwp_footer
  • gavernwp_ga_code

Hooks connected with the content:

  • gavernwp_before_mainbody
  • gavernwp_after_mainbody
  • gavernwp_before_loop
  • gavernwp_after_loop
  • gavernwp_before_nav
  • gavernwp_after_nav
  • gavernwp_before_post_content
  • gavernwp_after_post_content
  • gavernwp_before_column
  • gavernwp_after_column
  • gavernwp_before_sidebar
  • gavernwp_after_sidebar

Hooks connected with comments:

  • gavernwp_before_comments_count
  • gavernwp_after_comments_count
  • gavernwp_before_comments_list
  • gavernwp_after_comments_list
  • gavernwp_before_comment
  • gavernwp_after_comment
  • gavernwp_before_comments_form
  • gavernwp_after_comments_form

Child Themes

Since version 1.6 you can fully use the Child Themes feature.

The implementation of the Child Themes support is strictly connected with two functions:

  • gavern_file_uri – returns the URI to the specific file relative to the root of the theme directory
  • gavern_file_path – returns the absolute path to the specifi file relative to the root of the theme directory

Both functions accepts the false as an argument – then these functions returns the URI/path to the specific theme directory.

IMPORTANT! Please remember to don’t use the slash at the start of the path to file.

In example:

gavern_file_uri('images/abc.png');

will return: http://yourdomain.com/wp-content/themes/MeetGavernWP/images/abc.png

and using the false argument:

gavern_file_uri(false);

will return: http://yourdomain.com/wp-content/themes/MeetGavernWP/

So now you can override every file in your Child Theme. Please remember about some specific dependicies.

I.e. you can copy the template.css file and change it, but then you will have to also import to your Child Theme the images directory, because the theme will use the CSS from the Child Theme’s directory so the CSS file will link to the images directory in the Child Theme’s directory.

Responsive table example

Responsive tables in Meet GavernWP needs to have proper structure with the thead and tbody elements – then our script will prepare tha table for correct display on the mobile devices with smaller screens (under 600px).

Lorem Ipsum Dolor Sit Pharetra Sem Tortor Amet
Nulla vitae elit libero a pharetra augue Aenean lacinia bibendum nulla sed consectetur
Praesent commodo cursus magna vel scelerisque nisl consectetur et. Etiam porta sem. malesuada magna mollis euismod
Nulla vitae elit libero a pharetra augue Aenean lacinia bibendum nulla sed consectetur
Praesent commodo cursus magna vel scelerisque nisl consectetur et. Etiam porta sem. malesuada magna mollis euismod

Image Post

This is an example of the Image Post Format:

Web Responsive Design

Web Responsive Design is fully supported by the GavernWP Framework

Aside Post

This is an example of the Aside Post Format, which can be used to show less important posts.

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Sed posuere consectetur est at lobortis. Nullam id dolor id nibh ultricies vehicula ut id elit. Curabitur blandit tempus porttitor.

Quote Post

This is an example of the Quote Post Format:

Thank you for the great customer service! I appreciated that you had someone to help me, even though it was 2:45 a.m. where I am.

Amanda Turner

Weblinks

Hot links

Freebies

Important

Share

Lorem ipsum

FacebookTwitterGoogle+RSS