├── .gitignore ├── .jshintrc ├── .travis.yml ├── Gruntfile.js ├── README.md ├── assets ├── css │ ├── sass │ │ └── wp-presenter.scss │ ├── wp-presenter.css │ ├── wp-presenter.css.map │ └── wp-presenter.min.css ├── images │ ├── 1c.png │ ├── 2cl.png │ ├── 2cr.png │ ├── bg-pattern.png │ ├── jquery.fs.stepper-arrows.png │ └── transparency-grid.png └── reveal │ ├── css │ ├── print │ │ ├── paper.css │ │ └── pdf.css │ ├── reveal.css │ ├── reveal.scss │ └── theme │ │ ├── README.md │ │ ├── beige.css │ │ ├── black.css │ │ ├── blood.css │ │ ├── league.css │ │ ├── moon.css │ │ ├── night.css │ │ ├── serif.css │ │ ├── simple.css │ │ ├── sky.css │ │ ├── solarized.css │ │ ├── source │ │ ├── beige.scss │ │ ├── black.scss │ │ ├── blood.scss │ │ ├── league.scss │ │ ├── moon.scss │ │ ├── night.scss │ │ ├── serif.scss │ │ ├── simple.scss │ │ ├── sky.scss │ │ ├── solarized.scss │ │ └── white.scss │ │ ├── template │ │ ├── mixins.scss │ │ ├── settings.scss │ │ └── theme.scss │ │ ├── wc-miami.css │ │ └── white.css │ ├── js │ └── reveal.js │ ├── lib │ ├── css │ │ ├── monokai.css │ │ └── zenburn.css │ ├── font │ │ ├── bubblegum │ │ │ ├── bubblegum.css │ │ │ ├── bubblegum.eot │ │ │ ├── bubblegum.svg │ │ │ ├── bubblegum.ttf │ │ │ ├── bubblegum.woff │ │ │ └── bubblegum.woff2 │ │ ├── dosis │ │ │ ├── dosis.css │ │ │ ├── dosis.eot │ │ │ ├── dosis.svg │ │ │ ├── dosis.ttf │ │ │ ├── dosis.woff │ │ │ └── dosis.woff2 │ │ ├── encode │ │ │ ├── encode.css │ │ │ ├── encode.eot │ │ │ ├── encode.svg │ │ │ ├── encode.ttf │ │ │ ├── encode.woff │ │ │ └── encode.woff2 │ │ ├── lato │ │ │ ├── lato.css │ │ │ ├── lato.eot │ │ │ ├── lato.svg │ │ │ ├── lato.ttf │ │ │ ├── lato.woff │ │ │ └── lato.woff2 │ │ ├── league │ │ │ ├── LICENSE │ │ │ ├── league.css │ │ │ ├── league.eot │ │ │ ├── league.ttf │ │ │ └── league.woff │ │ ├── libre-baskerville │ │ │ ├── libre-baskerville.css │ │ │ ├── libre-baskerville.eot │ │ │ ├── libre-baskerville.svg │ │ │ ├── libre-baskerville.ttf │ │ │ ├── libre-baskerville.woff │ │ │ └── libre-baskerville.woff2 │ │ ├── merriweather │ │ │ ├── merriweather.css │ │ │ ├── merriweather.eot │ │ │ ├── merriweather.svg │ │ │ ├── merriweather.ttf │ │ │ ├── merriweather.woff │ │ │ └── merriweather.woff2 │ │ ├── montserrat │ │ │ ├── montserrat.css │ │ │ ├── montserrat.eot │ │ │ ├── montserrat.svg │ │ │ ├── montserrat.ttf │ │ │ ├── montserrat.woff │ │ │ └── montserrat.woff2 │ │ ├── news-cycle │ │ │ ├── news-cycle.css │ │ │ ├── newscycle.eot │ │ │ ├── newscycle.svg │ │ │ ├── newscycle.ttf │ │ │ ├── newscycle.woff │ │ │ └── newscycle.woff2 │ │ ├── open-sans │ │ │ ├── open-sans.css │ │ │ ├── open-sans.eot │ │ │ ├── open-sans.svg │ │ │ ├── open-sans.ttf │ │ │ ├── open-sans.woff │ │ │ └── open-sans.woff2 │ │ ├── quicksand │ │ │ ├── quicksand.css │ │ │ ├── quicksand.eot │ │ │ ├── quicksand.svg │ │ │ ├── quicksand.ttf │ │ │ ├── quicksand.woff │ │ │ └── quicksand.woff2 │ │ ├── sinkin-sans │ │ │ ├── sinkin-sans.css │ │ │ ├── sinkin-sans.eot │ │ │ ├── sinkin-sans.svg │ │ │ ├── sinkin-sans.ttf │ │ │ └── sinkin-sans.woff │ │ ├── source-sans-pro │ │ │ ├── source-sans-pro.css │ │ │ ├── source-sans-pro.eot │ │ │ ├── source-sans-pro.ttf │ │ │ └── source-sans-pro.woff │ │ └── ubuntu │ │ │ ├── ubuntu.css │ │ │ ├── ubuntu.eot │ │ │ ├── ubuntu.svg │ │ │ ├── ubuntu.ttf │ │ │ ├── ubuntu.woff │ │ │ └── ubuntu.woff2 │ └── js │ │ ├── classList.js │ │ ├── head.min.js │ │ └── html5shiv.js │ └── plugin │ ├── highlight │ └── highlight.js │ ├── leap │ └── leap.js │ ├── markdown │ ├── example.html │ ├── example.md │ ├── markdown.js │ └── marked.js │ ├── math │ └── math.js │ ├── multiplex │ ├── client.js │ ├── index.js │ └── master.js │ ├── notes-server │ ├── client.js │ ├── index.js │ └── notes.html │ ├── notes │ ├── notes.html │ └── notes.js │ ├── print-pdf │ └── print-pdf.js │ ├── prism │ ├── prism.css │ └── prism.js │ ├── remotes │ └── remotes.js │ ├── search │ └── search.js │ └── zoom-js │ └── zoom.js ├── bootstrap.php ├── composer.json ├── footer.php ├── functions.php ├── header.php ├── inc ├── acf-fields.php ├── acf-image-select │ ├── acf-image-select.php │ ├── css │ │ └── image-select.css │ ├── image-select-v4.php │ └── js │ │ └── image-select.js ├── acf-url-field │ ├── acf-website-field.css │ ├── acf-website_field.php │ ├── website_url_v4.php │ └── website_url_v5.php ├── acf │ ├── acf.php │ ├── core │ │ ├── actions │ │ │ └── export.php │ │ ├── api.php │ │ ├── controllers │ │ │ ├── addons.php │ │ │ ├── everything_fields.php │ │ │ ├── export.php │ │ │ ├── field_group.php │ │ │ ├── field_groups.php │ │ │ ├── input.php │ │ │ ├── location.php │ │ │ ├── post.php │ │ │ ├── revisions.php │ │ │ ├── third_party.php │ │ │ └── upgrade.php │ │ ├── fields │ │ │ ├── _base.php │ │ │ ├── _functions.php │ │ │ ├── checkbox.php │ │ │ ├── color_picker.php │ │ │ ├── date_picker │ │ │ │ ├── date_picker.php │ │ │ │ ├── images │ │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ │ ├── ui-bg_flat_55_5bc6f5_40x100.png │ │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ │ ├── ui-bg_highlight-soft_0_444444_1x100.png │ │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ │ └── ui-icons_cd0a0a_256x240.png │ │ │ │ ├── jquery.ui.datepicker.js │ │ │ │ └── style.date_picker.css │ │ │ ├── dummy.php │ │ │ ├── email.php │ │ │ ├── file.php │ │ │ ├── google-map.php │ │ │ ├── image.php │ │ │ ├── message.php │ │ │ ├── number.php │ │ │ ├── page_link.php │ │ │ ├── password.php │ │ │ ├── post_object.php │ │ │ ├── radio.php │ │ │ ├── relationship.php │ │ │ ├── select.php │ │ │ ├── tab.php │ │ │ ├── taxonomy.php │ │ │ ├── text.php │ │ │ ├── textarea.php │ │ │ ├── true_false.php │ │ │ ├── user.php │ │ │ └── wysiwyg.php │ │ └── views │ │ │ ├── meta_box_fields.php │ │ │ ├── meta_box_location.php │ │ │ └── meta_box_options.php │ ├── css │ │ ├── acf.css │ │ ├── field-group.css │ │ ├── global.css │ │ └── input.css │ ├── images │ │ ├── add-ons │ │ │ ├── cf7-field-thumb.jpg │ │ │ ├── date-time-field-thumb.jpg │ │ │ ├── flexible-content-field-thumb.jpg │ │ │ ├── gallery-field-thumb.jpg │ │ │ ├── google-maps-field-thumb.jpg │ │ │ ├── gravity-forms-field-thumb.jpg │ │ │ ├── options-page-thumb.jpg │ │ │ └── repeater-field-thumb.jpg │ │ ├── arrows.png │ │ ├── arrows@2x.png │ │ ├── sprite.png │ │ ├── sprite@2x.png │ │ ├── wpspin_light.gif │ │ └── wpspin_light@2x.gif │ ├── js │ │ ├── field-group.js │ │ ├── field-group.min.js │ │ ├── input.js │ │ ├── input.min.js │ │ └── tinymce.code.min.js │ └── lang │ │ ├── acf-cs_CZ.mo │ │ ├── acf-cs_CZ.po │ │ ├── acf-de_DE.mo │ │ ├── acf-de_DE.po │ │ ├── acf-es_ES.mo │ │ ├── acf-es_ES.po │ │ ├── acf-fa_IR.mo │ │ ├── acf-fa_IR.po │ │ ├── acf-fr_FR.mo │ │ ├── acf-fr_FR.po │ │ ├── acf-he_IL.mo │ │ ├── acf-he_IL.po │ │ ├── acf-it_IT.mo │ │ ├── acf-it_IT.po │ │ ├── acf-ja.mo │ │ ├── acf-ja.po │ │ ├── acf-nl_NL.mo │ │ ├── acf-nl_NL.po │ │ ├── acf-pl_PL.mo │ │ ├── acf-pl_PL.po │ │ ├── acf-pt_BR.mo │ │ ├── acf-pt_BR.po │ │ ├── acf-ru-RU.mo │ │ ├── acf-ru_RU.mo │ │ ├── acf-ru_RU.po │ │ ├── acf-sv_SE.mo │ │ ├── acf-sv_SE.po │ │ ├── acf-uk.mo │ │ ├── acf-uk.po │ │ ├── acf-zh_CN.mo │ │ ├── acf-zh_CN.po │ │ └── acf.pot ├── custom-controls │ ├── .editorconfig │ ├── LICENSE │ ├── README.md │ ├── assets │ │ ├── css │ │ │ ├── customizer.css │ │ │ ├── customizer.scss │ │ │ ├── hint.css │ │ │ ├── jquery-ui-1.10.0.custom.css │ │ │ └── kirki-styles.css │ │ ├── images │ │ │ ├── 1c.png │ │ │ ├── 2cl.png │ │ │ ├── 2cr.png │ │ │ ├── 3cl.png │ │ │ ├── 3cm.png │ │ │ ├── 3cr.png │ │ │ ├── concave.png │ │ │ ├── convex.png │ │ │ ├── fade.png │ │ │ ├── fonts │ │ │ │ ├── bubblegum.png │ │ │ │ ├── dancing-script.png │ │ │ │ ├── dosis.png │ │ │ │ ├── encode.png │ │ │ │ ├── lato.png │ │ │ │ ├── league-gothic.png │ │ │ │ ├── libre-baskerville.png │ │ │ │ ├── merriweather.png │ │ │ │ ├── montserrat.png │ │ │ │ ├── news-cycle.png │ │ │ │ ├── open-sans.png │ │ │ │ ├── palatino-linotype.png │ │ │ │ ├── quicksand.png │ │ │ │ ├── sinkin-sans.png │ │ │ │ ├── source-sans-pro.png │ │ │ │ └── ubuntu.png │ │ │ ├── jquery.fs.stepper-arrows.png │ │ │ ├── none.png │ │ │ ├── slide.png │ │ │ ├── themes │ │ │ │ ├── beige.png │ │ │ │ ├── black.png │ │ │ │ ├── blood.png │ │ │ │ ├── league.png │ │ │ │ ├── moon.png │ │ │ │ ├── night.png │ │ │ │ ├── serif.png │ │ │ │ ├── simple.png │ │ │ │ ├── sky.png │ │ │ │ ├── solarized.png │ │ │ │ ├── wc-miami.png │ │ │ │ └── white.png │ │ │ ├── transparency-grid.png │ │ │ └── zoom.png │ │ ├── js │ │ │ ├── customizer.js │ │ │ ├── jquery.fs.stepper.min.js │ │ │ └── serialize.js │ │ ├── json │ │ │ └── webfonts.json │ │ └── xml │ │ │ └── colourlovers-top.xml │ ├── composer.json │ ├── includes │ │ ├── class-kirki-builder.php │ │ ├── class-kirki-color.php │ │ ├── class-kirki-colourlovers.php │ │ ├── class-kirki-config.php │ │ ├── class-kirki-control.php │ │ ├── class-kirki-controls.php │ │ ├── class-kirki-fields.php │ │ ├── class-kirki-fonts-font-registry.php │ │ ├── class-kirki-settings.php │ │ ├── class-kirki.php │ │ ├── controls │ │ │ ├── class-kirki-controls-color-alpha-control.php │ │ │ ├── class-kirki-controls-custom-control.php │ │ │ ├── class-kirki-controls-editor-control.php │ │ │ ├── class-kirki-controls-multicheck-control.php │ │ │ ├── class-kirki-controls-number-control.php │ │ │ ├── class-kirki-controls-palette-control.php │ │ │ ├── class-kirki-controls-radio-buttonset-control.php │ │ │ ├── class-kirki-controls-radio-image-control.php │ │ │ ├── class-kirki-controls-slider-control.php │ │ │ ├── class-kirki-controls-sortable-control.php │ │ │ ├── class-kirki-controls-switch-control.php │ │ │ └── class-kirki-controls-toggle-control.php │ │ ├── deprecated.php │ │ ├── helpers.php │ │ ├── sanitize.php │ │ ├── scripts │ │ │ ├── class-kirki-scripts-customizer-default-scripts.php │ │ │ ├── class-kirki-scripts-customizer-postmessage.php │ │ │ ├── class-kirki-scripts-customizer-stepper.php │ │ │ ├── class-kirki-scripts-customizer-tooltips.php │ │ │ ├── class-kirki-scripts-enqueue-script.php │ │ │ ├── class-kirki-scripts-frontend-google-fonts.php │ │ │ └── class-kirki-scripts-registry.php │ │ └── styles │ │ │ ├── class-kirki-styles-customizer.php │ │ │ ├── class-kirki-styles-frontend.php │ │ │ └── class-kirki-styles.php │ ├── kirki.php │ ├── languages │ │ ├── kirki-en_US.mo │ │ └── kirki-en_US.po │ └── readme.txt ├── customizer.php ├── dashboard-widgets.php ├── meta-functions.php ├── post-type.php ├── reveal-settings.php └── template-tags.php ├── index.php ├── lang └── wp-presenter.pot ├── package.json ├── phpunit.xml ├── screenshot.png ├── single.php ├── style.css └── tests └── phpunit └── test-tools └── TestCase.php /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | vendor 4 | composer.lock -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "eqnull": true, 6 | "es3": true, 7 | "expr": true, 8 | "immed": true, 9 | "noarg": true, 10 | "nonbsp": true, 11 | "onevar": true, 12 | "quotmark": "single", 13 | "trailing": true, 14 | "undef": false, 15 | "unused": true, 16 | "browser": true, 17 | "globals": { 18 | "_": false, 19 | "Backbone": false, 20 | "jQuery": false, 21 | "JSON": false, 22 | "wp": false 23 | } 24 | } -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 5.3 5 | - 5.4 6 | - 5.5 7 | - 5.6 8 | - 7.0 9 | - hhvm 10 | - nightly 11 | 12 | matrix: 13 | fast_finish: true 14 | allow_failures: 15 | - php: hhvm 16 | - php: nightly 17 | 18 | before_script: 19 | - composer install --dev --no-interaction 20 | 21 | after_script: 22 | - php vendor/bin/coveralls -v 23 | 24 | script: 25 | - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function ( grunt ) { 2 | 3 | // Start out by loading the grunt modules we'll need 4 | require( 'load-grunt-tasks' )( grunt ); 5 | 6 | grunt.initConfig( 7 | { 8 | 9 | /** 10 | * Processes and comporesses JavaScript. 11 | */ 12 | uglify : { 13 | 14 | production : { 15 | 16 | options : { 17 | beautify : false, 18 | preserveComments : false, 19 | mangle : { 20 | except : ['jQuery'] 21 | } 22 | }, 23 | 24 | files : { 25 | } 26 | } 27 | }, 28 | 29 | /** 30 | * Auto-prefix CSS Elements after SASS is processed. 31 | */ 32 | autoprefixer : { 33 | 34 | options : { 35 | browsers : ['last 5 versions'], 36 | map : true 37 | }, 38 | 39 | files : { 40 | expand : true, 41 | flatten : true, 42 | src : ['assets/css/wp-presenter.css'], 43 | dest : 'assets/css' 44 | } 45 | }, 46 | 47 | /** 48 | * Minify CSS after prefixes are added 49 | */ 50 | cssmin : { 51 | 52 | target : { 53 | 54 | files : [{ 55 | expand : true, 56 | cwd : 'assets/css', 57 | src : ['wp-presenter.css'], 58 | dest : 'assets/css', 59 | ext : '.min.css' 60 | }] 61 | 62 | } 63 | }, 64 | 65 | /** 66 | * Process SASS 67 | */ 68 | sass : { 69 | 70 | dist : { 71 | 72 | options : { 73 | style : 'expanded', 74 | sourceMap : true, 75 | noCache : true 76 | }, 77 | 78 | files : { 79 | 'assets/css/wp-presenter.css' : 'assets/css/sass/wp-presenter.scss' 80 | } 81 | } 82 | }, 83 | 84 | /** 85 | * Update translation file. 86 | */ 87 | makepot : { 88 | 89 | target : { 90 | options : { 91 | type : 'wp-theme', 92 | domainPath : '/lang' 93 | } 94 | } 95 | }, 96 | 97 | phpunit : { 98 | 99 | classes : { 100 | dir : 'tests/' 101 | }, 102 | 103 | options : { 104 | 105 | bin : './vendor/bin/phpunit', 106 | testSuffix : 'Tests.php', 107 | bootstrap : 'bootstrap.php', 108 | colors : true 109 | 110 | } 111 | }, 112 | 113 | /** 114 | * Watch scripts and styles for changes 115 | */ 116 | watch : { 117 | 118 | options : { 119 | livereload : true 120 | }, 121 | 122 | scripts : { 123 | 124 | files : [ 125 | 'assets/js/**/*' 126 | ], 127 | 128 | tasks : ['uglify:production'] 129 | 130 | }, 131 | 132 | styles : { 133 | 134 | files : [ 135 | 'assets/css/*.scss' 136 | ], 137 | 138 | tasks : ['sass', 'autoprefixer', 'cssmin'] 139 | 140 | } 141 | } 142 | } 143 | ); 144 | 145 | // A very basic default task. 146 | grunt.registerTask( 'default', ['phpunit', 'uglify:production', 'sass', 'autoprefixer', 'cssmin', 'makepot'] ); 147 | 148 | }; -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | WP Presenter Theme [![Build Status](https://travis-ci.org/ChrisWiegman/wp-presenter.svg)](https://travis-ci.org/ChrisWiegman/wp-presenter) 2 | ==================== 3 | 4 | A WordPress theme based on reveal.js. 5 | 6 | Welcome to the Beta Release of WP Presenter 7 | 8 | Built using reveal.js, WP Presenter showcases the versatility of WordPress - it's more than "just a blog!" 9 | 10 | WP Presenter was created specifically to allow presentations to be built and presented from within a local WordPress environment, eliminating the need for a wifi connection at WordCamps. 11 | 12 | There are many functionalities and customization options present and the testing phase needs more eyes than just the few people who have helped pull this together. We are aware of certain bugs and are working to resolve them; however, we are welcoming the public to download, install and utilize this theme at your convenience. Most recently Marc Benzakein used WPPresenter to kick off WordCamp Miami's 2015 Networking Social: 13 | 14 | ![Screenshot of a WP Presenter slide](https://cloud.githubusercontent.com/assets/5412539/7876180/1d1adcea-058d-11e5-9cc1-4fbe9247e576.png) 15 | 16 | ##Welcome to Beta! 17 | Please note: As this theme is in Beta, we will continue to push updates. Please make sure you are using the latest release if you run into a function and can't tell if it's a bug or a feature! Feel free to report any issues you find and they will be addressed. 18 | 19 | Pull requests are welcome but not required. Enjoy! 20 | 21 | -------------------------------------------------------------------------------- /assets/css/sass/wp-presenter.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/css/sass/wp-presenter.scss -------------------------------------------------------------------------------- /assets/css/wp-presenter.css: -------------------------------------------------------------------------------- 1 | 2 | /*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ3cC1wcmVzZW50ZXIuY3NzIn0= */ -------------------------------------------------------------------------------- /assets/css/wp-presenter.css.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "wp-presenter.css", 4 | "sources": [ 5 | "sass/wp-presenter.scss" 6 | ], 7 | "mappings": "", 8 | "names": [] 9 | } -------------------------------------------------------------------------------- /assets/css/wp-presenter.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/css/wp-presenter.min.css -------------------------------------------------------------------------------- /assets/images/1c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/images/1c.png -------------------------------------------------------------------------------- /assets/images/2cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/images/2cl.png -------------------------------------------------------------------------------- /assets/images/2cr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/images/2cr.png -------------------------------------------------------------------------------- /assets/images/bg-pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/images/bg-pattern.png -------------------------------------------------------------------------------- /assets/images/jquery.fs.stepper-arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/images/jquery.fs.stepper-arrows.png -------------------------------------------------------------------------------- /assets/images/transparency-grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/images/transparency-grid.png -------------------------------------------------------------------------------- /assets/reveal/css/print/pdf.css: -------------------------------------------------------------------------------- 1 | /* Default Print Stylesheet Template 2 | by Rob Glazebrook of CSSnewbie.com 3 | Last Updated: June 4, 2008 4 | 5 | Feel free (nay, compelled) to edit, append, and 6 | manipulate this file as you see fit. */ 7 | 8 | 9 | /* SECTION 1: Set default width, margin, float, and 10 | background. This prevents elements from extending 11 | beyond the edge of the printed page, and prevents 12 | unnecessary background images from printing */ 13 | 14 | * { 15 | -webkit-print-color-adjust: exact; 16 | } 17 | 18 | body { 19 | margin: 0 auto !important; 20 | border: 0; 21 | padding: 0; 22 | float: none !important; 23 | overflow: visible; 24 | } 25 | 26 | html { 27 | width: 100%; 28 | height: 100%; 29 | overflow: visible; 30 | } 31 | 32 | /* SECTION 2: Remove any elements not needed in print. 33 | This would include navigation, ads, sidebars, etc. */ 34 | .nestedarrow, 35 | .reveal .controls, 36 | .reveal .progress, 37 | .reveal .slide-number, 38 | .reveal .playback, 39 | .reveal.overview, 40 | .fork-reveal, 41 | .share-reveal, 42 | .state-background { 43 | display: none !important; 44 | } 45 | 46 | /* SECTION 3: Set body font face, size, and color. 47 | Consider using a serif font for readability. */ 48 | body, p, td, li, div { 49 | 50 | } 51 | 52 | /* SECTION 4: Set heading font face, sizes, and color. 53 | Differentiate your headings from your body text. 54 | Perhaps use a large sans-serif for distinction. */ 55 | h1,h2,h3,h4,h5,h6 { 56 | text-shadow: 0 0 0 #000 !important; 57 | } 58 | 59 | .reveal pre code { 60 | overflow: hidden !important; 61 | font-family: Courier, 'Courier New', monospace !important; 62 | } 63 | 64 | 65 | /* SECTION 5: more reveal.js specific additions by @skypanther */ 66 | ul, ol, div, p { 67 | visibility: visible; 68 | position: static; 69 | width: auto; 70 | height: auto; 71 | display: block; 72 | overflow: visible; 73 | margin: auto; 74 | } 75 | .reveal { 76 | width: auto !important; 77 | height: auto !important; 78 | overflow: hidden !important; 79 | } 80 | .reveal .slides { 81 | position: static; 82 | width: 100%; 83 | height: auto; 84 | 85 | left: auto; 86 | top: auto; 87 | margin: 0 !important; 88 | padding: 0 !important; 89 | 90 | overflow: visible; 91 | display: block; 92 | 93 | -webkit-perspective: none; 94 | -moz-perspective: none; 95 | -ms-perspective: none; 96 | perspective: none; 97 | 98 | -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */ 99 | -moz-perspective-origin: 50% 50%; 100 | -ms-perspective-origin: 50% 50%; 101 | perspective-origin: 50% 50%; 102 | } 103 | .reveal .slides section { 104 | page-break-after: always !important; 105 | 106 | visibility: visible !important; 107 | position: relative !important; 108 | display: block !important; 109 | position: relative !important; 110 | 111 | margin: 0 !important; 112 | padding: 0 !important; 113 | box-sizing: border-box !important; 114 | min-height: 1px; 115 | 116 | opacity: 1 !important; 117 | 118 | -webkit-transform-style: flat !important; 119 | -moz-transform-style: flat !important; 120 | -ms-transform-style: flat !important; 121 | transform-style: flat !important; 122 | 123 | -webkit-transform: none !important; 124 | -moz-transform: none !important; 125 | -ms-transform: none !important; 126 | transform: none !important; 127 | } 128 | .reveal section.stack { 129 | margin: 0 !important; 130 | padding: 0 !important; 131 | page-break-after: avoid !important; 132 | height: auto !important; 133 | min-height: auto !important; 134 | } 135 | .reveal img { 136 | box-shadow: none; 137 | } 138 | .reveal .roll { 139 | overflow: visible; 140 | line-height: 1em; 141 | } 142 | 143 | /* Slide backgrounds are placed inside of their slide when exporting to PDF */ 144 | .reveal section .slide-background { 145 | display: block !important; 146 | position: absolute; 147 | top: 0; 148 | left: 0; 149 | width: 100%; 150 | z-index: -1; 151 | } 152 | /* All elements should be above the slide-background */ 153 | .reveal section>* { 154 | position: relative; 155 | z-index: 1; 156 | } 157 | 158 | -------------------------------------------------------------------------------- /assets/reveal/css/theme/README.md: -------------------------------------------------------------------------------- 1 | ## Dependencies 2 | 3 | Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment including the Grunt dependencies installed before proceding: https://github.com/hakimel/reveal.js#full-setup 4 | 5 | You also need to install Ruby and then Sass (with `gem install sass`). 6 | 7 | ## Creating a Theme 8 | 9 | To create your own theme, start by duplicating any ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source) and adding it to the compilation list in the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js). 10 | 11 | Each theme file does four things in the following order: 12 | 13 | 1. **Include [/css/theme/template/mixins.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/mixins.scss)** 14 | Shared utility functions. 15 | 16 | 2. **Include [/css/theme/template/settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss)** 17 | Declares a set of custom variables that the template file (step 4) expects. Can be overridden in step 3. 18 | 19 | 3. **Override** 20 | This is where you override the default theme. Either by specifying variables (see [settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss) for reference) or by adding full selectors with hardcoded styles. 21 | 22 | 4. **Include [/css/theme/template/theme.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/theme.scss)** 23 | The template theme file which will generate final CSS output based on the currently defined variables. 24 | 25 | When you are done, run `grunt css-themes` to compile the Sass file to CSS and you are ready to use your new theme. 26 | -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/beige.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Beige theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | 15 | // Include theme-specific fonts 16 | @import url(../../lib/font/league-gothic/league-gothic.css); 17 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 18 | 19 | 20 | // Override theme settings (see ../template/settings.scss) 21 | $mainColor: #333; 22 | $headingColor: #333; 23 | $headingTextShadow: none; 24 | $backgroundColor: #f7f3de; 25 | $linkColor: #8b743d; 26 | $linkColorHover: lighten( $linkColor, 20% ); 27 | $selectionBackgroundColor: rgba(79, 64, 28, 0.99); 28 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 29 | 30 | // Background generator 31 | @mixin bodyBackground() { 32 | @include radial-gradient( rgba(247,242,211,1), rgba(255,255,255,1) ); 33 | } 34 | 35 | 36 | 37 | // Theme template ------------------------------ 38 | @import "../template/theme"; 39 | // --------------------------------------------- -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/black.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. This is the opposite of the 'white' theme. 3 | * 4 | * Copyright (C) 2015 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(../../lib/font/source-sans-pro/source-sans-pro.css); 16 | 17 | 18 | // Override theme settings (see ../template/settings.scss) 19 | $backgroundColor: #222; 20 | 21 | $mainColor: #fff; 22 | $headingColor: #fff; 23 | 24 | $mainFontSize: 38px; 25 | $mainFont: 'Source Sans Pro', Helvetica, sans-serif; 26 | $headingFont: 'Source Sans Pro', Helvetica, sans-serif; 27 | $headingTextShadow: none; 28 | $headingLetterSpacing: normal; 29 | $headingTextTransform: uppercase; 30 | $headingFontWeight: 600; 31 | $linkColor: #42affa; 32 | $linkColorHover: lighten( $linkColor, 15% ); 33 | $selectionBackgroundColor: lighten( $linkColor, 25% ); 34 | 35 | $heading1Size: 2.5em; 36 | $heading2Size: 1.6em; 37 | $heading3Size: 1.3em; 38 | $heading4Size: 1.0em; 39 | 40 | section.has-light-background { 41 | &, h1, h2, h3, h4, h5, h6 { 42 | color: #222; 43 | } 44 | } 45 | 46 | 47 | // Theme template ------------------------------ 48 | @import "../template/theme"; 49 | // --------------------------------------------- -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/blood.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Blood theme for reveal.js 3 | * Author: Walther http://github.com/Walther 4 | * 5 | * Designed to be used with highlight.js theme 6 | * "monokai_sublime.css" available from 7 | * https://github.com/isagalaev/highlight.js/ 8 | * 9 | * For other themes, change $codeBackground accordingly. 10 | * 11 | */ 12 | 13 | // Default mixins and settings ----------------- 14 | @import "../template/mixins"; 15 | @import "../template/settings"; 16 | // --------------------------------------------- 17 | 18 | // Include theme-specific fonts 19 | 20 | @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic); 21 | 22 | // Colors used in the theme 23 | $blood: #a23; 24 | $coal: #222; 25 | $codeBackground: #23241f; 26 | 27 | // Main text 28 | $mainFont: Ubuntu, 'sans-serif'; 29 | $mainFontSize: 36px; 30 | $mainColor: #eee; 31 | 32 | // Headings 33 | $headingFont: Ubuntu, 'sans-serif'; 34 | $headingTextShadow: 2px 2px 2px $coal; 35 | 36 | // h1 shadow, borrowed humbly from 37 | // (c) Default theme by Hakim El Hattab 38 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 39 | 40 | // Links 41 | $linkColor: $blood; 42 | $linkColorHover: lighten( $linkColor, 20% ); 43 | 44 | // Text selection 45 | $selectionBackgroundColor: $blood; 46 | $selectionColor: #fff; 47 | 48 | // Background generator 49 | @mixin bodyBackground() { 50 | @include radial-gradient( $coal, lighten( $coal, 25% ) ); 51 | } 52 | 53 | // Theme template ------------------------------ 54 | @import "../template/theme"; 55 | // --------------------------------------------- 56 | 57 | // some overrides after theme template import 58 | 59 | .reveal p { 60 | font-weight: 300; 61 | text-shadow: 1px 1px $coal; 62 | } 63 | 64 | .reveal h1, 65 | .reveal h2, 66 | .reveal h3, 67 | .reveal h4, 68 | .reveal h5, 69 | .reveal h6 { 70 | font-weight: 700; 71 | } 72 | 73 | .reveal a, 74 | .reveal a:hover { 75 | text-shadow: 2px 2px 2px #000; 76 | } 77 | 78 | .reveal small a, 79 | .reveal small a:hover { 80 | text-shadow: 1px 1px 1px #000; 81 | } 82 | 83 | .reveal p code { 84 | background-color: $codeBackground; 85 | display: inline-block; 86 | border-radius: 7px; 87 | } 88 | 89 | .reveal small code { 90 | vertical-align: baseline; 91 | } -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/league.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * League theme for reveal.js. 3 | * 4 | * This was the default theme pre-3.0.0. 5 | * 6 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 7 | */ 8 | 9 | 10 | // Default mixins and settings ----------------- 11 | @import "../template/mixins"; 12 | @import "../template/settings"; 13 | // --------------------------------------------- 14 | 15 | 16 | 17 | // Include theme-specific fonts 18 | @import url(../../lib/font/league-gothic/league-gothic.css); 19 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 20 | 21 | // Override theme settings (see ../template/settings.scss) 22 | $headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2); 23 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 24 | 25 | // Background generator 26 | @mixin bodyBackground() { 27 | @include radial-gradient( rgba(28,30,32,1), rgba(85,90,95,1) ); 28 | } 29 | 30 | 31 | 32 | // Theme template ------------------------------ 33 | @import "../template/theme"; 34 | // --------------------------------------------- -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/moon.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Dark theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | 6 | 7 | // Default mixins and settings ----------------- 8 | @import "../template/mixins"; 9 | @import "../template/settings"; 10 | // --------------------------------------------- 11 | 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(../../lib/font/league-gothic/league-gothic.css); 16 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 17 | 18 | /** 19 | * Solarized colors by Ethan Schoonover 20 | */ 21 | html * { 22 | color-profile: sRGB; 23 | rendering-intent: auto; 24 | } 25 | 26 | // Solarized colors 27 | $base03: #002b36; 28 | $base02: #073642; 29 | $base01: #586e75; 30 | $base00: #657b83; 31 | $base0: #839496; 32 | $base1: #93a1a1; 33 | $base2: #eee8d5; 34 | $base3: #fdf6e3; 35 | $yellow: #b58900; 36 | $orange: #cb4b16; 37 | $red: #dc322f; 38 | $magenta: #d33682; 39 | $violet: #6c71c4; 40 | $blue: #268bd2; 41 | $cyan: #2aa198; 42 | $green: #859900; 43 | 44 | // Override theme settings (see ../template/settings.scss) 45 | $mainColor: $base1; 46 | $headingColor: $base2; 47 | $headingTextShadow: none; 48 | $backgroundColor: $base03; 49 | $linkColor: $blue; 50 | $linkColorHover: lighten( $linkColor, 20% ); 51 | $selectionBackgroundColor: $magenta; 52 | 53 | 54 | 55 | // Theme template ------------------------------ 56 | @import "../template/theme"; 57 | // --------------------------------------------- 58 | -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/night.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(https://fonts.googleapis.com/css?family=Montserrat:700); 16 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); 17 | 18 | 19 | // Override theme settings (see ../template/settings.scss) 20 | $backgroundColor: #111; 21 | 22 | $mainFont: 'Open Sans', sans-serif; 23 | $linkColor: #e7ad52; 24 | $linkColorHover: lighten( $linkColor, 20% ); 25 | $headingFont: 'Montserrat', Impact, sans-serif; 26 | $headingTextShadow: none; 27 | $headingLetterSpacing: -0.03em; 28 | $headingTextTransform: none; 29 | $selectionBackgroundColor: #e7ad52; 30 | $mainFontSize: 30px; 31 | 32 | 33 | // Theme template ------------------------------ 34 | @import "../template/theme"; 35 | // --------------------------------------------- -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/serif.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is brown. 4 | * 5 | * This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed. 6 | */ 7 | 8 | 9 | // Default mixins and settings ----------------- 10 | @import "../template/mixins"; 11 | @import "../template/settings"; 12 | // --------------------------------------------- 13 | 14 | 15 | 16 | // Override theme settings (see ../template/settings.scss) 17 | $mainFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 18 | $mainColor: #000; 19 | $headingFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 20 | $headingColor: #383D3D; 21 | $headingTextShadow: none; 22 | $headingTextTransform: none; 23 | $backgroundColor: #F0F1EB; 24 | $linkColor: #51483D; 25 | $linkColorHover: lighten( $linkColor, 20% ); 26 | $selectionBackgroundColor: #26351C; 27 | 28 | .reveal a { 29 | line-height: 1.3em; 30 | } 31 | 32 | 33 | // Theme template ------------------------------ 34 | @import "../template/theme"; 35 | // --------------------------------------------- 36 | -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/simple.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is darkblue. 4 | * 5 | * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed. 6 | * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 7 | */ 8 | 9 | 10 | // Default mixins and settings ----------------- 11 | @import "../template/mixins"; 12 | @import "../template/settings"; 13 | // --------------------------------------------- 14 | 15 | 16 | 17 | // Include theme-specific fonts 18 | @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700); 19 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 20 | 21 | 22 | // Override theme settings (see ../template/settings.scss) 23 | $mainFont: 'Lato', sans-serif; 24 | $mainColor: #000; 25 | $headingFont: 'News Cycle', Impact, sans-serif; 26 | $headingColor: #000; 27 | $headingTextShadow: none; 28 | $headingTextTransform: none; 29 | $backgroundColor: #fff; 30 | $linkColor: #00008B; 31 | $linkColorHover: lighten( $linkColor, 20% ); 32 | $selectionBackgroundColor: rgba(0, 0, 0, 0.99); 33 | 34 | 35 | 36 | // Theme template ------------------------------ 37 | @import "../template/theme"; 38 | // --------------------------------------------- -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/sky.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Sky theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | 15 | // Include theme-specific fonts 16 | @import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); 17 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); 18 | 19 | 20 | // Override theme settings (see ../template/settings.scss) 21 | $mainFont: 'Open Sans', sans-serif; 22 | $mainColor: #333; 23 | $headingFont: 'Quicksand', sans-serif; 24 | $headingColor: #333; 25 | $headingLetterSpacing: -0.08em; 26 | $headingTextShadow: none; 27 | $backgroundColor: #f7fbfc; 28 | $linkColor: #3b759e; 29 | $linkColorHover: lighten( $linkColor, 20% ); 30 | $selectionBackgroundColor: #134674; 31 | 32 | // Fix links so they are not cut off 33 | .reveal a { 34 | line-height: 1.3em; 35 | } 36 | 37 | // Background generator 38 | @mixin bodyBackground() { 39 | @include radial-gradient( #add9e4, #f7fbfc ); 40 | } 41 | 42 | 43 | 44 | // Theme template ------------------------------ 45 | @import "../template/theme"; 46 | // --------------------------------------------- 47 | -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/solarized.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Light theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | 6 | 7 | // Default mixins and settings ----------------- 8 | @import "../template/mixins"; 9 | @import "../template/settings"; 10 | // --------------------------------------------- 11 | 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(../../lib/font/league-gothic/league-gothic.css); 16 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 17 | 18 | 19 | /** 20 | * Solarized colors by Ethan Schoonover 21 | */ 22 | html * { 23 | color-profile: sRGB; 24 | rendering-intent: auto; 25 | } 26 | 27 | // Solarized colors 28 | $base03: #002b36; 29 | $base02: #073642; 30 | $base01: #586e75; 31 | $base00: #657b83; 32 | $base0: #839496; 33 | $base1: #93a1a1; 34 | $base2: #eee8d5; 35 | $base3: #fdf6e3; 36 | $yellow: #b58900; 37 | $orange: #cb4b16; 38 | $red: #dc322f; 39 | $magenta: #d33682; 40 | $violet: #6c71c4; 41 | $blue: #268bd2; 42 | $cyan: #2aa198; 43 | $green: #859900; 44 | 45 | // Override theme settings (see ../template/settings.scss) 46 | $mainColor: $base00; 47 | $headingColor: $base01; 48 | $headingTextShadow: none; 49 | $backgroundColor: $base3; 50 | $linkColor: $blue; 51 | $linkColorHover: lighten( $linkColor, 20% ); 52 | $selectionBackgroundColor: $magenta; 53 | 54 | // Background generator 55 | // @mixin bodyBackground() { 56 | // @include radial-gradient( rgba($base3,1), rgba(lighten($base3, 20%),1) ); 57 | // } 58 | 59 | 60 | 61 | // Theme template ------------------------------ 62 | @import "../template/theme"; 63 | // --------------------------------------------- 64 | -------------------------------------------------------------------------------- /assets/reveal/css/theme/source/white.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * White theme for reveal.js. This is the opposite of the 'black' theme. 3 | * 4 | * Copyright (C) 2015 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(../../lib/font/source-sans-pro/source-sans-pro.css); 16 | 17 | 18 | // Override theme settings (see ../template/settings.scss) 19 | $backgroundColor: #fff; 20 | 21 | $mainColor: #222; 22 | $headingColor: #222; 23 | 24 | $mainFontSize: 38px; 25 | $mainFont: 'Source Sans Pro', Helvetica, sans-serif; 26 | $headingFont: 'Source Sans Pro', Helvetica, sans-serif; 27 | $headingTextShadow: none; 28 | $headingLetterSpacing: normal; 29 | $headingTextTransform: uppercase; 30 | $headingFontWeight: 600; 31 | $linkColor: #2a76dd; 32 | $linkColorHover: lighten( $linkColor, 15% ); 33 | $selectionBackgroundColor: lighten( $linkColor, 25% ); 34 | 35 | $heading1Size: 2.5em; 36 | $heading2Size: 1.6em; 37 | $heading3Size: 1.3em; 38 | $heading4Size: 1.0em; 39 | 40 | section.has-dark-background { 41 | &, h1, h2, h3, h4, h5, h6 { 42 | color: #fff; 43 | } 44 | } 45 | 46 | 47 | // Theme template ------------------------------ 48 | @import "../template/theme"; 49 | // --------------------------------------------- -------------------------------------------------------------------------------- /assets/reveal/css/theme/template/mixins.scss: -------------------------------------------------------------------------------- 1 | @mixin vertical-gradient( $top, $bottom ) { 2 | background: $top; 3 | background: -moz-linear-gradient( top, $top 0%, $bottom 100% ); 4 | background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom) ); 5 | background: -webkit-linear-gradient( top, $top 0%, $bottom 100% ); 6 | background: -o-linear-gradient( top, $top 0%, $bottom 100% ); 7 | background: -ms-linear-gradient( top, $top 0%, $bottom 100% ); 8 | background: linear-gradient( top, $top 0%, $bottom 100% ); 9 | } 10 | 11 | @mixin horizontal-gradient( $top, $bottom ) { 12 | background: $top; 13 | background: -moz-linear-gradient( left, $top 0%, $bottom 100% ); 14 | background: -webkit-gradient( linear, left top, right top, color-stop(0%,$top), color-stop(100%,$bottom) ); 15 | background: -webkit-linear-gradient( left, $top 0%, $bottom 100% ); 16 | background: -o-linear-gradient( left, $top 0%, $bottom 100% ); 17 | background: -ms-linear-gradient( left, $top 0%, $bottom 100% ); 18 | background: linear-gradient( left, $top 0%, $bottom 100% ); 19 | } 20 | 21 | @mixin radial-gradient( $outer, $inner, $type: circle ) { 22 | background: $outer; 23 | background: -moz-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 24 | background: -webkit-gradient( radial, center center, 0px, center center, 100%, color-stop(0%,$inner), color-stop(100%,$outer) ); 25 | background: -webkit-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 26 | background: -o-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 27 | background: -ms-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 28 | background: radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 29 | } -------------------------------------------------------------------------------- /assets/reveal/css/theme/template/settings.scss: -------------------------------------------------------------------------------- 1 | // Base settings for all themes that can optionally be 2 | // overridden by the super-theme 3 | 4 | // Background of the presentation 5 | $backgroundColor: #2b2b2b; 6 | 7 | // Primary/body text 8 | $mainFont: 'Lato', sans-serif; 9 | $mainFontSize: 36px; 10 | $mainColor: #eee; 11 | 12 | // Vertical spacing between blocks of text 13 | $blockMargin: 20px; 14 | 15 | // Headings 16 | $headingMargin: 0 0 $blockMargin 0; 17 | $headingFont: 'League Gothic', Impact, sans-serif; 18 | $headingColor: #eee; 19 | $headingLineHeight: 1.2; 20 | $headingLetterSpacing: normal; 21 | $headingTextTransform: uppercase; 22 | $headingTextShadow: none; 23 | $headingFontWeight: normal; 24 | $heading1TextShadow: $headingTextShadow; 25 | 26 | $heading1Size: 3.77em; 27 | $heading2Size: 2.11em; 28 | $heading3Size: 1.55em; 29 | $heading4Size: 1.00em; 30 | 31 | // Links and actions 32 | $linkColor: #13DAEC; 33 | $linkColorHover: lighten( $linkColor, 20% ); 34 | 35 | // Text selection 36 | $selectionBackgroundColor: #FF5E99; 37 | $selectionColor: #fff; 38 | 39 | // Generates the presentation background, can be overridden 40 | // to return a background image or gradient 41 | @mixin bodyBackground() { 42 | background: $backgroundColor; 43 | } -------------------------------------------------------------------------------- /assets/reveal/lib/css/monokai.css: -------------------------------------------------------------------------------- 1 | /* 2 | Monokai style - ported by Luigi Maselli - http://grigio.org 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | background: #272822; 10 | -webkit-text-size-adjust: none; 11 | } 12 | 13 | .hljs-tag, 14 | .hljs-tag .hljs-title, 15 | .hljs-keyword, 16 | .hljs-literal, 17 | .hljs-strong, 18 | .hljs-change, 19 | .hljs-winutils, 20 | .hljs-flow, 21 | .nginx .hljs-title, 22 | .tex .hljs-special { 23 | color: #f92672; 24 | } 25 | 26 | .hljs { 27 | color: #ddd; 28 | } 29 | 30 | .hljs .hljs-constant, 31 | .asciidoc .hljs-code, 32 | .markdown .hljs-code { 33 | color: #66d9ef; 34 | } 35 | 36 | .hljs-code, 37 | .hljs-class .hljs-title, 38 | .hljs-header { 39 | color: white; 40 | } 41 | 42 | .hljs-link_label, 43 | .hljs-attribute, 44 | .hljs-symbol, 45 | .hljs-symbol .hljs-string, 46 | .hljs-value, 47 | .hljs-regexp { 48 | color: #bf79db; 49 | } 50 | 51 | .hljs-link_url, 52 | .hljs-tag .hljs-value, 53 | .hljs-string, 54 | .hljs-bullet, 55 | .hljs-subst, 56 | .hljs-title, 57 | .hljs-emphasis, 58 | .hljs-type, 59 | .hljs-preprocessor, 60 | .hljs-pragma, 61 | .ruby .hljs-class .hljs-parent, 62 | .hljs-built_in, 63 | .django .hljs-template_tag, 64 | .django .hljs-variable, 65 | .smalltalk .hljs-class, 66 | .django .hljs-filter .hljs-argument, 67 | .smalltalk .hljs-localvars, 68 | .smalltalk .hljs-array, 69 | .hljs-attr_selector, 70 | .hljs-pseudo, 71 | .hljs-addition, 72 | .hljs-stream, 73 | .hljs-envvar, 74 | .apache .hljs-tag, 75 | .apache .hljs-cbracket, 76 | .tex .hljs-command, 77 | .hljs-prompt, 78 | .hljs-name { 79 | color: #a6e22e; 80 | } 81 | 82 | .hljs-comment, 83 | .hljs-annotation, 84 | .smartquote, 85 | .hljs-blockquote, 86 | .hljs-horizontal_rule, 87 | .hljs-decorator, 88 | .hljs-pi, 89 | .hljs-doctype, 90 | .hljs-deletion, 91 | .hljs-shebang, 92 | .apache .hljs-sqbracket, 93 | .tex .hljs-formula { 94 | color: #75715e; 95 | } 96 | 97 | .hljs-keyword, 98 | .hljs-literal, 99 | .css .hljs-id, 100 | .hljs-doctag, 101 | .hljs-title, 102 | .hljs-header, 103 | .hljs-type, 104 | .vbscript .hljs-built_in, 105 | .rsl .hljs-built_in, 106 | .smalltalk .hljs-class, 107 | .diff .hljs-header, 108 | .hljs-chunk, 109 | .hljs-winutils, 110 | .bash .hljs-variable, 111 | .apache .hljs-tag, 112 | .tex .hljs-special, 113 | .hljs-request, 114 | .hljs-status { 115 | font-weight: bold; 116 | } 117 | 118 | .coffeescript .javascript, 119 | .javascript .xml, 120 | .tex .hljs-formula, 121 | .xml .javascript, 122 | .xml .vbscript, 123 | .xml .css, 124 | .xml .hljs-cdata { 125 | opacity: 0.5; 126 | } -------------------------------------------------------------------------------- /assets/reveal/lib/css/zenburn.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov 4 | based on dark.css by Ivan Sagalaev 5 | 6 | */ 7 | 8 | .hljs { 9 | display: block; padding: 0.5em; 10 | background: #3F3F3F; 11 | color: #DCDCDC; 12 | } 13 | 14 | .hljs-keyword, 15 | .hljs-tag, 16 | .css .hljs-class, 17 | .css .hljs-id, 18 | .lisp .hljs-title, 19 | .nginx .hljs-title, 20 | .hljs-request, 21 | .hljs-status, 22 | .clojure .hljs-attribute { 23 | color: #E3CEAB; 24 | } 25 | 26 | .django .hljs-template_tag, 27 | .django .hljs-variable, 28 | .django .hljs-filter .hljs-argument { 29 | color: #DCDCDC; 30 | } 31 | 32 | .hljs-number, 33 | .hljs-date { 34 | color: #8CD0D3; 35 | } 36 | 37 | .dos .hljs-envvar, 38 | .dos .hljs-stream, 39 | .hljs-variable, 40 | .apache .hljs-sqbracket { 41 | color: #EFDCBC; 42 | } 43 | 44 | .dos .hljs-flow, 45 | .diff .hljs-change, 46 | .python .exception, 47 | .python .hljs-built_in, 48 | .hljs-literal, 49 | .tex .hljs-special { 50 | color: #EFEFAF; 51 | } 52 | 53 | .diff .hljs-chunk, 54 | .hljs-subst { 55 | color: #8F8F8F; 56 | } 57 | 58 | .dos .hljs-keyword, 59 | .python .hljs-decorator, 60 | .hljs-title, 61 | .haskell .hljs-type, 62 | .diff .hljs-header, 63 | .ruby .hljs-class .hljs-parent, 64 | .apache .hljs-tag, 65 | .nginx .hljs-built_in, 66 | .tex .hljs-command, 67 | .hljs-prompt { 68 | color: #efef8f; 69 | } 70 | 71 | .dos .hljs-winutils, 72 | .ruby .hljs-symbol, 73 | .ruby .hljs-symbol .hljs-string, 74 | .ruby .hljs-string { 75 | color: #DCA3A3; 76 | } 77 | 78 | .diff .hljs-deletion, 79 | .hljs-string, 80 | .hljs-tag .hljs-value, 81 | .hljs-preprocessor, 82 | .hljs-pragma, 83 | .hljs-built_in, 84 | .sql .hljs-aggregate, 85 | .hljs-javadoc, 86 | .smalltalk .hljs-class, 87 | .smalltalk .hljs-localvars, 88 | .smalltalk .hljs-array, 89 | .css .hljs-rules .hljs-value, 90 | .hljs-attr_selector, 91 | .hljs-pseudo, 92 | .apache .hljs-cbracket, 93 | .tex .hljs-formula, 94 | .coffeescript .hljs-attribute { 95 | color: #CC9393; 96 | } 97 | 98 | .hljs-shebang, 99 | .diff .hljs-addition, 100 | .hljs-comment, 101 | .java .hljs-annotation, 102 | .hljs-template_comment, 103 | .hljs-pi, 104 | .hljs-doctype { 105 | color: #7F9F7F; 106 | } 107 | 108 | .coffeescript .javascript, 109 | .javascript .xml, 110 | .tex .hljs-formula, 111 | .xml .javascript, 112 | .xml .vbscript, 113 | .xml .css, 114 | .xml .hljs-cdata { 115 | opacity: 0.5; 116 | } 117 | 118 | -------------------------------------------------------------------------------- /assets/reveal/lib/font/bubblegum/bubblegum.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 17, 2015 */ 2 | 3 | 4 | 5 | @font-face { 6 | font-family: 'bubblegum'; 7 | src: url('bubblegum.eot'); 8 | src: url('bubblegum.eot?#iefix') format('embedded-opentype'), 9 | url('bubblegum.woff2') format('woff2'), 10 | url('bubblegum.woff') format('woff'), 11 | url('bubblegum.ttf') format('truetype'), 12 | url('bubblegum.svg#bubblegum_sansregular') format('svg'); 13 | font-weight: normal; 14 | font-style: normal; 15 | 16 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/bubblegum/bubblegum.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/bubblegum/bubblegum.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/bubblegum/bubblegum.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/bubblegum/bubblegum.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/bubblegum/bubblegum.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/bubblegum/bubblegum.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/bubblegum/bubblegum.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/bubblegum/bubblegum.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/font/dosis/dosis.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 17, 2015 */ 2 | 3 | @font-face { 4 | font-family: 'dosis'; 5 | src: url('dosis.eot'); 6 | src: url('dosis.eot?#iefix') format('embedded-opentype'), 7 | url('dosis.woff2') format('woff2'), 8 | url('dosis.woff') format('woff'), 9 | url('dosis.ttf') format('truetype'), 10 | url('dosis.svg#dosis') format('svg'); 11 | font-weight: normal; 12 | font-style: normal; 13 | 14 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/dosis/dosis.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/dosis/dosis.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/dosis/dosis.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/dosis/dosis.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/dosis/dosis.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/dosis/dosis.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/dosis/dosis.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/dosis/dosis.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/font/encode/encode.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 17, 2015 */ 2 | 3 | @font-face { 4 | font-family: 'encode'; 5 | src: url('encode.eot'); 6 | src: url('encode.eot?#iefix') format('embedded-opentype'), 7 | url('encode.woff2') format('woff2'), 8 | url('encode.woff') format('woff'), 9 | url('encode.ttf') format('truetype'), 10 | url('encode.svg#encode') format('svg'); 11 | font-weight: normal; 12 | font-style: normal; 13 | 14 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/encode/encode.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/encode/encode.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/encode/encode.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/encode/encode.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/encode/encode.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/encode/encode.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/encode/encode.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/encode/encode.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/font/lato/lato.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 22, 2015 */ 2 | 3 | @font-face { 4 | font-family: 'Lato'; 5 | src: url('lato.eot'); 6 | src: url('lato.eot?#iefix') format('embedded-opentype'), 7 | url('lato.woff2') format('woff2'), 8 | url('lato.woff') format('woff'), 9 | url('lato.ttf') format('truetype'), 10 | url('lato.svg#lator') format('svg'); 11 | font-weight: normal; 12 | font-style: normal; 13 | 14 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/lato/lato.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/lato/lato.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/lato/lato.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/lato/lato.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/lato/lato.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/lato/lato.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/lato/lato.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/lato/lato.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/font/league/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License (OFL) 2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | -------------------------------------------------------------------------------- /assets/reveal/lib/font/league/league.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'league'; 3 | src: url('league.eot'); 4 | src: url('league.eot?#iefix') format('embedded-opentype'), 5 | url('league.woff') format('woff'), 6 | url('league.ttf') format('truetype'); 7 | 8 | font-weight: normal; 9 | font-style: normal; 10 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/league/league.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/league/league.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/league/league.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/league/league.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/league/league.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/league/league.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/libre-baskerville/libre-baskerville.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 17, 2015 */ 2 | 3 | @font-face { 4 | font-family: 'libre-baskerville'; 5 | src: url('libre-baskerville.eot'); 6 | src: url('libre-baskerville.eot?#iefix') format('embedded-opentype'), 7 | url('libre-baskerville.woff2') format('woff2'), 8 | url('libre-baskerville.woff') format('woff'), 9 | url('libre-baskerville.ttf') format('truetype'), 10 | url('libre-baskerville.svg#libre-baskerville') format('svg'); 11 | font-weight: normal; 12 | font-style: normal; 13 | 14 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/libre-baskerville/libre-baskerville.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/libre-baskerville/libre-baskerville.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/libre-baskerville/libre-baskerville.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/libre-baskerville/libre-baskerville.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/libre-baskerville/libre-baskerville.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/libre-baskerville/libre-baskerville.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/libre-baskerville/libre-baskerville.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/libre-baskerville/libre-baskerville.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/font/merriweather/merriweather.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 17, 2015 */ 2 | 3 | @font-face { 4 | font-family: 'merriweather'; 5 | src: url('merriweather.eot'); 6 | src: url('merriweather.eot?#iefix') format('embedded-opentype'), 7 | url('merriweather.woff2') format('woff2'), 8 | url('merriweather.woff') format('woff'), 9 | url('merriweather.ttf') format('truetype'), 10 | url('merriweather.svg#merriweather') format('svg'); 11 | font-weight: normal; 12 | font-style: normal; 13 | 14 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/merriweather/merriweather.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/merriweather/merriweather.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/merriweather/merriweather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/merriweather/merriweather.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/merriweather/merriweather.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/merriweather/merriweather.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/merriweather/merriweather.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/merriweather/merriweather.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/font/montserrat/montserrat.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 22, 2015 */ 2 | 3 | @font-face { 4 | font-family: 'montserrat'; 5 | src: url('montserrat.eot'); 6 | src: url('montserrat.eot?#iefix') format('embedded-opentype'), 7 | url('montserrat.woff2') format('woff2'), 8 | url('montserrat.woff') format('woff'), 9 | url('montserrat.ttf') format('truetype'), 10 | url('montserrat.svg#montserrat') format('svg'); 11 | font-weight: normal; 12 | font-style: normal; 13 | 14 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/montserrat/montserrat.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/montserrat/montserrat.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/montserrat/montserrat.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/montserrat/montserrat.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/montserrat/montserrat.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/montserrat/montserrat.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/montserrat/montserrat.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/montserrat/montserrat.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/font/news-cycle/news-cycle.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 22, 2015 */ 2 | 3 | 4 | @font-face { 5 | font-family: 'news-cycle'; 6 | src: url('news-cycle.eot'); 7 | src: url('news-cycle.eot?#iefix') format('embedded-opentype'), 8 | url('news-cycle.woff2') format('woff2'), 9 | url('news-cycle.woff') format('woff'), 10 | url('news-cycle.ttf') format('truetype'), 11 | url('news-cycle.svg#news-cycle') format('svg'); 12 | font-weight: normal; 13 | font-style: normal; 14 | 15 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/news-cycle/newscycle.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/news-cycle/newscycle.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/news-cycle/newscycle.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/news-cycle/newscycle.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/news-cycle/newscycle.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/news-cycle/newscycle.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/news-cycle/newscycle.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/news-cycle/newscycle.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/font/open-sans/open-sans.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 17, 2015 */ 2 | 3 | @font-face { 4 | font-family: 'open-sans'; 5 | src: url('open-sans.eot'); 6 | src: url('open-sans.eot?#iefix') format('embedded-opentype'), 7 | url('open-sans.woff2') format('woff2'), 8 | url('open-sans.woff') format('woff'), 9 | url('open-sans.ttf') format('truetype'), 10 | url('open-sans.svg#open-sans') format('svg'); 11 | font-weight: normal; 12 | font-style: normal; 13 | 14 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/open-sans/open-sans.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/open-sans/open-sans.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/open-sans/open-sans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/open-sans/open-sans.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/open-sans/open-sans.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/open-sans/open-sans.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/open-sans/open-sans.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/open-sans/open-sans.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/font/quicksand/quicksand.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 22, 2015 */ 2 | 3 | @font-face { 4 | font-family: 'quicksand'; 5 | src: url('quicksand.eot'); 6 | src: url('quicksand.eot?#iefix') format('embedded-opentype'), 7 | url('quicksand.woff2') format('woff2'), 8 | url('quicksand.woff') format('woff'), 9 | url('quicksand.ttf') format('truetype'), 10 | url('quicksand.svg#quicksand') format('svg'); 11 | font-weight: normal; 12 | font-style: normal; 13 | 14 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/quicksand/quicksand.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/quicksand/quicksand.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/quicksand/quicksand.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/quicksand/quicksand.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/quicksand/quicksand.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/quicksand/quicksand.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/quicksand/quicksand.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/quicksand/quicksand.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/font/sinkin-sans/sinkin-sans.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'sinkin-sans'; 3 | src: url('sinkin-sans.eot'); 4 | src: url('sinkin-sans.eot?#iefix') format('embedded-opentype'), 5 | url('sinkin-sans.woff') format('woff'), 6 | url('sinkin-sans.ttf') format('truetype'), 7 | url('sinkin-sans.svg#sinkin_sans400_regular') format('svg'); 8 | font-weight: normal; 9 | font-style: normal; 10 | 11 | } 12 | 13 | -------------------------------------------------------------------------------- /assets/reveal/lib/font/sinkin-sans/sinkin-sans.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/sinkin-sans/sinkin-sans.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/sinkin-sans/sinkin-sans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/sinkin-sans/sinkin-sans.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/sinkin-sans/sinkin-sans.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/sinkin-sans/sinkin-sans.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/source-sans-pro/source-sans-pro.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Source Sans Pro'; 3 | src: url('source-sans-pro.eot'); 4 | src: url('source-sans-pro.eot?#iefix') format('embedded-opentype'), 5 | url('source-sans-pro.woff') format('woff'), 6 | url('source-sans-pro.ttf') format('truetype'); 7 | font-weight: normal; 8 | font-style: normal; 9 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/source-sans-pro/source-sans-pro.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/source-sans-pro/source-sans-pro.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/source-sans-pro/source-sans-pro.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/source-sans-pro/source-sans-pro.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/source-sans-pro/source-sans-pro.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/source-sans-pro/source-sans-pro.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/ubuntu/ubuntu.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 22, 2015 */ 2 | 3 | @font-face { 4 | font-family: 'ubuntu'; 5 | src: url('ubuntu.eot'); 6 | src: url('ubuntu.eot?#iefix') format('embedded-opentype'), 7 | url('ubuntu.woff2') format('woff2'), 8 | url('ubuntu.woff') format('woff'), 9 | url('ubuntu.ttf') format('truetype'), 10 | url('ubuntu.svg#ubuntu') format('svg'); 11 | font-weight: normal; 12 | font-style: normal; 13 | 14 | } -------------------------------------------------------------------------------- /assets/reveal/lib/font/ubuntu/ubuntu.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/ubuntu/ubuntu.eot -------------------------------------------------------------------------------- /assets/reveal/lib/font/ubuntu/ubuntu.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/ubuntu/ubuntu.ttf -------------------------------------------------------------------------------- /assets/reveal/lib/font/ubuntu/ubuntu.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/ubuntu/ubuntu.woff -------------------------------------------------------------------------------- /assets/reveal/lib/font/ubuntu/ubuntu.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/assets/reveal/lib/font/ubuntu/ubuntu.woff2 -------------------------------------------------------------------------------- /assets/reveal/lib/js/classList.js: -------------------------------------------------------------------------------- 1 | /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/ 2 | if(typeof document!=="undefined"&&!("classList" in document.createElement("a"))){(function(j){var a="classList",f="prototype",m=(j.HTMLElement||j.Element)[f],b=Object,k=String[f].trim||function(){return this.replace(/^\s+|\s+$/g,"")},c=Array[f].indexOf||function(q){var p=0,o=this.length;for(;p=5.2" 20 | }, 21 | "require-dev": { 22 | "phpunit/phpunit" : "*@stable", 23 | "10up/wp_mock" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 |
13 | for women everywhere 14 |
15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /functions.php: -------------------------------------------------------------------------------- 1 | $tag"; 48 | } 49 | 50 | return $tag; 51 | }, 10, 2 ); 52 | 53 | define( 'ACF_LITE', true ); 54 | 55 | require get_template_directory() . '/inc/custom-controls/kirki.php'; 56 | require get_template_directory() . '/inc/template-tags.php'; 57 | require get_template_directory() . '/inc/customizer.php'; 58 | require get_template_directory() . '/inc/reveal-settings.php'; 59 | require get_template_directory() . '/inc/post-type.php'; 60 | require get_template_directory() . '/inc/meta-functions.php'; 61 | require get_template_directory() . '/inc/dashboard-widgets.php'; 62 | require get_template_directory() . '/inc/acf/acf.php'; 63 | require get_template_directory() . '/inc/acf-image-select/acf-image-select.php'; 64 | require get_template_directory() . '/inc/acf-url-field/acf-website_field.php'; 65 | require get_template_directory() . '/inc/acf-fields.php'; -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | <?php wp_title( '', true, 'right' ) ?> 14 | 15 | 16 | 17 | 18 | 19 | 24 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |
52 |
-------------------------------------------------------------------------------- /inc/acf-image-select/acf-image-select.php: -------------------------------------------------------------------------------- 1 | ID ); 57 | } 58 | 59 | 60 | // l10n 61 | $l10n = apply_filters( 'acf/input/admin_l10n', array( 62 | 'core' => array( 63 | 'expand_details' => __("Expand Details",'acf'), 64 | 'collapse_details' => __("Collapse Details",'acf') 65 | ), 66 | 'validation' => array( 67 | 'error' => __("Validation Failed. One or more fields below are required.",'acf') 68 | ) 69 | )); 70 | 71 | 72 | // options 73 | $o = array( 74 | 'post_id' => $post_id, 75 | 'nonce' => wp_create_nonce( 'acf_nonce' ), 76 | 'admin_url' => admin_url(), 77 | 'ajaxurl' => admin_url( 'admin-ajax.php' ), 78 | 'wp_version' => $wp_version 79 | ); 80 | 81 | 82 | // toolbars 83 | $t = array(); 84 | 85 | if( is_array($toolbars) ){ foreach( $toolbars as $label => $rows ){ 86 | 87 | $label = sanitize_title( $label ); 88 | $label = str_replace('-', '_', $label); 89 | 90 | $t[ $label ] = array(); 91 | 92 | if( is_array($rows) ){ foreach( $rows as $k => $v ){ 93 | 94 | $t[ $label ][ 'theme_advanced_buttons' . $k ] = implode(',', $v); 95 | 96 | }} 97 | }} 98 | 99 | 100 | ?> 101 | 119 | -------------------------------------------------------------------------------- /inc/acf/core/fields/color_picker.php: -------------------------------------------------------------------------------- 1 | name = 'color_picker'; 19 | $this->label = __("Color Picker",'acf'); 20 | $this->category = __("jQuery",'acf'); 21 | $this->defaults = array( 22 | 'default_value' => '', 23 | ); 24 | 25 | 26 | // do not delete! 27 | parent::__construct(); 28 | 29 | } 30 | 31 | 32 | /* 33 | * create_field() 34 | * 35 | * Create the HTML interface for your field 36 | * 37 | * @param $field - an array holding all the field's data 38 | * 39 | * @type action 40 | * @since 3.6 41 | * @date 23/01/13 42 | */ 43 | 44 | function create_field( $field ) 45 | { 46 | // vars 47 | $o = array( 'id', 'class', 'name', 'value' ); 48 | $e = ''; 49 | 50 | 51 | $e .= '
'; 52 | $e .= ' 87 | 88 | 89 | 90 | 91 | 92 | 'text', 95 | 'name' => 'fields[' .$key.'][default_value]', 96 | 'value' => $field['default_value'], 97 | 'placeholder' => '#ffffff' 98 | )); 99 | ?> 100 | 101 | 102 | -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-bg_flat_55_5bc6f5_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-bg_flat_55_5bc6f5_40x100.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-bg_highlight-soft_0_444444_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-bg_highlight-soft_0_444444_1x100.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /inc/acf/core/fields/date_picker/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/core/fields/date_picker/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /inc/acf/core/fields/email.php: -------------------------------------------------------------------------------- 1 | name = 'email'; 19 | $this->label = __("Email",'acf'); 20 | $this->defaults = array( 21 | 'default_value' => '', 22 | 'placeholder' => '', 23 | 'prepend' => '', 24 | 'append' => '' 25 | ); 26 | 27 | 28 | // do not delete! 29 | parent::__construct(); 30 | } 31 | 32 | 33 | /* 34 | * create_field() 35 | * 36 | * Create the HTML interface for your field 37 | * 38 | * @param $field - an array holding all the field's data 39 | * 40 | * @type action 41 | * @since 3.6 42 | * @date 23/01/13 43 | */ 44 | 45 | function create_field( $field ) 46 | { 47 | // vars 48 | $o = array( 'id', 'class', 'name', 'value', 'placeholder' ); 49 | $e = ''; 50 | 51 | 52 | // prepend 53 | if( $field['prepend'] !== "" ) 54 | { 55 | $field['class'] .= ' acf-is-prepended'; 56 | $e .= '
' . $field['prepend'] . '
'; 57 | } 58 | 59 | 60 | // append 61 | if( $field['append'] !== "" ) 62 | { 63 | $field['class'] .= ' acf-is-appended'; 64 | $e .= '
' . $field['append'] . '
'; 65 | } 66 | 67 | 68 | $e .= '
'; 69 | $e .= ' 104 | 105 | 106 | 107 |

