Download the PHP package getolympus/olympus-dionysos-field-header without Composer
On this page you can find all versions of the php package getolympus/olympus-dionysos-field-header. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download getolympus/olympus-dionysos-field-header
More information about getolympus/olympus-dionysos-field-header
Files in getolympus/olympus-dionysos-field-header
Download getolympus/olympus-dionysos-field-header
More information about getolympus/olympus-dionysos-field-header
Files in getolympus/olympus-dionysos-field-header
Vendor getolympus
Package olympus-dionysos-field-header
Short Description Header field, this component is a part of the Olympus Dionysos fields.
License MIT
Homepage https://github.com/GetOlympus/olympus-dionysos-field-header
Package olympus-dionysos-field-header
Short Description Header field, this component is a part of the Olympus Dionysos fields.
License MIT
Homepage https://github.com/GetOlympus/olympus-dionysos-field-header
Please rate this library. Is it a good library?
Informations about the package olympus-dionysos-field-header
Dionysos Header Field
This component is a part of the Olympus Dionysos fields for WordPress.
Table of contents
Contributing
Field initialization
Use the following lines to add a header field
in your WordPress admin pages or custom post type meta fields:
Variables definitions
Variable | Type | Default value if not set | Accepted values |
---|---|---|---|
title |
String | 'Header' |
empty |
default |
Array | empty | empty |
description |
String | empty | empty |
mode |
String | top |
see Accepted modes |
Texts definition
Code | Default value | Definition |
---|---|---|
t_align_left |
Left | Left align option |
t_align_center |
Center | Center align option |
t_align_right |
Right | Right align option |
t_align_expand |
Expand | Expand align option |
t_header_overall |
Overall header | Overall header's title |
t_header_main |
Main header | Main header's title |
t_header_secondary |
Secondary header | Secondary header's title |
t_logo_no_display |
Hide website's baseline | Hide slogan option |
t_logo_display |
Display website's baseline | Display slogan option |
t_navs_label |
Navigation menus | Navs' selectbox title |
t_search_label |
Search displays | Searchs' selectbox title |
t_search_default |
Default | Default search option |
t_search_drop |
Drop | Drop search option |
t_search_dropdown |
Dropdown | Dropdown search option |
t_search_modal |
Modal | Modal search option |
t_search_overlay |
Overlay | Overlay search option |
t_text_default |
Call us today! 1.555.555.555 | Default custom text field value |
t_type_label |
Choose a content type | Types' selectbox title |
t_type_logo |
Website's logo | Logo type option |
t_type_nav |
Navigation menu | Nav type option |
t_type_search |
Search form | Search type option |
t_type_text |
Custom text field | Text type option |
t_addblock_label |
Click on the button to add content | Add button label |
t_editblock_label |
Click on the button to edit content | Edit button label |
t_removeblock_label |
Remove | Remove button label |
t_updateblock_label |
Update | Update button label |
Accepted modes
top
to display headers as default displayleft
to display headers as left side navright
to display headers as right side nav
Retrive data
Retrieve your value from Database with a simple get_option('my_header_field_id', [])
(see WordPress reference):
Release history
Version | Note |
---|---|
0.0.2 | Update CSS and languages |
0.0.1 | Initial commit |
Contributing
- Fork it (https://github.com/GetOlympus/olympus-dionysos-field-header/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
Built with ♥ by Achraf Chouk ~ (c) since a long time.
All versions of olympus-dionysos-field-header with dependencies
PHP Build Version
Package Version
No informations.
The package getolympus/olympus-dionysos-field-header contains the following files
Loading the files please wait ....