Workshop 24 de Janeiro de 2015

Pages settings of GavernWP allow to specify basic parameters connected with page’s display:
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.
For theme parts:
For social links (Every social link can be changed by filter):
For the title:
For the Theme logo:
For metatags:
For Open Graph tags:
For the breadcrumb (e.g. to change “Meet Gavern WP” to “Home” in breadcrumb):
For the GK News Show Pro widget
For the GK Tabs widget
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');
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.
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:
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 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 |
This post contains an example of the Custom Post Fields.
This is an example of the Image Post Format:
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.