108 | 109 | 110 | 'text', 114 | 'name' => 'fields['.$key.'][default_value]', 115 | 'value' => $field['default_value'], 116 | )); 117 | 118 | ?> 119 | 120 | 121 | 122 | 123 | 124 |

125 | 126 | 127 | 'text', 130 | 'name' => 'fields[' .$key.'][placeholder]', 131 | 'value' => $field['placeholder'], 132 | )); 133 | ?> 134 | 135 | 136 | 137 | 138 | 139 |

140 | 141 | 142 | 'text', 145 | 'name' => 'fields[' .$key.'][prepend]', 146 | 'value' => $field['prepend'], 147 | )); 148 | ?> 149 | 150 | 151 | 152 | 153 | 154 |

155 | 156 | 157 | 'text', 160 | 'name' => 'fields[' .$key.'][append]', 161 | 'value' => $field['append'], 162 | )); 163 | ?> 164 | 165 | 166 | -------------------------------------------------------------------------------- /inc/acf/core/fields/message.php: -------------------------------------------------------------------------------- 1 | name = 'message'; 19 | $this->label = __("Message",'acf'); 20 | $this->category = __("Layout",'acf'); 21 | $this->defaults = array( 22 | 'message' => '', 23 | ); 24 | 25 | 26 | // do not delete! 27 | parent::__construct(); 28 | } 29 | 30 | 31 | /* 32 | * create_field() 33 | * 34 | * Create the HTML interface for your field 35 | * 36 | * @param $field - an array holding all the field's data 37 | * 38 | * @type action 39 | * @since 3.6 40 | * @date 23/01/13 41 | */ 42 | 43 | function create_field( $field ) 44 | { 45 | echo wpautop( $field['message'] ); 46 | } 47 | 48 | 49 | /* 50 | * create_options() 51 | * 52 | * Create extra options for your field. This is rendered when editing a field. 53 | * The value of $field['name'] can be used (like bellow) to save extra data to the $field 54 | * 55 | * @param $field - an array holding all the field's data 56 | * 57 | * @type action 58 | * @since 3.6 59 | * @date 23/01/13 60 | */ 61 | 62 | function create_options( $field ) 63 | { 64 | // vars 65 | $key = $field['name']; 66 | 67 | ?> 68 | 69 | 70 | 71 |



