- Basic
- text - Text input
- textarea Text area input
- select - Select box
- radio - Radio buttons
- checkbox - Check boxes
- css - Custom CSS textarea
- Dynamic
- category - Select one category
- categories - Select multiple categories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( current_theme_supports( 'infinity-pagination' ) ) | |
{ | |
/** | |
* Add Pagination | |
* | |
* @package Infinity | |
* @subpackage base | |
* @todo write a paginator from scratch, this is mental | |
*/ | |
function infinity_base_paginate() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[infinity-typography-style] | |
type = "default" | |
title = "Typography Styles" | |
description = "The base Typography" | |
style = "assets/css/typography.css" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[my-sidebar-size] | |
section = "sidebar" | |
title = "Sidebar Size" | |
description = "Select a sidebar size" | |
type = "select" | |
default_value = "eleven" | |
field_options[] = "fourteen=15 percent" | |
field_options[] = "thirteen=20 percent" | |
field_options[] = "twelve=25 percent" | |
field_options[] = "eleven=30 precent" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[my-color-picker] | |
type = "colorpicker" | |
title = "Text Color" | |
description = "Choose a text color" | |
style_selector = "body" | |
default_value = "#444" | |
style_property = "color" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[my-text-area] | |
section = "footer" | |
title = "Footer Text" | |
description = "Your footer copyright text" | |
default_value = "Infinity by <a href=http://infinity.presscrew.com>PressCrew</a> and powered by <a href=http://wordpress.org>WordPress</a>." | |
type = "textarea" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[my-custom-css] | |
section = "global" | |
type = "css/custom" | |
title = "Custom CSS" | |
description = "Enter custom CSS markup to fine tune the look of your site" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[my-custom-slider] | |
section = "global" | |
type = "css/length-px" | |
title = "Width" | |
description = "Select the width of the site's content by moving the slider" | |
min = 900 | |
max = 1250 | |
step = 10 | |
style_selector = "#wrapper" | |
style_property = "max-width" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[style] | |
;name stylesheet and location to path relative to theme folder | |
my-custom-css = "assets/css/my-custom-css" | |
[style_conditions] | |
;enqueue this style anywhere except the admin | |
is_not_admin = "my-custom-css" |
OlderNewer