72 | wpautop

73 | 74 | 75 | 'textarea', 78 | 'class' => 'textarea', 79 | 'name' => 'fields['.$key.'][message]', 80 | 'value' => $field['message'], 81 | )); 82 | ?> 83 | 84 | 85 | -------------------------------------------------------------------------------- /inc/acf/core/fields/password.php: -------------------------------------------------------------------------------- 1 | name = 'password'; 19 | $this->label = __("Password",'acf'); 20 | $this->defaults = array( 21 | 'placeholder' => '', 22 | 'prepend' => '', 23 | 'append' => '' 24 | ); 25 | 26 | 27 | // do not delete! 28 | parent::__construct(); 29 | } 30 | 31 | 32 | /* 33 | * create_field() 34 | * 35 | * Create the HTML interface for your field 36 | * 37 | * @param $field - an array holding all the field's data 38 | * 39 | * @type action 40 | * @since 3.6 41 | * @date 23/01/13 42 | */ 43 | 44 | function create_field( $field ) 45 | { 46 | // vars 47 | $o = array( 'id', 'class', 'name', 'value', 'placeholder' ); 48 | $e = ''; 49 | 50 | 51 | // prepend 52 | if( $field['prepend'] !== "" ) 53 | { 54 | $field['class'] .= ' acf-is-prepended'; 55 | $e .= '
' . $field['prepend'] . '
'; 56 | } 57 | 58 | 59 | // append 60 | if( $field['append'] !== "" ) 61 | { 62 | $field['class'] .= ' acf-is-appended'; 63 | $e .= '
' . $field['append'] . '
'; 64 | } 65 | 66 | 67 | $e .= '
'; 68 | $e .= ' 103 | 104 | 105 | 106 |

107 | 108 | 109 | 'text', 112 | 'name' => 'fields[' .$key.'][placeholder]', 113 | 'value' => $field['placeholder'], 114 | )); 115 | ?> 116 | 117 | 118 | 119 | 120 | 121 |

122 | 123 | 124 | 'text', 127 | 'name' => 'fields[' .$key.'][prepend]', 128 | 'value' => $field['prepend'], 129 | )); 130 | ?> 131 | 132 | 133 | 134 | 135 | 136 |

137 | 138 | 139 | 'text', 142 | 'name' => 'fields[' .$key.'][append]', 143 | 'value' => $field['append'], 144 | )); 145 | ?> 146 | 147 | 148 | -------------------------------------------------------------------------------- /inc/acf/core/fields/tab.php: -------------------------------------------------------------------------------- 1 | name = 'tab'; 19 | $this->label = __("Tab",'acf'); 20 | $this->category = __("Layout",'acf'); 21 | 22 | 23 | // do not delete! 24 | parent::__construct(); 25 | } 26 | 27 | 28 | /* 29 | * create_field() 30 | * 31 | * Create the HTML interface for your field 32 | * 33 | * @param $field - an array holding all the field's data 34 | * 35 | * @type action 36 | * @since 3.6 37 | * @date 23/01/13 38 | */ 39 | 40 | function create_field( $field ) 41 | { 42 | echo '
' . $field['label'] . '
'; 43 | } 44 | 45 | 46 | 47 | /* 48 | * create_options() 49 | * 50 | * Create extra options for your field. This is rendered when editing a field. 51 | * The value of $field['name'] can be used (like bellow) to save extra data to the $field 52 | * 53 | * @param $field - an array holding all the field's data 54 | * 55 | * @type action 56 | * @since 3.6 57 | * @date 23/01/13 58 | */ 59 | 60 | function create_options( $field ) 61 | { 62 | ?> 63 | 64 | 65 | 66 | 67 | 68 |

69 |

70 |

71 | 72 | 73 | -------------------------------------------------------------------------------- /inc/acf/core/fields/true_false.php: -------------------------------------------------------------------------------- 1 | name = 'true_false'; 19 | $this->label = __("True / False",'acf'); 20 | $this->category = __("Choice",'acf'); 21 | $this->defaults = array( 22 | 'default_value' => 0, 23 | 'message' => '', 24 | ); 25 | 26 | 27 | // do not delete! 28 | parent::__construct(); 29 | 30 | } 31 | 32 | 33 | /* 34 | * create_field() 35 | * 36 | * Create the HTML interface for your field 37 | * 38 | * @param $field - an array holding all the field's data 39 | * 40 | * @type action 41 | * @since 3.6 42 | * @date 23/01/13 43 | */ 44 | 45 | function create_field( $field ) 46 | { 47 | // html 48 | echo '
    '; 49 | echo ''; 50 | $selected = ($field['value'] == 1) ? 'checked="yes"' : ''; 51 | echo '
  • '; 52 | 53 | echo '
'; 54 | } 55 | 56 | 57 | /* 58 | * create_options() 59 | * 60 | * Create extra options for your field. This is rendered when editing a field. 61 | * The value of $field['name'] can be used (like bellow) to save extra data to the $field 62 | * 63 | * @type action 64 | * @since 3.6 65 | * @date 23/01/13 66 | * 67 | * @param $field - an array holding all the field's data 68 | */ 69 | 70 | function create_options( $field ) 71 | { 72 | // vars 73 | $key = $field['name']; 74 | 75 | 76 | ?> 77 | 78 | 79 | 80 |

81 | 82 | 83 | 'text', 86 | 'name' => 'fields['.$key.'][message]', 87 | 'value' => $field['message'], 88 | )); 89 | ?> 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 'true_false', 101 | 'name' => 'fields['.$key.'][default_value]', 102 | 'value' => $field['default_value'], 103 | )); 104 | 105 | ?> 106 | 107 | 108 | -------------------------------------------------------------------------------- /inc/acf/core/views/meta_box_options.php: -------------------------------------------------------------------------------- 1 | ID); 19 | 20 | 21 | ?> 22 | 23 | 24 | 28 | 39 | 40 | 41 | 44 | 61 | 62 | 63 | 66 | 81 | 82 | 83 | 88 | 115 | 116 |
25 | 26 |

from lowest to highest",'acf'); ?>

27 |
29 | 'number', 33 | 'name' => 'menu_order', 34 | 'value' => $post->menu_order, 35 | )); 36 | 37 | ?> 38 |
42 | 43 | 45 | 'select', 49 | 'name' => 'options[position]', 50 | 'value' => $options['position'], 51 | 'choices' => array( 52 | 'acf_after_title' => __("High (after title)",'acf'), 53 | 'normal' => __("Normal (after content)",'acf'), 54 | 'side' => __("Side",'acf'), 55 | ), 56 | 'default_value' => 'normal' 57 | )); 58 | 59 | ?> 60 |
64 | 65 | 67 | 'select', 71 | 'name' => 'options[layout]', 72 | 'value' => $options['layout'], 73 | 'choices' => array( 74 | 'no_box' => __("Seamless (no metabox)",'acf'), 75 | 'default' => __("Standard (WP metabox)",'acf'), 76 | ) 77 | )); 78 | 79 | ?> 80 |
84 | 85 |

Select items to hide them from the edit screen",'acf'); ?>

86 |

87 |
89 | 'checkbox', 93 | 'name' => 'options[hide_on_screen]', 94 | 'value' => $options['hide_on_screen'], 95 | 'choices' => array( 96 | 'permalink' => __("Permalink", 'acf'), 97 | 'the_content' => __("Content Editor",'acf'), 98 | 'excerpt' => __("Excerpt", 'acf'), 99 | 'custom_fields' => __("Custom Fields", 'acf'), 100 | 'discussion' => __("Discussion", 'acf'), 101 | 'comments' => __("Comments", 'acf'), 102 | 'revisions' => __("Revisions", 'acf'), 103 | 'slug' => __("Slug", 'acf'), 104 | 'author' => __("Author", 'acf'), 105 | 'format' => __("Format", 'acf'), 106 | 'featured_image' => __("Featured Image", 'acf'), 107 | 'categories' => __("Categories", 'acf'), 108 | 'tags' => __("Tags", 'acf'), 109 | 'send-trackbacks' => __("Send Trackbacks", 'acf'), 110 | ) 111 | )); 112 | 113 | ?> 114 |
-------------------------------------------------------------------------------- /inc/acf/images/add-ons/cf7-field-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/add-ons/cf7-field-thumb.jpg -------------------------------------------------------------------------------- /inc/acf/images/add-ons/date-time-field-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/add-ons/date-time-field-thumb.jpg -------------------------------------------------------------------------------- /inc/acf/images/add-ons/flexible-content-field-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/add-ons/flexible-content-field-thumb.jpg -------------------------------------------------------------------------------- /inc/acf/images/add-ons/gallery-field-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/add-ons/gallery-field-thumb.jpg -------------------------------------------------------------------------------- /inc/acf/images/add-ons/google-maps-field-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/add-ons/google-maps-field-thumb.jpg -------------------------------------------------------------------------------- /inc/acf/images/add-ons/gravity-forms-field-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/add-ons/gravity-forms-field-thumb.jpg -------------------------------------------------------------------------------- /inc/acf/images/add-ons/options-page-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/add-ons/options-page-thumb.jpg -------------------------------------------------------------------------------- /inc/acf/images/add-ons/repeater-field-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/add-ons/repeater-field-thumb.jpg -------------------------------------------------------------------------------- /inc/acf/images/arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/arrows.png -------------------------------------------------------------------------------- /inc/acf/images/arrows@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/arrows@2x.png -------------------------------------------------------------------------------- /inc/acf/images/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/sprite.png -------------------------------------------------------------------------------- /inc/acf/images/sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/sprite@2x.png -------------------------------------------------------------------------------- /inc/acf/images/wpspin_light.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/wpspin_light.gif -------------------------------------------------------------------------------- /inc/acf/images/wpspin_light@2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/images/wpspin_light@2x.gif -------------------------------------------------------------------------------- /inc/acf/js/tinymce.code.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("code",function(e){function o(){e.windowManager.open({title:"Source code",body:{type:"textbox",name:"code",multiline:!0,minWidth:e.getParam("code_dialog_width",600),minHeight:e.getParam("code_dialog_height",Math.min(tinymce.DOM.getViewPort().h-200,500)),value:e.getContent({source_view:!0}),spellcheck:!1,style:"direction: ltr; text-align: left"},onSubmit:function(o){e.focus(),e.undoManager.transact(function(){e.setContent(o.data.code)}),e.selection.setCursorLocation(),e.nodeChanged()}})}e.addCommand("mceCodeEditor",o),e.addButton("code",{icon:"code",tooltip:"Source code",onclick:o}),e.addMenuItem("code",{icon:"code",text:"Source code",context:"tools",onclick:o})}); -------------------------------------------------------------------------------- /inc/acf/lang/acf-cs_CZ.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-cs_CZ.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-de_DE.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-es_ES.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-fa_IR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-fa_IR.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-fr_FR.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-he_IL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-he_IL.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-it_IT.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-ja.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-ja.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-nl_NL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-nl_NL.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-pl_PL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-pl_PL.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-pt_BR.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-ru-RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-ru-RU.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-ru_RU.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-sv_SE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-sv_SE.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-uk.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-uk.mo -------------------------------------------------------------------------------- /inc/acf/lang/acf-zh_CN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/acf/lang/acf-zh_CN.mo -------------------------------------------------------------------------------- /inc/custom-controls/.editorconfig: -------------------------------------------------------------------------------- 1 | # This file is for unifying the coding style for different editors and IDEs 2 | # editorconfig.org 3 | 4 | # WordPress Coding Standards 5 | # http://make.wordpress.org/core/handbook/coding-standards/ 6 | 7 | root = true 8 | 9 | [*] 10 | charset = utf-8 11 | end_of_line = lf 12 | insert_final_newline = true 13 | trim_trailing_whitespace = true 14 | indent_style = tab 15 | 16 | [*.json] 17 | indent_style = space 18 | indent_size = 2 19 | 20 | [*.css] 21 | indent_style = space 22 | indent_size = 2 23 | 24 | [*.txt] 25 | end_of_line = crlf 26 | -------------------------------------------------------------------------------- /inc/custom-controls/README.md: -------------------------------------------------------------------------------- 1 | # [Kirki](http://kirki.org) # 2 | 3 | Contributors: aristath, fovoc
4 | Tags: customizer, options famework, theme mods
5 | Donate link: http://kirki.org/
6 | Requires at least: 4.0
7 | Tested up to: 4.2
8 | Stable tag: 0.8.4
9 | License: GPLv2 or later
10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 | 12 | Tired of all the bloated options frameworks? You can use the WordPress Customizer instead, and extend it using Kirki! 13 | 14 | 15 | ## Description 16 | Kirki allows developers to add advanced controls to their customizer as well as customize the way the customizer looks and feels. 17 | 18 | You can add beautiful options to your theme\'s customizer panel and allow your users to tweak any aspect of their theme. You\'ve got 18 control types that you can use ( 9 default + 9 custom-made ), styling options for the customizer, as well as automatic calculations for your styles using the `output` argument on your controls. 19 | 20 | Converting from the default customizer to the syntax used by Kirki will only take a few minutes and will save you a lot of time in the long run. :) 21 | 22 | **CAUTION**: This plugin requires PHP 5.3 and is not compatible with PHP 5.2 23 | 24 | The following controls are included: 25 | 26 | * Radio-Buttonset 27 | * Radio-Image 28 | * Radio 29 | * Checkbox 30 | * Color 31 | * Color-Alpha 32 | * Dropdown Pages 33 | * Image 34 | * Background 35 | * Multicheck 36 | * Select 37 | * Slider 38 | * Text 39 | * Textarea 40 | * Upload 41 | * Switch 42 | * Toggle 43 | * Sortable 44 | * Number 45 | * Palette 46 | * Editor (TinyMCE) 47 | 48 | For documentation and examples on how to use these controls, please visit [kirki.org](http://kirki.org/#fields). 49 | 50 | 51 | ## Installation 52 | 53 | ### Method 1: Use as a plugin 54 | From your dashboard go to Plugins => Add New. 55 | Search for "Kirki" and install it. 56 | Once you install it, activate it. 57 | For configuration instructions please visit [kirki.org](http://kirki.org/#configuration) 58 | 59 | ### Method 2: Embed in your theme 60 | Please visit [kirki.org](http://kirki.org) for documentation and instructions. 61 | 62 | 63 | ### Sample Theme 64 | 65 | To get an idea on how to include Kirki in your next project, a [sample theme](https://github.com/aristath/kirki/wiki/Sample-Theme-with-Kirki) has been created. 66 | 67 | 68 | ## Current Version 69 | 70 | **0.8.4** 71 | April 6, 2014, dev time: 0.5 hours 72 | 73 | * Fix: Color sanitization was distorting 0 characters in the color hex. 74 | * Fix: Properly sanitizing ColorAlpha controls 75 | * Fix: Sanitizing more properties in the Fields class 76 | * Fix: removing remnant double-sanitization calls from the controls classes 77 | 78 | [Full Changelog found here](https://github.com/aristath/kirki/wiki/Changelog) 79 | -------------------------------------------------------------------------------- /inc/custom-controls/assets/css/hint.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/css/hint.css -------------------------------------------------------------------------------- /inc/custom-controls/assets/css/jquery-ui-1.10.0.custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/css/jquery-ui-1.10.0.custom.css -------------------------------------------------------------------------------- /inc/custom-controls/assets/css/kirki-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/css/kirki-styles.css -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/1c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/1c.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/2cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/2cl.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/2cr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/2cr.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/3cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/3cl.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/3cm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/3cm.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/3cr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/3cr.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/concave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/concave.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/convex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/convex.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fade.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/bubblegum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/bubblegum.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/dancing-script.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/dancing-script.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/dosis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/dosis.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/encode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/encode.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/lato.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/lato.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/league-gothic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/league-gothic.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/libre-baskerville.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/libre-baskerville.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/merriweather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/merriweather.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/montserrat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/montserrat.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/news-cycle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/news-cycle.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/open-sans.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/open-sans.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/palatino-linotype.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/palatino-linotype.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/quicksand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/quicksand.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/sinkin-sans.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/sinkin-sans.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/source-sans-pro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/source-sans-pro.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/fonts/ubuntu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/fonts/ubuntu.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/jquery.fs.stepper-arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/jquery.fs.stepper-arrows.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/none.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/none.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/slide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/slide.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/beige.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/beige.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/black.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/blood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/blood.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/league.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/league.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/moon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/moon.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/night.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/serif.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/serif.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/simple.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/sky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/sky.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/solarized.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/solarized.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/wc-miami.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/wc-miami.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/themes/white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/themes/white.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/transparency-grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/transparency-grid.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/images/zoom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/inc/custom-controls/assets/images/zoom.png -------------------------------------------------------------------------------- /inc/custom-controls/assets/js/jquery.fs.stepper.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Stepper v3.0.7 - 2014-11-25 3 | * A jQuery plugin for cross browser number inputs. Part of the Formstone Library. 4 | * http://formstone.it/stepper/ 5 | * 6 | * Copyright 2014 Ben Plum; MIT Licensed 7 | */ 8 | 9 | !function(a){"use strict";function b(b){b=a.extend({},l,b||{});for(var d=a(this),e=0,f=d.length;f>e;e++)c(d.eq(e),b);return d}function c(b,c){if(!b.hasClass("stepper-input")){c=a.extend({},c,b.data("stepper-options"));var f=parseFloat(b.attr("min")),g=parseFloat(b.attr("max")),h=parseFloat(b.attr("step"))||1;b.addClass("stepper-input").wrap('
').after(''+c.labels.up+''+c.labels.down+"");var i=b.parent(".stepper"),k=a.extend({$stepper:i,$input:b,$arrow:i.find(".stepper-arrow"),min:void 0===typeof f||isNaN(f)?!1:f,max:void 0===typeof g||isNaN(g)?!1:g,step:void 0===typeof h||isNaN(h)?1:h,timer:null},c);k.digits=j(k.step),b.is(":disabled")&&i.addClass("disabled"),i.on("keypress",".stepper-input",k,d),i.on("touchstart.stepper mousedown.stepper",".stepper-arrow",k,e),b.data("stepper",k)}}function d(a){var b=a.data;(38===a.keyCode||40===a.keyCode)&&(a.preventDefault(),g(b,38===a.keyCode?b.step:-b.step))}function e(b){b.preventDefault(),b.stopPropagation(),f(b);var c=b.data;if(!c.$input.is(":disabled")&&!c.$stepper.hasClass("disabled")){var d=a(b.target).hasClass("up")?c.step:-c.step;c.timer=h(c.timer,125,function(){g(c,d,!1)}),g(c,d),a("body").on("touchend.stepper mouseup.stepper",c,f)}}function f(b){b.preventDefault(),b.stopPropagation();var c=b.data;i(c.timer),a("body").off(".stepper")}function g(a,b){var c=parseFloat(a.$input.val()),d=b;void 0===typeof c||isNaN(c)?d=a.min!==!1?a.min:0:a.min!==!1&&ca.max&&(d-=a.step),d!==c&&(d=k(d,a.digits),a.$input.val(d).trigger("change"))}function h(a,b,c){return i(a),setInterval(c,b)}function i(a){a&&(clearInterval(a),a=null)}function j(a){var b=String(a);return b.indexOf(".")>-1?b.length-b.indexOf(".")-1:0}function k(a,b){var c=Math.pow(10,b);return Math.round(a*c)/c}var l={customClass:"",labels:{up:"Up",down:"Down"}},m={defaults:function(b){return l=a.extend(l,b||{}),"object"==typeof this?a(this):!0},destroy:function(){return a(this).each(function(){var b=a(this).data("stepper");b&&(b.$stepper.off(".stepper").find(".stepper-arrow").remove(),b.$input.unwrap().removeClass("stepper-input"))})},disable:function(){return a(this).each(function(){var b=a(this).data("stepper");b&&(b.$input.attr("disabled","disabled"),b.$stepper.addClass("disabled"))})},enable:function(){return a(this).each(function(){var b=a(this).data("stepper");b&&(b.$input.attr("disabled",null),b.$stepper.removeClass("disabled"))})}};a.fn.stepper=function(a){return m[a]?m[a].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof a&&a?this:b.apply(this,arguments)},a.stepper=function(a){"defaults"===a&&m.defaults.apply(this,Array.prototype.slice.call(arguments,1))}}(jQuery,this); -------------------------------------------------------------------------------- /inc/custom-controls/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aristath/kirki", 3 | "type": "library", 4 | "description": "Extending the WordPress customizer", 5 | "homepage": "http://kirki.org", 6 | "license": "GPLv2 or later", 7 | "authors": [ 8 | { 9 | "name" : "aristath", 10 | "email" : "aristath@gmail.com", 11 | "homepage" : "http://aristeides.com" 12 | }, 13 | { 14 | "name" : "fovoc", 15 | "email" : "kalliris.d@gmail.com", 16 | "homepage" : "https://github.com/fovoc" 17 | } 18 | ], 19 | "require": { 20 | "php": ">=5.2" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/class-kirki-builder.php: -------------------------------------------------------------------------------- 1 | settings = new Kirki_Settings(); 14 | $this->controls = new Kirki_Controls(); 15 | add_action( 'customize_register', array( $this, 'build' ), 99 ); 16 | 17 | } 18 | 19 | /** 20 | * Build the customizer fields. 21 | * Parses all fields and creates the setting & control for each of them. 22 | */ 23 | public function build( $wp_customize ) { 24 | 25 | include_once( KIRKI_PATH . '/includes/class-kirki-control.php' ); 26 | include_once( KIRKI_PATH . '/includes/class-kirki-controls.php' ); 27 | 28 | $fields = Kirki::fields()->get_all(); 29 | 30 | // Early exit if controls are not set or if they're empty 31 | if ( empty( $fields ) ) { 32 | return; 33 | } 34 | 35 | foreach ( $fields as $field ) { 36 | $this->build_field( $wp_customize, $field ); 37 | } 38 | 39 | } 40 | 41 | /** 42 | * Build a single field 43 | */ 44 | public function build_field( $wp_customize, $field ) { 45 | $this->settings->add( $wp_customize, $field ); 46 | $this->controls->add( $wp_customize, $field ); 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/class-kirki-control.php: -------------------------------------------------------------------------------- 1 | label; 16 | } 17 | 18 | /** 19 | * Markup for the field's description 20 | */ 21 | public function description() { 22 | 23 | if ( ! empty( $this->description ) ) { 24 | // The description has already been sanitized in the Fields class, no need to re-sanitize it. 25 | echo '' . $this->description . ''; 26 | } 27 | 28 | } 29 | 30 | /** 31 | * Markup for the field's title 32 | */ 33 | public function title() { 34 | echo ''; 35 | $this->label(); 36 | $this->description(); 37 | echo ''; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/class-kirki-controls.php: -------------------------------------------------------------------------------- 1 | register_control_type( 'Kirki_Controls_Custom_Control' ); 15 | $wp_customize->register_control_type( 'Kirki_Controls_Editor_Control' ); 16 | $wp_customize->register_control_type( 'Kirki_Controls_Multicheck_Control' ); 17 | $wp_customize->register_control_type( 'Kirki_Controls_Number_Control' ); 18 | $wp_customize->register_control_type( 'Kirki_Controls_Palette_Control' ); 19 | $wp_customize->register_control_type( 'Kirki_Controls_Radio_Image_Control' ); 20 | $wp_customize->register_control_type( 'Kirki_Controls_Slider_Control' ); 21 | $wp_customize->register_control_type( 'Kirki_Controls_Sortable_Control' ); 22 | $wp_customize->register_control_type( 'Kirki_Controls_Switch_Control' ); 23 | $wp_customize->register_control_type( 'Kirki_Controls_Toggle_Control' ); 24 | $wp_customize->register_control_type( 'Kirki_Controls_Color_Alpha_Control' ); 25 | $wp_customize->register_control_type( 'Kirki_Controls_Tab_Control' ); 26 | } 27 | 28 | /** 29 | * Add our fields. 30 | * We use the default WordPress Core Customizer fields when possible 31 | * and only add our own custom controls when needed. 32 | */ 33 | public function add( $wp_customize, $field ) { 34 | 35 | switch ( $field['type'] ) { 36 | 37 | case 'color' : 38 | $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, $field['id'], $field ) ); 39 | break; 40 | 41 | case 'color-alpha' : 42 | $wp_customize->add_control( new Kirki_Controls_Color_Alpha_Control( $wp_customize, $field['id'], $field ) ); 43 | break; 44 | 45 | case 'image' : 46 | $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, $field['id'], $field ) ); 47 | break; 48 | 49 | case 'upload' : 50 | $wp_customize->add_control( new WP_Customize_Upload_Control( $wp_customize, $field['id'], $field ) ); 51 | break; 52 | 53 | case 'switch' : 54 | $wp_customize->add_control( new Kirki_Controls_Switch_Control( $wp_customize, $field['id'], $field ) ); 55 | break; 56 | 57 | case 'toggle' : 58 | $wp_customize->add_control( new Kirki_Controls_Toggle_Control( $wp_customize, $field['id'], $field ) ); 59 | break; 60 | 61 | case 'radio-buttonset' : 62 | $wp_customize->add_control( new Kirki_Controls_Radio_ButtonSet_Control( $wp_customize, $field['id'], $field ) ); 63 | break; 64 | 65 | case 'radio-image' : 66 | $wp_customize->add_control( new Kirki_Controls_Radio_Image_Control( $wp_customize, $field['id'], $field ) ); 67 | break; 68 | 69 | case 'sortable' : 70 | $wp_customize->add_control( new Kirki_Controls_Sortable_Control( $wp_customize, $field['id'], $field ) ); 71 | break; 72 | 73 | case 'slider' : 74 | $wp_customize->add_control( new Kirki_Controls_Slider_Control( $wp_customize, $field['id'], $field ) ); 75 | break; 76 | 77 | case 'number' : 78 | $wp_customize->add_control( new Kirki_Controls_Number_Control( $wp_customize, $field['id'], $field ) ); 79 | break; 80 | 81 | case 'multicheck' : 82 | $wp_customize->add_control( new Kirki_Controls_MultiCheck_Control( $wp_customize, $field['id'], $field ) ); 83 | break; 84 | 85 | case 'palette' : 86 | $wp_customize->add_control( new Kirki_Controls_Palette_Control( $wp_customize, $field['id'], $field ) ); 87 | break; 88 | 89 | case 'custom' : 90 | $wp_customize->add_control( new Kirki_Controls_Custom_Control( $wp_customize, $field['id'], $field ) ); 91 | break; 92 | 93 | case 'editor' : 94 | $wp_customize->add_control( new Kirki_Controls_Editor_Control( $wp_customize, $field['id'], $field ) ); 95 | break; 96 | 97 | case 'background' : 98 | // Do nothing. 99 | // The 'background' field is just the sum of its sub-fields 100 | // which are created individually. 101 | break; 102 | 103 | default : 104 | $wp_customize->add_control( new WP_Customize_Control( $wp_customize, $field['id'], $field ) ); 105 | break; 106 | 107 | } 108 | 109 | } 110 | 111 | } 112 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/class-kirki-settings.php: -------------------------------------------------------------------------------- 1 | add_setting( $wp_customize, $field ); 17 | } 18 | 19 | } 20 | 21 | /** 22 | * Creates the setting that will be later used by the controls in the customizer. 23 | */ 24 | public function add_setting( $wp_customize, $field, $id_override = null, $default_override = null, $callback = null ) { 25 | 26 | $id = ( ! is_null( $id_override ) ) ? $id_override : $field['settings']; 27 | $default = ( ! is_null( $default_override ) ) ? $default_override : $field['default']; 28 | $callback = ( ! is_null( $callback ) ) ? $callback : $field['sanitize_callback']; 29 | 30 | $wp_customize->add_setting( $id, array( 31 | 'default' => $default, 32 | 'type' => $field['option_type'], 33 | 'capability' => 'edit_theme_options', 34 | 'transport' => $field['transport'], 35 | 'sanitize_callback' => $callback, 36 | ) ); 37 | 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/class-kirki.php: -------------------------------------------------------------------------------- 1 | fields; 44 | } 45 | 46 | /** 47 | * Shortcut method to get the configuration of the single instance. 48 | */ 49 | public static function config() { 50 | return self::get_instance()->config; 51 | } 52 | 53 | /** 54 | * Shortcut method to get the translation strings 55 | */ 56 | public static function i18n() { 57 | $config = self::config(); 58 | $options = $config->get_all(); 59 | return $options['i18n']; 60 | } 61 | 62 | /** 63 | * Shortcut method to get the font registry. 64 | */ 65 | public static function fonts() { 66 | return self::get_instance()->font_registry; 67 | } 68 | 69 | /** 70 | * Constructor is private, should only be called by get_instance() 71 | */ 72 | private function __construct() { 73 | 74 | // Create our main objects 75 | $this->font_registry = new Kirki_Fonts_Font_Registry(); 76 | $this->config = new Kirki_Config(); 77 | $this->fields = new Kirki_Fields(); 78 | $this->scripts = new Kirki_Scripts_Registry(); 79 | $this->styles = new Kirki_Styles(); 80 | 81 | // Hook into WP 82 | $init = new Kirki_Builder(); 83 | 84 | } 85 | 86 | } 87 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/controls/class-kirki-controls-color-alpha-control.php: -------------------------------------------------------------------------------- 1 | id ) ); 14 | $class = 'customize-control customize-control-' . $this->type; ?> 15 |
  • 16 | render_content(); ?> 17 |
  • 18 | 21 | 25 | 12 | 25 | 11 | 12 | 26 | value() ) ) { 17 | $savedValueCSV = implode( ',', $this->value() ); 18 | $values = $this->value(); 19 | } else { 20 | $savedValueCSV = $this->value(); 21 | $values = explode( ',', $this->value() ); 22 | } 23 | 24 | if ( self::$firstLoad ) { 25 | self::$firstLoad = false; 26 | 27 | ?> 28 | 51 | 53 | 68 | 11 | 12 | 24 | choices ) ) { 17 | return; 18 | } 19 | 20 | $name = '_customize-palette-' . $this->id; 21 | 22 | ?> 23 | title(); ?> 24 | 25 |
    26 | choices as $value => $colorSet ) : ?> 27 | link(); checked( $this->value(), $value ); ?>> 28 | 35 | 36 | 37 |
    38 | 39 | 40 | choices ) ) { 17 | return; 18 | } 19 | 20 | $name = '_customize-radio-' . $this->id; 21 | 22 | ?> 23 | title(); ?> 24 | 25 |
    26 | choices as $value => $label ) : ?> 27 | link(); checked( $this->value(), $value ); ?>> 28 | 31 | 32 | 33 |
    34 | 35 | choices ) ) { 17 | return; 18 | } 19 | 20 | $name = '_customize-radio-' . $this->id; 21 | 22 | ?> 23 | title(); ?> 24 |
    25 | choices as $value => $label ) : ?> 26 | link(); checked( $this->value(), $value ); ?>> 27 | 30 | 31 | 32 |
    33 | 34 | 17 | 24 | 25 |
    26 | 38 | choices ) || ! count( $this->choices ) ) { 19 | return; 20 | } 21 | 22 | ?> 23 | 45 | 14 | 15 | 28 | 14 | 26 | get_all_fonts(); 30 | } 31 | 32 | public static function get_font_choices() { 33 | $font_registry = Kirki::fonts(); 34 | return $font_registry->get_font_choices(); 35 | } 36 | 37 | public static function is_google_font( $font ) { 38 | $font_registry = Kirki::fonts(); 39 | return $font_registray->is_google_font( $font ); 40 | } 41 | 42 | public static function get_google_font_uri( $fonts, $weight = 400, $subset = 'all' ) { 43 | $font_registry = Kirki::fonts(); 44 | return $font_registry->get_google_font_uri( $fonts, $weight, $subset ); 45 | } 46 | 47 | public static function get_google_font_subsets() { 48 | $font_registry = Kirki::fonts(); 49 | return $font_registry->get_google_font_subsets(); 50 | } 51 | 52 | public static function choose_google_font_variants( $font, $variants = array() ) { 53 | $font_registry = Kirki::fonts(); 54 | return $font_registry->choose_google_font_variants( $font, $variants ); 55 | } 56 | 57 | public static function get_standard_fonts() { 58 | $font_registry = Kirki::fonts(); 59 | return $font_registry->get_standard_fonts(); 60 | } 61 | 62 | public static function get_font_stack( $font ) { 63 | $font_registry = Kirki::fonts(); 64 | return $font_registry->get_font_stack( $font ); 65 | } 66 | 67 | public static function sanitize_font_choice( $value ) { 68 | $font_registry = Kirki::fonts(); 69 | return $font_registry->sanitize_font_choice( $value ); 70 | } 71 | 72 | public static function get_google_fonts() { 73 | $font_registry = Kirki::fonts(); 74 | return $font_registry->get_google_fonts(); 75 | } 76 | 77 | } 78 | 79 | } 80 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/sanitize.php: -------------------------------------------------------------------------------- 1 | get_all(); 33 | 34 | if ( '' != $config['option_name'] ) { 35 | return sanitize_key( $input ); 36 | } 37 | 38 | $field = $wp_customize->get_control( $setting->id ); 39 | 40 | return ( array_key_exists( $input, $field->choices ) ) ? $input : $setting->default; 41 | 42 | } 43 | 44 | /** 45 | * Sanitize background repeat values 46 | * 47 | * @since 0.5 48 | */ 49 | function kirki_sanitize_bg_repeat( $value ) { 50 | $i18n = Kirki::i18n(); 51 | $valid = array( 52 | 'no-repeat' => $i18n['no-repeat'], 53 | 'repeat' => $i18n['repeat-all'], 54 | 'repeat-x' => $i18n['repeat-x'], 55 | 'repeat-y' => $i18n['repeat-y'], 56 | 'inherit' => $i18n['inherit'], 57 | ); 58 | 59 | return ( array_key_exists( $value, $valid ) ) ? $value : 'inherit'; 60 | 61 | } 62 | 63 | /** 64 | * Sanitize background size values 65 | * 66 | * @since 0.5 67 | */ 68 | function kirki_sanitize_bg_size( $value ) { 69 | $i18n = Kirki::i18n(); 70 | $valid = array( 71 | 'inherit' => $i18n['inherit'], 72 | 'cover' => $i18n['cover'], 73 | 'contain' => $i18n['contain'], 74 | ); 75 | 76 | return ( array_key_exists( $value, $valid ) ) ? $value : 'inherit'; 77 | 78 | } 79 | 80 | /** 81 | * Sanitize background attachment values 82 | * 83 | * @since 0.5 84 | */ 85 | function kirki_sanitize_bg_attach( $value ) { 86 | $i18n = Kirki::i18n(); 87 | $valid = array( 88 | 'inherit' => $i18n['inherit'], 89 | 'fixed' => $i18n['fixed'], 90 | 'scroll' => $i18n['scroll'], 91 | ); 92 | 93 | return ( array_key_exists( $value, $valid ) ) ? $value : 'inherit'; 94 | 95 | } 96 | 97 | /** 98 | * Sanitize background position values 99 | * 100 | * @since 0.5 101 | */ 102 | function kirki_sanitize_bg_position( $value ) { 103 | $i18n = Kirki::i18n(); 104 | $valid = array( 105 | 'left-top' => $i18n['left-top'], 106 | 'left-center' => $i18n['left-center'], 107 | 'left-bottom' => $i18n['left-bottom'], 108 | 'right-top' => $i18n['right-top'], 109 | 'right-center' => $i18n['right-center'], 110 | 'right-bottom' => $i18n['right-bottom'], 111 | 'center-top' => $i18n['center-top'], 112 | 'center-center' => $i18n['center-center'], 113 | 'center-bottom' => $i18n['center-bottom'], 114 | ); 115 | 116 | return ( array_key_exists( $value, $valid ) ) ? $value : 'center-center'; 117 | 118 | } 119 | 120 | /** 121 | * Sanitize sortable controls 122 | * 123 | * @since 0.8.3 124 | */ 125 | 126 | function kirki_sanitize_sortable( $value ) { 127 | if ( is_serialized( $value ) ) { 128 | return $value; 129 | } else { 130 | return serialize( $value ); 131 | } 132 | } 133 | 134 | /** 135 | * Sanitize RGBA colors 136 | * 137 | * @since 0.8.5 138 | */ 139 | function kirki_sanitize_rgba( $value ) { 140 | 141 | // If empty or an array return transparent 142 | if ( empty( $value ) || is_array( $value ) ) { 143 | return 'rgba(0,0,0,0)'; 144 | } 145 | 146 | // If string does not start with 'rgba', then treat as hex 147 | // sanitize the hex color and finally convert hex to rgba 148 | if ( false === strpos( $value, 'rgba' ) ) { 149 | return Kirki_Color::get_rgba( Kirki_Color::sanitize_hex( $value ) ); 150 | } 151 | 152 | // By now we know the string is formatted as an rgba color so we need to further sanitize it. 153 | $value = str_replace( ' ', '', $value ); 154 | sscanf( $value, 'rgba(%d,%d,%d,%f)', $red, $green, $blue, $alpha ); 155 | return 'rgba(' . $red . ',' . $green . ',' . $blue . ',' . $alpha . ')'; 156 | 157 | } 158 | 159 | /** 160 | * DOES NOT SANITIZE ANYTHING. 161 | * 162 | * @since 0.5 163 | */ 164 | function kirki_sanitize_unfiltered( $value ) { 165 | return $value; 166 | } 167 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/scripts/class-kirki-scripts-customizer-default-scripts.php: -------------------------------------------------------------------------------- 1 | get_all(); 11 | $kirki_url = ( '' != $config['url_path'] )? $config['url_path'] : KIRKI_URL; 12 | 13 | wp_enqueue_script( 'kirki_customizer_js', trailingslashit( $kirki_url ) . 'assets/js/customizer.js', array( 'jquery', 'customize-controls' ) ); 14 | wp_enqueue_script( 'serialize-js', trailingslashit( $kirki_url ) . 'assets/js/serialize.js' ); 15 | wp_enqueue_script( 'jquery-stepper-min-js', trailingslashit( $kirki_url ) . 'assets/js/jquery.fs.stepper.min.js', array( 'jquery' ) ); 16 | wp_enqueue_script( 'jquery-ui-core' ); 17 | wp_enqueue_script( 'jquery-ui-tooltip' ); 18 | wp_enqueue_script( 'jquery-stepper-min-js' ); 19 | 20 | } 21 | 22 | public function customize_controls_print_scripts() {} 23 | 24 | public function customize_controls_print_footer_scripts() {} 25 | 26 | public function wp_footer() {} 27 | 28 | } 29 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/scripts/class-kirki-scripts-customizer-postmessage.php: -------------------------------------------------------------------------------- 1 | 'postMessage', 8 | * 'js_vars' => array( 9 | * array( 10 | * 'element' => 'body', 11 | * 'function' => 'css', 12 | * 'property' => 'color', 13 | * ), 14 | * array( 15 | * 'element' => '#content', 16 | * 'function' => 'css', 17 | * 'property' => 'background-color', 18 | * ), 19 | * array( 20 | * 'element' => 'body', 21 | * 'function' => 'html', 22 | * ) 23 | * ) 24 | * 25 | */ 26 | class Kirki_Scripts_Customizer_PostMessage extends Kirki_Scripts_Enqueue_Script { 27 | 28 | public function wp_footer() { 29 | 30 | global $wp_customize; 31 | // Early exit if we're not in the customizer 32 | if ( ! isset( $wp_customize ) ) { 33 | return; 34 | } 35 | 36 | // Get an array of all the fields 37 | $fields = Kirki::fields()->get_all(); 38 | $script = ''; 39 | // Parse the fields and create the script. 40 | foreach ( $fields as $field ) { 41 | if ( isset( $field['transport'] ) && ! is_null( $field['js_vars'] ) && 'postMessage' == $field['transport'] ) { 42 | foreach ( $field['js_vars'] as $js_vars ) { 43 | $script .= 'wp.customize( \'' . $field['settings'] . '\', function( value ) {'; 44 | $script .= 'value.bind( function( newval ) {'; 45 | if ( 'html' == $js_vars['function'] ) { 46 | $script .= '$( \'' . esc_js( $js_vars["element"] ) . '\' ).html( newval );'; 47 | } elseif ( 'css' == $js_vars['function'] ) { 48 | $script .= '$(\'' . esc_js( $js_vars["element"] ) . '\').css(\'' . esc_js( $js_vars["property"] ) . '\', newval );'; 49 | } 50 | $script .= '}); });'; 51 | } 52 | } 53 | } 54 | 55 | if ( '' != $script ) { 56 | echo Kirki_Scripts_Registry::prepare( $script ); 57 | } 58 | 59 | } 60 | 61 | public function customize_controls_print_scripts() {} 62 | 63 | public function customize_controls_enqueue_scripts() {} 64 | 65 | public function customize_controls_print_footer_scripts() {} 66 | 67 | } 68 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/scripts/class-kirki-scripts-customizer-stepper.php: -------------------------------------------------------------------------------- 1 | get_all(); 15 | $scripts = array(); 16 | 17 | foreach ( $fields as $field ) { 18 | 19 | if ( 'number' == $field['type'] ) { 20 | $scripts[] = '$( "#customize-control-' . $field['settings'] . ' input[type=\'number\']").stepper();'; 21 | } 22 | 23 | } 24 | 25 | // No need to echo anything if the script is empty 26 | if ( empty( $scripts ) ) { 27 | return; 28 | } 29 | 30 | // Make sure we don't add any duplicates 31 | $scripts = array_unique( $scripts ); 32 | // Convert array to string 33 | $script = implode( '', $scripts ); 34 | 35 | echo Kirki_Scripts_Registry::prepare( $script ); 36 | 37 | } 38 | 39 | public function customize_controls_print_scripts() {} 40 | 41 | public function customize_controls_enqueue_scripts() {} 42 | 43 | public function wp_footer() {} 44 | 45 | } 46 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/scripts/class-kirki-scripts-customizer-tooltips.php: -------------------------------------------------------------------------------- 1 | get_all(); 14 | 15 | $scripts = array(); 16 | $script = ''; 17 | 18 | foreach ( $fields as $field ) { 19 | 20 | if ( ! empty( $field['help'] ) ) { 21 | $bubble_content = $field['help']; 22 | $content = ""; 23 | $scripts[] = '$( "' . $content . '" ).prependTo( "#customize-control-' . $field['settings'] . '" );'; 24 | } 25 | 26 | } 27 | 28 | // No need to echo anything if the script is empty 29 | if ( empty( $scripts ) ) { 30 | return; 31 | } 32 | 33 | // Make sure we don't add any duplicates 34 | $scripts = array_unique( $scripts ); 35 | // Convert array to string 36 | $script = implode( '', $scripts ); 37 | 38 | echo Kirki_Scripts_Registry::prepare( $script ); 39 | 40 | } 41 | 42 | public function customize_controls_print_scripts() {} 43 | 44 | public function customize_controls_enqueue_scripts() {} 45 | 46 | public function wp_footer() {} 47 | 48 | } 49 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/scripts/class-kirki-scripts-enqueue-script.php: -------------------------------------------------------------------------------- 1 | get_all(); 15 | 16 | // Early exit if no fields are found. 17 | if ( ! $fields || empty( $fields ) ) { 18 | return; 19 | } 20 | 21 | // Get an array of all the google fonts 22 | $google_fonts = Kirki::fonts()->get_google_fonts(); 23 | 24 | $fonts = array(); 25 | foreach ( $fields as $field ) { 26 | 27 | if ( isset( $field['output'] ) ) { 28 | 29 | // Check if this is a font-family control 30 | $is_font_family = isset( $field['output']['property'] ) && 'font-family' == $field['output']['property'] ? true : false; 31 | 32 | // Check if this is a font-weight control 33 | $is_font_weight = isset( $field['output']['property'] ) && 'font-weight' == $field['output']['property'] ? true : false; 34 | 35 | // Check if this is a font subset control 36 | $is_font_subset = isset( $field['output']['property'] ) && 'font-subset' == $field['output']['property'] ? true : false; 37 | 38 | if ( $is_font_family || $is_font_weight || $is_font_subset ) { 39 | // The value of this control 40 | $value = kirki_get_option( $field['settings_raw'] ); 41 | 42 | if ( $is_font_family ) { 43 | $fonts[]['font-family'] = $value; 44 | } else if ( $is_font_weight ) { 45 | $fonts[]['font-weight'] = $value; 46 | } else if ( $is_font_subset ) { 47 | $fonts[]['subsets'] = $value; 48 | } 49 | 50 | } 51 | 52 | } 53 | 54 | } 55 | 56 | foreach ( $fonts as $font ) { 57 | 58 | if ( isset( $font['font-family'] ) ) { 59 | 60 | $font_families = ( ! isset( $font_families ) ) ? array() : $font_families; 61 | $font_families[] = $font['font-family']; 62 | 63 | if ( Kirki::fonts()->is_google_font( $font['font-family'] ) ) { 64 | $has_google_font = true; 65 | } 66 | 67 | } 68 | 69 | if ( isset( $font['font-weight'] ) ) { 70 | 71 | $font_weights = ( ! isset( $font_weights ) ) ? array() : $font_weights; 72 | $font_weights[] = $font['font-weight']; 73 | 74 | } 75 | 76 | if ( isset( $font['subsets'] ) ) { 77 | 78 | $font_subsets = ( ! isset( $font_subsets ) ) ? array() : $font_subsets; 79 | $font_subsets[] = $font['subsets']; 80 | 81 | } 82 | 83 | } 84 | 85 | $font_families = ( ! isset( $font_families ) || empty( $font_families ) ) ? false : $font_families; 86 | $font_weights = ( ! isset( $font_weights ) || empty( $font_weights ) ) ? '400' : $font_weights; 87 | $font_subsets = ( ! isset( $font_subsets ) || empty( $font_subsets ) ) ? 'all' : $font_subsets; 88 | 89 | if ( ! isset( $has_google_font ) || ! $has_google_font ) { 90 | $font_families = false; 91 | } 92 | 93 | return ( $font_families ) ? Kirki::fonts()->get_google_font_uri( $font_families, $font_weights, $font_subsets ) : false; 94 | 95 | } 96 | 97 | /** 98 | * Enqueue Google fonts if necessary 99 | */ 100 | function google_font() { 101 | $google_link = $this->google_link(); 102 | 103 | if ( $google_link ) { 104 | wp_register_style( 'kirki_google_fonts', $google_link ); 105 | wp_enqueue_style( 'kirki_google_fonts' ); 106 | } 107 | } 108 | 109 | } 110 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/scripts/class-kirki-scripts-registry.php: -------------------------------------------------------------------------------- 1 | jQuery(document).ready(function($) { "use strict"; ' . $script . '});'; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/styles/class-kirki-styles-customizer.php: -------------------------------------------------------------------------------- 1 | get_all(); 15 | $root = ( '' != $config['url_path'] ) ? $config['url_path'] : KIRKI_URL; 16 | wp_enqueue_style( 'kirki-customizer-css', trailingslashit( $root ) . 'assets/css/customizer.css', NULL, '0.5' ); 17 | } 18 | 19 | /** 20 | * Add custom CSS rules to the head, applying our custom styles 21 | */ 22 | function custom_css() { 23 | 24 | $color = $this->get_admin_colors(); 25 | $config = Kirki::config(); 26 | 27 | $color_font = false; 28 | $color_accent = $config->get( 'color_accent', $color['icon_colors']['focus']); 29 | $color_back = $config->get( 'color_back', '#ffffff' ); 30 | $color_font = ( 170 > Kirki_Color::get_brightness( $color_back ) ) ? '#f2f2f2' : '#222'; 31 | 32 | $styles = ''; 66 | 67 | echo $styles; 68 | 69 | } 70 | 71 | /** 72 | * Get the admin color theme 73 | */ 74 | function get_admin_colors() { 75 | 76 | // Get the active admin theme 77 | global $_wp_admin_css_colors; 78 | 79 | // Get the user's admin colors 80 | $color = get_user_option( 'admin_color' ); 81 | // If no theme is active set it to 'fresh' 82 | if ( empty( $color ) || ! isset( $_wp_admin_css_colors[$color] ) ) { 83 | $color = 'fresh'; 84 | } 85 | 86 | $color = (array) $_wp_admin_css_colors[$color]; 87 | 88 | return $color; 89 | 90 | } 91 | 92 | } 93 | -------------------------------------------------------------------------------- /inc/custom-controls/includes/styles/class-kirki-styles.php: -------------------------------------------------------------------------------- 1 | THEMES 9 |

    reveal.js comes with a few themes built in:

    10 |

    Black (default) - White - League - Sky - Beige - Simple 11 | Serif - Blood - Night - Moon - Solarized

    12 |

    You can change the theme and many other settings in the Customizer.

    13 | 14 |

    Appearance > Customizer

    15 |
    16 |

    SLIDE OVERVIEW

    17 |

    Press ESC to enter the slide overview.

    18 |

    Hold down alt and click on any element to zoom in on it using zoom.js. Alt + click anywhere to zoom back out.

    19 |
    20 | 21 |

    PRETTY CODE

    22 |

    Code syntax highlighting courtesy of highlight.js.

    ' ); 23 | } 24 | 25 | /** 26 | * add Dashboard Widget via function wp_add_dashboard_widget() 27 | */ 28 | function wp_presenter_dashboard_setup() { 29 | 30 | wp_add_dashboard_widget( 'my_wp_dashboard_test', __( 'Welcome to WP Presenter!' ), 'wp_presenter_dashboard' ); 31 | } 32 | 33 | /** 34 | * use hook, to integrate new widget 35 | */ 36 | add_action( 'wp_dashboard_setup', 'wp_presenter_dashboard_setup' ); 37 | 38 | function wp_presenter_dashboard_widget_first() { ?> 39 |

    SPEAKER VIEW

    40 |

    There's a speaker view.

    41 |

    It includes a timer, preview of the upcoming slide as well as your speaker.

    42 |

    Press the S key to try it out.

    43 |
    44 |

    TAKE A MOMENT

    45 |

    Press B or . on your keyboard to pause the presentation.

    46 |

    This is helpful when you're on stage and want to take distracting slides off the screen.

    47 | remove_menu( 'wp-logo' ); // Remove the WordPress logo 33 | $wp_admin_bar->remove_menu( 'about' ); // Remove the about WordPress link 34 | $wp_admin_bar->remove_menu( 'wporg' ); // Remove the WordPress.org link 35 | $wp_admin_bar->remove_menu( 'documentation' ); // Remove the WordPress documentation link 36 | $wp_admin_bar->remove_menu( 'support-forums' ); // Remove the support forums link 37 | $wp_admin_bar->remove_menu( 'feedback' ); // Remove the feedback link 38 | $wp_admin_bar->remove_menu( 'view-site' ); // Remove the view site link 39 | $wp_admin_bar->remove_menu( 'updates' ); // Remove the updates link 40 | $wp_admin_bar->remove_menu( 'comments' ); // Remove the comments link 41 | $wp_admin_bar->remove_menu( 'new-content' ); // Remove the content link 42 | $wp_admin_bar->remove_menu( 'w3tc' ); // If you use w3 total cache remove the performance link 43 | $wp_admin_bar->remove_menu( 'my-account' ); // Remove the user details tab 44 | } 45 | 46 | add_action( 'wp_before_admin_bar_render', 'remove_admin_bar_links' ); 47 | 48 | function reveal_admin_menu() { 49 | 50 | // You can add `remove_action( 'admin_menu', 'reveal_admin_menu' );` to 51 | // your child theme if you don't want these removed 52 | remove_menu_page( 'edit.php' ); 53 | remove_submenu_page( 'edit.php', 'edit-tags.php?taxonomy=category' ); 54 | remove_submenu_page( 'edit.php', 'edit-tags.php?taxonomy=post_tag' ); 55 | remove_menu_page( 'edit-comments.php' ); 56 | } 57 | 58 | function reveal_remove_admin_bar_links() { 59 | 60 | // You can add `remove_action( 'wp_before_admin_bar_render', 'reveal_remove_admin_bar_links' );` 61 | // to your child theme if you don't want these removed 62 | global $wp_admin_bar; 63 | $wp_admin_bar->remove_node( 'new-post' ); 64 | } 65 | 66 | function reveal_flush_rewrites() { 67 | 68 | delete_option( 'rewrite_rules' ); 69 | } 70 | 71 | add_action( 'wp_before_admin_bar_render', 'reveal_remove_admin_bar_links' ); 72 | add_filter( 'show_admin_bar', '__return_false' ); 73 | add_action( 'after_switch_theme', 'reveal_flush_rewrites' ); 74 | add_action( 'switch_theme', 'reveal_flush_rewrites' ); 75 | remove_action( 'welcome_panel', 'wp_welcome_panel' ); -------------------------------------------------------------------------------- /inc/post-type.php: -------------------------------------------------------------------------------- 1 | _x( 'Slides', 'slide' ), 8 | 'singular_name' => _x( 'Slide', 'slide' ), 9 | 'add_new' => _x( 'Add New', 'slide' ), 10 | 'add_new_item' => _x( 'Add New Slide', 'slide' ), 11 | 'edit_item' => _x( 'Edit Slide', 'slide' ), 12 | 'new_item' => _x( 'New Slide', 'slide' ), 13 | 'view_item' => _x( 'View Slide', 'slide' ), 14 | 'search_items' => _x( 'Search Slides', 'slide' ), 15 | 'not_found' => _x( 'No slides found', 'slide' ), 16 | 'not_found_in_trash' => _x( 'No slides found in Trash', 'slide' ), 17 | 'parent_item_colon' => _x( 'Parent Slide:', 'slide' ), 18 | 'menu_name' => _x( 'Slides', 'slide' ), 19 | ); 20 | 21 | $args = array( 22 | 'labels' => $labels, 23 | 'hierarchical' => false, 24 | 25 | 'supports' => array( 'title', 'page-attributes' ), 26 | 27 | 'public' => true, 28 | 'show_ui' => true, 29 | 'show_in_menu' => true, 30 | 'menu_position' => 5, 31 | 'menu_icon' => 'dashicons-images-alt', 32 | 'show_in_nav_menus' => true, 33 | 'publicly_queryable' => true, 34 | 'exclude_from_search' => false, 35 | 'has_archive' => true, 36 | 'query_var' => true, 37 | 'can_export' => true, 38 | 'rewrite' => true, 39 | 'capability_type' => 'post', 40 | ); 41 | 42 | register_post_type( 'slide', $args ); 43 | } -------------------------------------------------------------------------------- /inc/template-tags.php: -------------------------------------------------------------------------------- 1 | is_main_query() && $query->is_home() ) { 19 | $query->set( 'post_type', 'slide' ); 20 | $query->set( 'posts_per_page', - 1 ); 21 | $query->set( 'paged', 1 ); 22 | $query->set( 'orderby', 'menu_order date' ); 23 | $query->set( 'order', 'ASC' ); 24 | } 25 | } 26 | 27 | add_action( 'pre_get_posts', 'reveal_homepage_slides' ); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "WP-Presenter", 3 | "private": true, 4 | "version": "1.0.0", 5 | "description": "Grunt base for the WP Presenter Theme.", 6 | "dependencies": {}, 7 | "devDependencies": { 8 | "grunt": "*", 9 | "grunt-contrib-uglify": "*", 10 | "grunt-contrib-watch": "*", 11 | "grunt-sass": "*", 12 | "grunt-contrib-cssmin": "*", 13 | "load-grunt-tasks": "*", 14 | "grunt-autoprefixer": "*", 15 | "grunt-wp-i18n": "*", 16 | "grunt-phpunit": "*" 17 | }, 18 | "author": "Chris Wiegman", 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/ChrisWiegman/wp-presenter" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | ./tests/phpunit 9 | 10 | 11 | 12 | 13 | ./includes 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronalfy/wp-presenter/b9c2c13c8ba16cbd115c137859a80f8a95f3d0c7/screenshot.png -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | /*! 2 | Theme Name: WP Presenter 3 | Theme URI: https://github.com/ChrisWiegman/wp-presenter 4 | Author: Chris Wiegman 5 | Author URI: http://www.trishasalas.com 6 | Description: Built using reveal.js, WP Presenter showcases the versatility of WordPress - it's more than "just a blog!" WP Presenter was created specifically to allow presentations to be built and presented from within a local WordPress environment, eliminating the need for a wifi connection at WordCamps. 7 | Version: 0.7.2 8 | License: GNU General Public License v2 or later 9 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 | Text Domain: wp-presenter 11 | Tags: 12 | GitHub Theme URI: https://github.com/ChrisWiegman/wp-presenter 13 | GitHub Branch: develop 14 | */ 15 | -------------------------------------------------------------------------------- /tests/phpunit/test-tools/TestCase.php: -------------------------------------------------------------------------------- 1 | setPreserveGlobalState( false ); 15 | 16 | return parent::run( $result ); 17 | } 18 | 19 | protected $testFiles = array(); 20 | 21 | public function setUp() { 22 | 23 | if ( ! empty( $this->testFiles ) ) { 24 | foreach ( $this->testFiles as $file ) { 25 | if ( file_exists( PROJECT . $file ) ) { 26 | require_once( PROJECT . $file ); 27 | } 28 | } 29 | } 30 | 31 | parent::setUp(); 32 | } 33 | 34 | public function assertActionsCalled() { 35 | 36 | $actions_not_added = $expected_actions = 0; 37 | try { 38 | WP_Mock::assertActionsCalled(); 39 | } catch ( \Exception $e ) { 40 | $actions_not_added = 1; 41 | $expected_actions = $e->getMessage(); 42 | } 43 | $this->assertEmpty( $actions_not_added, $expected_actions ); 44 | } 45 | 46 | public function ns( $function ) { 47 | 48 | if ( ! is_string( $function ) || false !== strpos( $function, '\\' ) ) { 49 | return $function; 50 | } 51 | 52 | $thisClassName = trim( get_class( $this ), '\\' ); 53 | 54 | if ( ! strpos( $thisClassName, '\\' ) ) { 55 | return $function; 56 | } 57 | 58 | // $thisNamespace is constructed by exploding the current class name on 59 | // namespace separators, running array_slice on that array starting at 0 60 | // and ending one element from the end (chops the class name off) and 61 | // imploding that using namespace separators as the glue. 62 | $thisNamespace = implode( '\\', array_slice( explode( '\\', $thisClassName ), 0, - 1 ) ); 63 | 64 | return "$thisNamespace\\$function"; 65 | } 66 | 67 | /** 68 | * Define constants after requires/includes 69 | * 70 | * See http://kpayne.me/2012/07/02/phpunit-process-isolation-and-constant-already-defined/ 71 | * for more details 72 | * 73 | * @param \Text_Template $template 74 | */ 75 | public function prepareTemplate( \Text_Template $template ) { 76 | 77 | $template->setVar( array( 78 | 'globals' => '$GLOBALS[\'__PHPUNIT_BOOTSTRAP\'] = \'' . $GLOBALS['__PHPUNIT_BOOTSTRAP'] . '\';', 79 | ) ); 80 | parent::prepareTemplate( $template ); 81 | } 82 | } --------------------------------------------------------------------------------