├── .distignore ├── .gitignore ├── .jshintrc ├── .travis.yml ├── 404.php ├── CHANGELOG.md ├── Gruntfile.js ├── archive-download.php ├── archive.php ├── bin └── wraith.sh ├── class-tgm-plugin-activation.php ├── comments.php ├── content-archive-download.php ├── content-contact.php ├── content-none.php ├── content-page-no-title.php ├── content-page.php ├── content-search.php ├── content-single-download.php ├── content-single.php ├── content.php ├── css ├── bootstrap.min.css ├── custom-editor-style.css ├── font-awesome.css ├── font-awesome.min.css └── ielt9.css ├── fonts ├── FontAwesome.otf ├── fontawesome-webfont.eot ├── fontawesome-webfont.svg ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff ├── fontawesome-webfont.woff2 ├── stamp-icons.eot ├── stamp-icons.svg ├── stamp-icons.ttf └── stamp-icons.woff ├── footer.php ├── front-page.php ├── functions.php ├── grunt └── version.js ├── header.php ├── home.php ├── images ├── about-us.png ├── background-images │ ├── background.jpg │ ├── background_thumbnail.jpg │ └── parallax-img │ │ └── parallax-img1.jpg ├── background1.png ├── background2.png ├── clients │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ └── client-no-image.jpg ├── companies │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ └── 6.png ├── gray-lines.png ├── loader-blue.gif ├── logo-2.png ├── logo-nav.png ├── no-thumbnail-latest-news.jpg ├── no-thumbnail-mobile.jpg ├── no-thumbnail.jpg ├── team │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ └── default.png └── tr-btn.png ├── inc ├── admin │ ├── class-remote-notification-client.php │ └── welcome-screen │ │ ├── css │ │ └── welcome.css │ │ ├── img │ │ └── ajax-loader.gif │ │ ├── js │ │ └── welcome.js │ │ ├── sections │ │ ├── changelog.php │ │ ├── free_pro.php │ │ ├── getting-started.php │ │ └── github.php │ │ └── welcome-screen.php ├── alpha-control │ ├── css │ │ └── style.css │ ├── img │ │ └── transparency-grid.png │ ├── js │ │ └── script.js │ └── parallax-one-alpha-control.php ├── class │ ├── class-ti-notify.php │ ├── parallax-one-info.php │ └── parallax-one-text-control.php ├── customizer-info │ ├── class │ │ ├── class-customizer-info-section.php │ │ └── class-singleton-customizer-info-section.php │ └── js │ │ └── customizer-info-controls.js ├── customizer-repeater │ ├── class │ │ └── customizer-repeater-control.php │ ├── css │ │ ├── admin-style.css │ │ └── fontawesome-iconpicker.min.css │ ├── functions.php │ ├── inc │ │ ├── customizer.php │ │ └── icons.php │ └── js │ │ ├── customizer_repeater.js │ │ ├── fontawesome-iconpicker.js │ │ └── fontawesome-iconpicker.min.js ├── customizer.php ├── extras.php ├── hooks.php ├── icon-picker │ ├── css │ │ ├── iconpicker.min.css │ │ └── stamp-icons.min.css │ └── js │ │ ├── iconpicker-control.js │ │ ├── iconpicker-engine.js │ │ └── iconpicker-engine.min.js ├── jetpack.php ├── template-tags.php └── translations │ ├── general.php │ ├── translations-contact-section.php │ ├── translations-footer-socials.php │ ├── translations-logos-section.php │ ├── translations-services-section.php │ ├── translations-team-section.php │ └── translations-testimonials-section.php ├── index.php ├── js ├── bootstrap.js ├── bootstrap.min.js ├── custom.all.js ├── custom.home.js ├── customizer.js ├── html5shiv.js ├── html5shiv.min.js ├── parallax_one_customizer.js ├── plugin.home.js ├── scrollReveal.js └── skip-link-focus-fix.js ├── languages ├── fr_FR.mo ├── fr_FR.po ├── parallax-one.pot ├── pl_PL.mo ├── pl_PL.po ├── pt_BR.mo ├── pt_BR.po ├── ru_RU.mo └── ru_RU.po ├── package.json ├── page.php ├── phpcs.xml ├── readme.md ├── rtl.css ├── screenshot.png ├── search.php ├── sections ├── parallax_one_contact_info_section.php ├── parallax_one_happy_customers_section.php ├── parallax_one_header_section.php ├── parallax_one_latest_news_section.php ├── parallax_one_logos_section.php ├── parallax_one_map_section.php ├── parallax_one_our_services_section.php ├── parallax_one_our_story_section.php ├── parallax_one_our_team_section.php └── parallax_one_ribbon_section.php ├── sidebar.php ├── single-download.php ├── single.php ├── style.css ├── template-blog.php ├── template-contact.php ├── template-fullwidth-no-title.php ├── template-fullwidth.php └── wpml-config.xml /.distignore: -------------------------------------------------------------------------------- 1 | .git 2 | .distignore 3 | .gitignore 4 | .travis.yml 5 | .jshintrc 6 | Gruntfile.js 7 | grunt 8 | phpcs.xml 9 | node_modules 10 | logs 11 | package.json 12 | npm-debug.log 13 | bin -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # IntelliJ project files 2 | .idea 3 | *.iml 4 | out 5 | gen 6 | node_modules 7 | logs 8 | npm-debug.log -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "eqnull": true, 6 | "expr": true, 7 | "immed": true, 8 | "noarg": true, 9 | "nonbsp": true, 10 | "onevar": true, 11 | "quotmark": "single", 12 | "trailing": true, 13 | "undef": true, 14 | "unused": true, 15 | "browser": true, 16 | "globals": { 17 | "_": false, 18 | "Backbone": false, 19 | "jQuery": false, 20 | "JSON": false, 21 | "wp": false 22 | } 23 | } -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | ## PHP versions to test against 4 | php: 5 | - "7.1" 6 | - "7.0" 7 | - "5.6" 8 | - "5.5" 9 | - "5.4" 10 | matrix: 11 | include: 12 | - php: "5.6" 13 | before_install: chmod +x bin/wraith.sh 14 | install: true 15 | before_script: 16 | env: TEST_SUITE=Wraith_Visual_Regression_Testing WRAITH_FAIL=5 17 | script: ./bin/wraith.sh 18 | - php: '5.3' 19 | dist: precise 20 | sudo: false 21 | dist: precise 22 | env: 23 | - WP_VERSION=master WP_MULTISITE=0 24 | install: 25 | - . $HOME/.nvm/nvm.sh 26 | - nvm install stable 27 | - nvm use stable 28 | - npm install 29 | - npm install grunt-cli -g 30 | before_script: 31 | ## Install the wordpress latest version 32 | - export WP_DEVELOP_DIR=/tmp/wordpress/ 33 | - mkdir -p $WP_DEVELOP_DIR 34 | - git clone --depth=1 --branch="$WP_VERSION" git://develop.git.wordpress.org/ $WP_DEVELOP_DIR 35 | - theme_slug=$(basename $(pwd)) 36 | - theme_dir=$WP_DEVELOP_DIR/src/wp-content/themes/$theme_slug 37 | - cd .. 38 | - mv $theme_slug $theme_dir 39 | - cd $WP_DEVELOP_DIR 40 | - cp wp-tests-config-sample.php wp-tests-config.php 41 | - sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php 42 | - sed -i "s/yourusernamehere/root/" wp-tests-config.php 43 | - sed -i "s/yourpasswordhere//" wp-tests-config.php 44 | - mysql -e 'CREATE DATABASE wordpress_test;' -uroot 45 | 46 | ## install PHPCS and Wordpress standards 47 | - export PATH="$HOME/.composer/vendor/bin:$PATH" 48 | - composer global require "squizlabs/php_codesniffer=2.9.0" 49 | - mkdir wordpress-coding-standards && curl -L https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/archive/master.tar.gz | tar xz --strip-components=1 -C wordpress-coding-standards 50 | - phpenv rehash 51 | - phpcs --config-set installed_paths $WP_DEVELOP_DIR/wordpress-coding-standards 52 | - phpenv rehash 53 | - cd $theme_dir 54 | 55 | script: 56 | grunt travis -------------------------------------------------------------------------------- /404.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 | 21 |
22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- 1 | // jshint node:true 2 | 3 | module.exports = function( grunt ) { 4 | 'use strict'; 5 | 6 | var loader = require( 'load-project-config' ), 7 | config = require( 'grunt-theme-fleet' ); 8 | config = config(); 9 | config.files.php.push( '!inc/admin/**/*.php' ); 10 | config.files.php.push( '!class-tgm-plugin-activation.php' ); 11 | config.files.js.push( '!inc/admin/**/*.js' ); 12 | config.files.js.push( '!inc/icon-picker/js/*.js' ); 13 | config.files.js.push( '!js/bootstrap.js' ); 14 | config.files.js.push( '!js/bootstrap.min.js' ); 15 | config.files.js.push( '!js/html5shiv.min.js' ); 16 | config.files.js.push( '!js/html5shiv.js' ); 17 | config.files.js.push( '!js/plugin.home.js' ); 18 | config.files.js.push( '!js/scrollReveal.js' ); 19 | config.files.js.push( '!js/skip-link-focus-fix.js' ); 20 | loader( grunt, config ).init(); 21 | }; 22 | -------------------------------------------------------------------------------- /archive-download.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 |
21 | 22 |
23 | '; 29 | 30 | if ( have_posts() ) { 31 | 32 | echo ''; 36 | 37 | while ( have_posts() ) { 38 | the_post(); 39 | 40 | /** 41 | * Include the Post-Format-specific template for the content. 42 | * If you want to override this in a child theme, then include a file 43 | * called content-___.php (where ___ is the Post Format name) and that will be used instead. 44 | */ 45 | get_template_part( 'content', 'archive-download' ); 46 | 47 | } 48 | 49 | the_posts_navigation(); 50 | 51 | } else { 52 | 53 | get_template_part( 'content', 'none' ); 54 | } 55 | ?> 56 | 57 | 58 |
59 | 60 |
61 |
62 | 63 | 64 | -------------------------------------------------------------------------------- /archive.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 |
24 | 25 |
26 | '; 32 | 33 | if ( have_posts() ) { 34 | 35 | echo ''; 39 | 40 | while ( have_posts() ) { 41 | the_post(); 42 | parallax_hook_entry_before(); 43 | /** 44 | * Include the Post-Format-specific template for the content. 45 | * If you want to override this in a child theme, then include a file 46 | * called content-___.php (where ___ is the Post Format name) and that will be used instead. 47 | */ 48 | get_template_part( 'content', get_post_format() ); 49 | parallax_hook_entry_after(); 50 | } 51 | the_posts_navigation(); 52 | 53 | } else { 54 | get_template_part( 'content', 'none' ); 55 | } 56 | ?> 57 | 58 | 59 |
60 | 61 | 62 | 63 |
64 | 65 |
66 | 67 | 68 | -------------------------------------------------------------------------------- /bin/wraith.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | WRAITH_SLUG=$(node -pe "require('./package.json').wraithSlug") 3 | WRAITH_FAIL=${WRAITH_FAIL:-5} 4 | body="{ 5 | 'request': { 6 | 'travis_event_type': '$TRAVIS_EVENT_TYPE', 7 | 'travis_pull_request': '$TRAVIS_PULL_REQUEST', 8 | 'travis_pull_request_branch': '$TRAVIS_PULL_REQUEST_BRANCH', 9 | 'travis_pull_request_slug': '$TRAVIS_PULL_REQUEST_SLUG', 10 | 'travis_repo_slug': '$TRAVIS_PULL_REQUEST_SLUG', 11 | 'travis_branch': '$TRAVIS_PULL_REQUEST_BRANCH', 12 | 'wraithSlug': $WRAITH_SLUG, 13 | 'wraithFail': $WRAITH_FAIL 14 | } 15 | }" 16 | 17 | echo "Triggering build of $TRAVIS_REPO_SLUG branch $TRAVIS_BRANCH on Travis. Calling Wraith API ..." 18 | 19 | output=$(curl -sw "%{http_code}" -X POST \ 20 | -H "Content-Type: application/json" \ 21 | -H "Accept: application/json" \ 22 | -H "Travis-API-Version: 3" \ 23 | -d "${body//\'/\"}" \ 24 | 'http://wraith.themeisle.com?api&travis') 25 | 26 | http_code="${output:${#output}-3}" 27 | if [ ${#output} -eq 3 ]; then 28 | body="" 29 | else 30 | body="${output:0:${#output}-3}" 31 | fi 32 | 33 | if [ $http_code != 200 ]; then 34 | echo "$output"; 35 | exit 1 36 | else 37 | echo "$output"; 38 | exit 0 39 | fi -------------------------------------------------------------------------------- /comments.php: -------------------------------------------------------------------------------- 1 | 20 | 21 |
22 | 23 | 24 | 25 |

26 | 46 |

47 | 48 | 1 && get_option( 'page_comments' ) ) : 50 | ?> 51 | 60 | 63 | 64 |
    65 | 'ol', 69 | 'short_ping' => true, 70 | 'avatar_size' => 60, 71 | ) 72 | ); 73 | ?> 74 |
75 | 76 | 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through 78 | ?> 79 | 88 | 91 | 92 | 93 | 94 | 98 |

99 | 100 | 101 | 102 | 103 |
104 | 105 | -------------------------------------------------------------------------------- /content-archive-download.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
10 |
11 | 22 |
23 | 24 |
25 | get_the_ID(), 29 | ) 30 | ); 31 | ?> 32 |
33 |
34 | -------------------------------------------------------------------------------- /content-contact.php: -------------------------------------------------------------------------------- 1 | 8 |
> 9 | 10 |
11 | 12 |
13 | ', '' ); ?> 14 |
15 |
16 |
17 | 18 |
19 | 20 | post_content === '' ? 'col-md-12' : 'col-md-6'; 24 | 25 | if ( $post->post_content !== '' ) : 26 | echo '
'; 27 | the_content(); 28 | echo '
'; 29 | endif; 30 | 31 | if ( ! empty( $parallax_one_contact_form_shortcode ) ) { 32 | echo '
'; 33 | echo do_shortcode( $parallax_one_contact_form_shortcode ); 34 | echo '
'; 35 | } 36 | ?> 37 | 38 |
39 | ', '' ); ?> 40 |
41 | 42 |
43 | 44 |
45 | '; 49 | echo do_shortcode( $parallax_one_contact_map_shortcode ); 50 | echo ''; 51 | } 52 | ?> 53 | 54 |
55 | -------------------------------------------------------------------------------- /content-none.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
12 | 15 | 16 |
17 | 18 | 19 |

20 | %2$s', 26 | esc_url( admin_url( 'post-new.php' ) ), 27 | esc_html__( 'Get started here', 'parallax-one' ) 28 | ) 29 | ); 30 | ?> 31 |

32 | 33 | 34 | 35 |

36 | 37 | 38 | 39 | 40 |

41 | 42 | 43 | 44 |
45 |
46 | -------------------------------------------------------------------------------- /content-page-no-title.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
> 10 | 11 | 12 |
18 | 19 |
20 | 21 | ', '' ); ?> 22 | 23 | 24 |
25 | -------------------------------------------------------------------------------- /content-page.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
> 10 | 11 | 12 | 16 |
17 | ', '' ); ?> 18 |
19 |
20 |
21 | 22 | 23 |
29 | 30 | '', 35 | ) 36 | ); 37 | ?> 38 |
39 | 40 | 43 | 44 |
45 | -------------------------------------------------------------------------------- /content-search.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 | 13 |
14 | 15 |
16 | 17 | 18 | 21 | 26 | 27 | 28 | <?php the_title_attribute(); ?> 29 | 30 | 33 | 34 | 35 | <?php the_title_attribute(); ?> 36 | 37 | 38 | 39 | 40 | 44 |
45 | 46 | 75 | 76 | ', esc_url( get_permalink() ) ), '' ); ?> 77 |
78 |
79 | 80 |
81 |
82 | post_content, '' ); 84 | if ( $ismore ) : 85 | the_content(); 86 | else : 87 | the_excerpt(); 88 | endif; 89 | ?> 90 | 91 | '', 96 | ) 97 | ); 98 | ?> 99 |
100 | 101 |
102 | -------------------------------------------------------------------------------- /content-single-download.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
> 10 |
11 | ', '' ); ?> 12 |
13 |
14 |
15 | 16 |
17 | 18 |
19 | 25 |
26 | 27 | 28 | '', 33 | ) 34 | ); 35 | ?> 36 |
37 | 38 | 41 |
42 | -------------------------------------------------------------------------------- /content-single.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
> 10 |
11 | ', '' ); ?> 12 |
13 |
14 | 15 | 28 |
29 | 30 |
31 | 32 | '', 37 | ) 38 | ); 39 | ?> 40 |
41 | 42 | 45 |
46 | -------------------------------------------------------------------------------- /content.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
title=""> 10 | 11 |
12 | 13 |
14 | 15 | 16 | 19 | 24 | 25 | 26 | <?php the_title_attribute(); ?> 27 | 28 | 31 | 32 | 33 | <?php the_title_attribute(); ?> 34 | 35 | 36 | 37 | 38 | 42 | 43 | '; 50 | echo '
' . esc_html__( 'Rating', 'parallax-one' ) . '
'; 51 | echo '
' . ( floor( $review_score ) / 10 ) . '
'; 52 | echo '
'; 53 | } 54 | } 55 | } 56 | ?> 57 | 58 | 59 | 60 | 83 | 84 | ', esc_url( get_permalink() ) ), '' ); ?> 85 |
86 |
87 | 88 |
89 |
90 | post_content, '' ); 92 | if ( $ismore ) : 93 | the_content( 94 | sprintf( /* translators: %s is post name in text reader */ 95 | esc_html__( 'Read more %s ...', 'parallax-one' ), 96 | /* translators: %s is post title */ 97 | sprintf( 98 | ' %s ', 99 | esc_html__( 'about ', 'parallax-one' ) . get_the_title() 100 | ) 101 | ) 102 | ); 103 | else : 104 | the_excerpt(); 105 | endif; 106 | ?> 107 | 108 | '', 113 | ) 114 | ); 115 | ?> 116 |
117 | 118 |
119 | -------------------------------------------------------------------------------- /css/custom-editor-style.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: #000; 3 | font-family: "Open Sans", Helvetica Neue, Sans-serif; 4 | } 5 | 6 | a { 7 | color: #008ed6; 8 | text-decoration: none; 9 | -webkit-transition: all ease 0.25s; 10 | transition: all ease 0.25s; 11 | } 12 | 13 | a:hover { 14 | color: #008ed6; 15 | text-decoration: none; 16 | } 17 | 18 | a:focus { 19 | outline: 1px dotted #008ed6; 20 | text-decoration: none; 21 | } 22 | 23 | /* HEADINGS */ 24 | h1, 25 | h2 { 26 | font-family: "Cabin", Helvetica Neue, Sans-serif; 27 | font-weight: 400; 28 | } 29 | 30 | h1 { 31 | font-size: 36px; 32 | line-height: 40px; 33 | -ms-word-wrap: break-word; 34 | word-wrap: break-word; 35 | } 36 | 37 | h2 { 38 | font-size: 30px; 39 | line-height: 34px; 40 | -ms-word-wrap: break-word; 41 | word-wrap: break-word; 42 | } 43 | 44 | h3 { 45 | font-size: 24px; 46 | line-height: 28px; 47 | -ms-word-wrap: break-word; 48 | word-wrap: break-word; 49 | } 50 | 51 | h4 { 52 | font-size: 18px; 53 | line-height: 22px; 54 | -ms-word-wrap: break-word; 55 | word-wrap: break-word; 56 | } 57 | 58 | h5 { 59 | font-size: 14px; 60 | line-height: 18px; 61 | -ms-word-wrap: break-word; 62 | word-wrap: break-word; 63 | } 64 | 65 | blockquote:before, 66 | blockquote:after, 67 | q:before, 68 | q:after { 69 | content: ""; 70 | } 71 | 72 | blockquote, 73 | q { 74 | quotes: "" ""; 75 | } 76 | 77 | hr { 78 | height: 1px; 79 | margin-bottom: 1.5em; 80 | border: 0; 81 | background-color: #ccc; 82 | } 83 | 84 | ul, 85 | ol { 86 | margin: 0 0 1.5em 0; 87 | padding-left: 20px; 88 | } 89 | 90 | ul { 91 | list-style: disc; 92 | } 93 | 94 | ol { 95 | list-style: decimal; 96 | } 97 | 98 | li > ul, 99 | li > ol { 100 | margin-bottom: 0; 101 | margin-left: 1.5em; 102 | } 103 | 104 | dt { 105 | font-weight: bold; 106 | } 107 | 108 | dd { 109 | margin: 0 1.5em 1.5em; 110 | } 111 | 112 | img { 113 | max-width: 100%; 114 | height: auto; 115 | border: 0; 116 | -ms-interpolation-mode: bicubic; 117 | vertical-align: middle; 118 | } 119 | 120 | table { 121 | width: 100%; 122 | margin: 0 0 1.5em; 123 | } 124 | 125 | table, 126 | th, 127 | td { 128 | border: 1px solid #eaeaea; 129 | } 130 | 131 | th, 132 | td { 133 | padding: 0.4em; 134 | } 135 | 136 | p { 137 | margin: 0 0 10px; 138 | color: #666; 139 | } 140 | 141 | dfn, 142 | cite, 143 | em, 144 | i { 145 | font-style: italic; 146 | } 147 | 148 | blockquote { 149 | margin: 0 0 20px; 150 | margin-bottom: 1.5em; 151 | padding: 15px 20px; 152 | border-left: 5px solid #eee; 153 | font-size: 17.5px; 154 | font-weight: 300; 155 | line-height: 24px; 156 | } 157 | 158 | blockquote p { 159 | color: #313131; 160 | font-weight: 300; 161 | } 162 | 163 | address { 164 | margin: 0 0 1.5em; 165 | } 166 | 167 | pre { 168 | overflow: auto; 169 | max-width: 100%; 170 | margin-bottom: 1.6em; 171 | padding: 1.6em; 172 | border: 1px solid #e7e7e7; 173 | background: #eee; 174 | background: #fafafa; 175 | font-family: "Courier 10 Pitch", Courier, monospace; 176 | font-size: 15px; 177 | font-size: 0.9375rem; 178 | line-height: 1.6; 179 | } 180 | 181 | code, 182 | kbd, 183 | tt, 184 | var { 185 | font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 186 | font-size: 15px; 187 | font-size: 0.9375rem; 188 | } 189 | 190 | abbr, 191 | acronym { 192 | border-bottom: 1px dotted #666; 193 | cursor: help; 194 | } 195 | 196 | mark, 197 | ins { 198 | background: #fff9c0; 199 | text-decoration: none; 200 | } 201 | 202 | big { 203 | font-size: 125%; 204 | } 205 | 206 | button, 207 | input[type="button"], 208 | input[type="reset"], 209 | input[type="submit"] { 210 | padding: 10px 30px 10px 30px; 211 | border: none; 212 | border: none; 213 | border-radius: 3px; 214 | color: #fff; 215 | background-color: #00a5f9; 216 | background-image: url(images/tr-btn.png); 217 | background-repeat: repeat-x; 218 | background-size: contain; 219 | text-shadow: none; 220 | font-size: 12px; 221 | font-weight: bold; 222 | line-height: 1.6; 223 | letter-spacing: 1px; 224 | text-transform: uppercase; 225 | -webkit-transition: none; 226 | transition: none; 227 | } 228 | 229 | button:hover, 230 | input[type="button"]:hover, 231 | input[type="reset"]:hover, 232 | input[type="submit"]:hover { 233 | border-color: inherit; 234 | background: #008ed6; 235 | } 236 | 237 | button:focus, 238 | input[type="button"]:focus, 239 | input[type="reset"]:focus, 240 | input[type="submit"]:focus, 241 | button:active, 242 | input[type="button"]:active, 243 | input[type="reset"]:active, 244 | input[type="submit"]:active { 245 | border-color: #aaa #bbb #bbb; 246 | -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); 247 | box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); 248 | } 249 | 250 | input[type="text"], 251 | input[type="email"], 252 | input[type="url"], 253 | input[type="password"], 254 | input[type="search"], 255 | input[type="tel"], 256 | input[type="time"], 257 | input[type="week"], 258 | input[type="month"], 259 | input[type="datetime-local"], 260 | input[type="datetime"], 261 | input[type="date"], 262 | input[type="color"], 263 | textarea, 264 | select { 265 | padding: 5px; 266 | border: 1px solid #dedede; 267 | border-radius: 3px; 268 | color: #666; 269 | } 270 | 271 | input[type="text"]:focus, 272 | input[type="email"]:focus, 273 | input[type="url"]:focus, 274 | input[type="password"]:focus, 275 | input[type="search"]:focus, 276 | textarea:focus { 277 | color: #111; 278 | } 279 | 280 | textarea { 281 | width: 100%; 282 | height: auto; 283 | min-height: 150px; 284 | padding: 10px; 285 | } 286 | 287 | input[type="date"], 288 | input[type="time"], 289 | input[type="datetime-local"], 290 | input[type="month"] { 291 | line-height: normal; 292 | } 293 | 294 | label { 295 | padding-right: 5px; 296 | vertical-align: middle; 297 | } 298 | 299 | code { 300 | padding: 2px 4px; 301 | border-radius: 4px; 302 | color: #c7254e; 303 | background-color: #f9f2f4; 304 | font-size: 90%; 305 | } 306 | 307 | code, 308 | kbd, 309 | tt, 310 | var { 311 | font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 312 | font-size: 15px; 313 | font-size: 0.9375rem; 314 | } 315 | -------------------------------------------------------------------------------- /css/ielt9.css: -------------------------------------------------------------------------------- 1 | .preloader { 2 | display: none; 3 | } 4 | -------------------------------------------------------------------------------- /fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /fonts/stamp-icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/fonts/stamp-icons.eot -------------------------------------------------------------------------------- /fonts/stamp-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/fonts/stamp-icons.ttf -------------------------------------------------------------------------------- /fonts/stamp-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/fonts/stamp-icons.woff -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 9 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /front-page.php: -------------------------------------------------------------------------------- 1 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 34 | 35 |
36 | 37 | 45 | -------------------------------------------------------------------------------- /grunt/version.js: -------------------------------------------------------------------------------- 1 | /* jshint node:true */ 2 | // https://github.com/kswedberg/grunt-version 3 | module.exports = { 4 | package: { 5 | options: { 6 | prefix: '"version"\\:\\s+"' 7 | }, 8 | src: 'package.json' 9 | }, 10 | style_ti: { 11 | options: { 12 | prefix: 'Version\\:\\s+' 13 | }, 14 | src: 'style.css' 15 | }, 16 | }; 17 | -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | section and everything up till
6 | * 7 | * @package parallax-one 8 | */ 9 | ?> 10 | 11 | class="no-js"> 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | '; 30 | parallax_hook_body_top(); 31 | ?> 32 |
33 |
34 |
35 |
36 |
37 | 38 | 39 | '; 50 | echo '
 
'; 51 | echo '
'; 52 | 53 | endif; 54 | 55 | endif; 56 | 57 | parallax_hook_header_before(); 58 | ?> 59 |
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 |
28 |
29 | '; 35 | if ( have_posts() ) { 36 | while ( have_posts() ) { 37 | the_post(); 38 | 39 | parallax_hook_entry_before(); 40 | /** 41 | * Include the Post-Format-specific template for the content. 42 | * If you want to override this in a child theme, then include a file 43 | * called content-___.php (where ___ is the Post Format name) and that will be used instead. 44 | */ 45 | get_template_part( 'content', get_post_format() ); 46 | 47 | parallax_hook_entry_after(); 48 | } 49 | 50 | the_posts_navigation(); 51 | 52 | } else { 53 | get_template_part( 'content', 'none' ); 54 | } 55 | ?> 56 | 57 |
58 | 59 | 60 | 61 |
62 | 63 |
64 | 65 | 66 | -------------------------------------------------------------------------------- /images/about-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/about-us.png -------------------------------------------------------------------------------- /images/background-images/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/background-images/background.jpg -------------------------------------------------------------------------------- /images/background-images/background_thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/background-images/background_thumbnail.jpg -------------------------------------------------------------------------------- /images/background-images/parallax-img/parallax-img1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/background-images/parallax-img/parallax-img1.jpg -------------------------------------------------------------------------------- /images/background1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/background1.png -------------------------------------------------------------------------------- /images/background2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/background2.png -------------------------------------------------------------------------------- /images/clients/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/clients/1.jpg -------------------------------------------------------------------------------- /images/clients/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/clients/2.jpg -------------------------------------------------------------------------------- /images/clients/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/clients/3.jpg -------------------------------------------------------------------------------- /images/clients/client-no-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/clients/client-no-image.jpg -------------------------------------------------------------------------------- /images/companies/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/companies/1.png -------------------------------------------------------------------------------- /images/companies/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/companies/2.png -------------------------------------------------------------------------------- /images/companies/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/companies/3.png -------------------------------------------------------------------------------- /images/companies/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/companies/4.png -------------------------------------------------------------------------------- /images/companies/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/companies/5.png -------------------------------------------------------------------------------- /images/companies/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/companies/6.png -------------------------------------------------------------------------------- /images/gray-lines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/gray-lines.png -------------------------------------------------------------------------------- /images/loader-blue.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/loader-blue.gif -------------------------------------------------------------------------------- /images/logo-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/logo-2.png -------------------------------------------------------------------------------- /images/logo-nav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/logo-nav.png -------------------------------------------------------------------------------- /images/no-thumbnail-latest-news.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/no-thumbnail-latest-news.jpg -------------------------------------------------------------------------------- /images/no-thumbnail-mobile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/no-thumbnail-mobile.jpg -------------------------------------------------------------------------------- /images/no-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/no-thumbnail.jpg -------------------------------------------------------------------------------- /images/team/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/team/1.jpg -------------------------------------------------------------------------------- /images/team/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/team/2.jpg -------------------------------------------------------------------------------- /images/team/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/team/3.jpg -------------------------------------------------------------------------------- /images/team/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/team/default.png -------------------------------------------------------------------------------- /images/tr-btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/images/tr-btn.png -------------------------------------------------------------------------------- /inc/admin/welcome-screen/css/welcome.css: -------------------------------------------------------------------------------- 1 | .parallax-one-nav-tabs { 2 | margin-bottom: 0; 3 | } 4 | 5 | .parallax-one-nav-tabs:after { 6 | display: table; 7 | clear: both; 8 | content: " "; 9 | } 10 | 11 | .parallax-one-nav-tabs > li { 12 | display: block; 13 | float: left; 14 | margin-bottom: -1px; 15 | } 16 | 17 | .parallax-one-nav-tabs > li > a { 18 | display: block; 19 | padding: 10px 15px; 20 | border: 1px solid transparent; 21 | border-radius: 4px 4px 0 0; 22 | text-decoration: none; 23 | } 24 | 25 | .parallax-one-nav-tabs > li.active > a, 26 | .parallax-one-nav-tabs > li.active > a:focus, 27 | .parallax-one-nav-tabs > li.active > a:hover { 28 | border: 1px solid #ddd; 29 | border-bottom-color: transparent; 30 | color: #555; 31 | background-color: #fff; 32 | } 33 | 34 | .parallax-one-nav-tabs > li.parallax-one-w-red-tab > a { 35 | color: red; 36 | font-weight: bold; 37 | } 38 | 39 | .parallax-one-tab-content { 40 | float: left; 41 | width: 960px; 42 | border-right: 1px solid #ddd; 43 | border-bottom: 1px solid #ddd; 44 | border-left: 1px solid #ddd; 45 | background-color: #fff; 46 | } 47 | 48 | .parallax-one-tab-content > .tab-pane { 49 | display: none; 50 | } 51 | 52 | .parallax-one-tab-content > .active { 53 | display: block; 54 | } 55 | 56 | .parallax-one-tab-pane { 57 | padding: 30px; 58 | } 59 | 60 | .parallax-one-tab-pane { 61 | display: none; 62 | } 63 | 64 | .parallax-one-tab-pane.active { 65 | display: block; 66 | } 67 | 68 | #parallax-one-theme-version { 69 | padding: 10px; 70 | background: #ccc; 71 | font-size: 50%; 72 | } 73 | 74 | #parallax-one-w-screenshot { 75 | margin-top: 30px; 76 | border: 1px solid #ccc; 77 | } 78 | 79 | .parallax-one-w-activated { 80 | cursor: not-allowed !important; 81 | } 82 | 83 | .prallax-one-tab-pane-half { 84 | float: left; 85 | width: 45%; 86 | margin-top: 15px; 87 | margin-bottom: 15px; 88 | padding-right: 20px; 89 | padding-left: 20px; 90 | border-left: 1px solid #ccc; 91 | } 92 | 93 | .parallax-one-tab-content img { 94 | max-width: 100%; 95 | } 96 | 97 | .prallax-one-tab-pane-first-half { 98 | border-left: none; 99 | } 100 | 101 | .prallax-one-tab-pane-center { 102 | margin-top: 30px; 103 | margin-bottom: 30px; 104 | text-align: center; 105 | } 106 | 107 | .parallax-one-welcome-title { 108 | font-size: 32px; 109 | } 110 | 111 | .parallax-one-clear { 112 | clear: both; 113 | } 114 | 115 | .parallax-one-child-theme-container { 116 | position: relative; 117 | } 118 | 119 | .parallax-one-child-theme-description { 120 | overflow: auto; 121 | position: absolute; 122 | top: 100%; 123 | left: 0; 124 | -webkit-box-sizing: border-box; 125 | box-sizing: border-box; 126 | max-width: 100%; 127 | height: 100%; 128 | padding: 0; 129 | color: #fff; 130 | background-color: #000; 131 | -webkit-transition: all 300ms ease-out; 132 | transition: all 300ms ease-out; 133 | -webkit-transition-delay: 500ms; 134 | transition-delay: 500ms; 135 | } 136 | 137 | .parallax-one-child-theme-image-container:hover .parallax-one-child-theme-description { 138 | display: block; 139 | top: 0; 140 | padding: 0 15px; 141 | opacity: 0.8; 142 | } 143 | 144 | .parallax-one-child-theme-image-container { 145 | overflow: hidden; 146 | position: relative; 147 | } 148 | 149 | .parallax-one-child-theme-image-container img { 150 | max-width: 100%; 151 | } 152 | 153 | .parallax-one-child-theme-details .theme-details { 154 | padding: 10px; 155 | background: none repeat scroll 0 0 #f1f1f1; 156 | font-size: 18px; 157 | } 158 | 159 | .parallax-one-child-theme-details .theme-details.active { 160 | color: #fff; 161 | background: none repeat scroll 0 0 #2b5f87; 162 | } 163 | 164 | .parallax-one-child-theme-details .theme-details .theme-name { 165 | float: left; 166 | } 167 | 168 | .parallax-one-child-theme-details .theme-details .preview { 169 | margin-right: 2px; 170 | } 171 | 172 | .parallax-one-fre-pro table { 173 | width: 100%; 174 | border-collapse: collapse; 175 | } 176 | 177 | .parallax-one-fre-pro table tr { 178 | border-bottom: 1px solid #ddd; 179 | } 180 | 181 | .parallax-one-fre-pro table td { 182 | padding: 30px; 183 | } 184 | 185 | .parallax-one-fre-pro table th { 186 | padding-bottom: 30px; 187 | } 188 | 189 | .parallax-one-fre-pro table td span.dashicons-before:before { 190 | width: auto; 191 | height: auto; 192 | font-size: 50px; 193 | } 194 | 195 | .parallax-one-fre-pro table td span.dashicons-yes:before { 196 | color: green; 197 | } 198 | 199 | .parallax-one-fre-pro table td span.dashicons-no-alt:before { 200 | color: red; 201 | } 202 | 203 | .parallax-one-fre-pro table tr.parallax-one-text-center { 204 | text-align: center; 205 | } 206 | 207 | .parallax-one-actions-count { 208 | display: inline-block; 209 | z-index: 26; 210 | margin: 1px 0 0 2px; 211 | padding: 0 6px; 212 | border-radius: 10px; 213 | color: #fff; 214 | background-color: #d54e21; 215 | font-size: 9px; 216 | font-weight: 600; 217 | line-height: 17px; 218 | vertical-align: top; 219 | } 220 | 221 | .parallax-one-action-required-box { 222 | position: relative; 223 | } 224 | 225 | .parallax-one-dismiss-required-action { 226 | position: absolute; 227 | top: 0; 228 | right: 0; 229 | border-radius: 50%; 230 | color: #fff; 231 | background-color: #d24a4a; 232 | font-size: 14px; 233 | line-height: 20px; 234 | cursor: pointer; 235 | } 236 | 237 | .parallax-one-dismiss-required-action:hover { 238 | background-color: #cc8c8c; 239 | } 240 | -------------------------------------------------------------------------------- /inc/admin/welcome-screen/img/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/inc/admin/welcome-screen/img/ajax-loader.gif -------------------------------------------------------------------------------- /inc/admin/welcome-screen/js/welcome.js: -------------------------------------------------------------------------------- 1 | jQuery( document ).ready( 2 | function() { 3 | 4 | /* Tabs in welcome page */ 5 | function parallax_one_welcome_page_tabs(event) { 6 | jQuery( event ).parent().addClass( "active" ); 7 | jQuery( event ).parent().siblings().removeClass( "active" ); 8 | var tab = jQuery( event ).attr( "href" ); 9 | jQuery( ".parallax-one-tab-pane" ).not( tab ).css( "display", "none" ); 10 | jQuery( tab ).fadeIn(); 11 | } 12 | 13 | var parallax_one_actions_anchor = location.hash; 14 | 15 | if ( (typeof parallax_one_actions_anchor !== 'undefined') && (parallax_one_actions_anchor != '') ) { 16 | parallax_one_welcome_page_tabs( 'a[href="' + parallax_one_actions_anchor + '"]' ); 17 | } 18 | 19 | jQuery( ".parallax-one-nav-tabs a" ).click( 20 | function(event) { 21 | event.preventDefault(); 22 | parallax_one_welcome_page_tabs( this ); 23 | } 24 | ); 25 | 26 | } 27 | ); 28 | -------------------------------------------------------------------------------- /inc/admin/welcome-screen/sections/changelog.php: -------------------------------------------------------------------------------- 1 | 9 |
10 | 11 |
12 | 13 |

Parallax One 14 | 17 |

18 | 19 |
20 | 21 | get_contents( get_template_directory() . '/CHANGELOG.md' ); 25 | $parallax_one_changelog_lines = explode( PHP_EOL, $parallax_one_changelog ); 26 | foreach ( $parallax_one_changelog_lines as $parallax_one_changelog_line ) { 27 | if ( substr( $parallax_one_changelog_line, 0, 3 ) === '###' ) { 28 | echo '

' . substr( $parallax_one_changelog_line, 3 ) . '

'; 29 | } else { 30 | echo $parallax_one_changelog_line . '
'; 31 | } 32 | } 33 | 34 | ?> 35 | 36 |
37 | -------------------------------------------------------------------------------- /inc/admin/welcome-screen/sections/free_pro.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 32 | 33 | 34 | 35 | 36 | 40 | 41 | 42 | 43 | 44 | 48 | 49 | 50 | 51 | 52 | 56 | 57 | 58 | 59 | 60 | 64 | 65 | 66 | 67 | 68 | 72 | 73 | 74 | 75 | 76 | 80 | 81 | 82 | 83 | 84 | 88 | 89 | 90 | 91 | 92 | 96 | 97 | 98 | 99 | 100 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 |
Parallax OneParallax One Plus
21 |

22 |

23 |
29 |

30 |

31 |
37 |

38 |

39 |
45 |

46 |

47 |
53 |

54 |

55 |
61 |

62 |

63 |
69 |

70 |

71 |
77 |

78 |

79 |
85 |

86 |

87 |
93 |

94 |

95 |
101 |

102 |

103 |
114 | 115 | 116 |
117 | -------------------------------------------------------------------------------- /inc/admin/welcome-screen/sections/github.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 |

10 | 11 |

12 |

13 |

14 | 15 |

16 | 17 |

18 | 19 |
20 | 21 |

22 |

23 | 24 |

25 | 26 |

27 | 28 |
29 | -------------------------------------------------------------------------------- /inc/admin/welcome-screen/welcome-screen.php: -------------------------------------------------------------------------------- 1 | 53 |
54 |

', '' ); ?>

55 |

56 |
57 | 80 | 81 | 87 | 88 |
89 | 90 | 99 | 100 |
101 | = 0; i--) { 19 | hex = '0' + hex; 20 | } 21 | } 22 | return '#' + hex; 23 | }; 24 | 25 | $( '.parallax-one-color-control' ).each( 26 | function() { 27 | var $control = $( this ), 28 | value = $control.val().replace( /\s+/g, '' ), 29 | palette; 30 | // Manage Palettes 31 | var palette_input = Boolean( $control.attr( 'data-palette' ) ); 32 | if ( palette_input === false) { 33 | palette = false; 34 | } else if ( palette_input === true) { 35 | palette = true; 36 | } else { 37 | palette = $control.attr( 'data-palette' ).split( ',' ); 38 | } 39 | $control.wpColorPicker( 40 | { // change some things with the color picker 41 | clear: function() { 42 | }, 43 | change: function(event, ui) { 44 | // send ajax request to wp.customizer to enable Save & Publish button 45 | var _new_value = $control.val(); 46 | var key = $control.attr( 'data-customize-setting-link' ); 47 | wp.customize( 48 | key, function(obj) { 49 | obj.set( _new_value ); 50 | } 51 | ); 52 | // change the background color of our transparency container whenever a color is updated 53 | var $transparency = $control.parents( '.wp-picker-container:first' ).find( '.transparency' ); 54 | // we only want to show the color at 100% alpha 55 | $transparency.css( 'backgroundColor', ui.color.toString( 'no-alpha' ) ); 56 | }, 57 | palettes: palette // remove the color palettes 58 | } 59 | ); 60 | $( '
' ).appendTo( $control.parents( '.wp-picker-container' ) ); 61 | var $alpha_slider = $control.parents( '.wp-picker-container:first' ).find( '.slider-alpha' ), alpha_val; 62 | // if in format RGBA - grab A channel value 63 | if (value.match( /rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/ )) { 64 | alpha_val = parseFloat( value.match( /rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/ )[1] ) * 100; 65 | alpha_val = parseInt( alpha_val ); 66 | } else { 67 | alpha_val = 100; 68 | } 69 | $alpha_slider.slider( 70 | { 71 | slide: function(event, ui) { 72 | $( this ).find( '.ui-slider-handle' ).text( ui.value ); // show value on slider handle 73 | // send ajax request to wp.customizer to enable Save & Publish button 74 | var _new_value = $control.val(); 75 | var key = $control.attr( 'data-customize-setting-link' ); 76 | wp.customize( 77 | key, function(obj) { 78 | obj.set( _new_value ); 79 | } 80 | ); 81 | }, 82 | create: function() { 83 | var v = $( this ).slider( 'value' ); 84 | $( this ).find( '.ui-slider-handle' ).text( v ); 85 | }, 86 | value: alpha_val, 87 | range: 'max', 88 | step: 1, 89 | min: 1, 90 | max: 100 91 | } 92 | ); // slider 93 | $alpha_slider.slider().on( 94 | 'slidechange', function(event, ui) { 95 | var new_alpha_val = parseFloat( ui.value ), 96 | iris = $control.data( 'a8cIris' ), 97 | color_picker = $control.data( 'wpWpColorPicker' ); 98 | iris._color._alpha = new_alpha_val / 100.0; 99 | $control.val( iris._color.toString() ); 100 | color_picker.toggler.css( 101 | { 102 | backgroundColor: $control.val() 103 | } 104 | ); 105 | // fix relationship between alpha slider and the 'side slider not updating. 106 | var get_val = $control.val(); 107 | $( $control ).wpColorPicker( 'color', get_val ); 108 | } 109 | ); 110 | } 111 | ); // each 112 | 113 | } 114 | ); 115 | -------------------------------------------------------------------------------- /inc/alpha-control/parallax-one-alpha-control.php: -------------------------------------------------------------------------------- 1 | default = $this->setting->default; 44 | } 45 | 46 | /** 47 | * Enqueue scripts and style. 48 | */ 49 | public function enqueue() { 50 | wp_enqueue_script( 'parallax-one-alpha-control', parallax_get_file( '/inc/alpha-control/js/script.js' ), array( 'jquery', 'jquery-ui-draggable' ), '1.0', true ); 51 | wp_enqueue_style( 'parallax-one-alpha-style', parallax_get_file( '/inc/alpha-control/css/style.css' ), '1.0' ); 52 | } 53 | 54 | /** 55 | * The function to render the controler 56 | */ 57 | protected function render() { 58 | $id = 'customize-control-' . str_replace( '[', '-', str_replace( ']', '', $this->id ) ); 59 | $class = 'customize-control customize-control-' . $this->type; ?> 60 |
  • 61 | render_content(); ?> 62 |
  • 63 | 71 | 75 | 80 | -------------------------------------------------------------------------------- /inc/class/class-ti-notify.php: -------------------------------------------------------------------------------- 1 | text; 37 | return $json; 38 | } 39 | /** 40 | * Outputs the structure for the customizer control 41 | * 42 | * @since 1.1.13 43 | * @access public 44 | * @return void 45 | */ 46 | protected function render_template() { 47 | ?> 48 |
  • 49 |

    50 | 51 | <# if( data.text.length > 0 ){ #> 52 | {{{ data.text }}} 53 | <# } #> 54 | 55 |

    56 |
  • 57 | 61 | -------------------------------------------------------------------------------- /inc/class/parallax-one-info.php: -------------------------------------------------------------------------------- 1 | __( 'Documentation', 'parallax-one' ), 42 | 'link' => esc_url( 'http://themeisle.com/documentation-parallax-one/' ), 43 | ), 44 | array( 45 | 'name' => __( 'Support', 'parallax-one' ), 46 | 'link' => esc_url( 'http://themeisle.com/contact/' ), 47 | ), 48 | array( 49 | 'name' => __( 'View Theme Info', 'parallax-one' ), 50 | 'link' => admin_url( 'themes.php?page=parallax-one-welcome#getting_started' ), 51 | ), 52 | ); ?> 53 | 54 | 55 |
    56 | 59 | 60 |
    61 | 64 |
    65 | message = $args['parallax_message']; 31 | } 32 | } 33 | 34 | /** 35 | * The render function for the controler 36 | */ 37 | public function render_content() { 38 | echo '' . $this->label . ''; 39 | echo $this->message; 40 | } 41 | } 42 | 43 | -------------------------------------------------------------------------------- /inc/customizer-info/class/class-customizer-info-section.php: -------------------------------------------------------------------------------- 1 | section_text; 64 | $json['section_title'] = $this->section_title; 65 | $json['section_url'] = $this->section_url; 66 | return $json; 67 | } 68 | 69 | /** 70 | * Outputs the Underscore.js template. 71 | * 72 | * @since 1.0.0 73 | * @access public 74 | * @return void 75 | */ 76 | protected function render_template() { 77 | ?> 78 | 79 |
  • 80 |

    81 | <# if ( data.section_url){ #> 82 | <# if ( data.section_title ) { #> 83 | {{{data.section_title}}} 84 | <# } #> 85 | <# if ( data.section_text && data.section_url ) { #> 86 | 87 | {{data.section_text}} 88 | 89 | <# } #> 90 | <# } #> 91 |

    92 |
  • 93 | setup_actions(); 30 | } 31 | 32 | return $instance; 33 | } 34 | 35 | /** 36 | * Constructor method. 37 | * 38 | * @since 1.0.0 39 | * @access private 40 | * @return void 41 | */ 42 | private function __construct() {} 43 | 44 | /** 45 | * Sets up initial actions. 46 | * 47 | * @since 1.0.0 48 | * @access private 49 | * @return void 50 | */ 51 | private function setup_actions() { 52 | 53 | // Register panels, sections, settings, controls, and partials. 54 | add_action( 'customize_register', array( $this, 'sections' ), 1 ); 55 | 56 | // Register scripts and styles for the controls. 57 | add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_control_scripts' ), 0 ); 58 | } 59 | 60 | /** 61 | * Sets up the customizer sections. 62 | * 63 | * @since 1.0.0 64 | * @access public 65 | * @param object $manager WordPress customizer object. 66 | * @return void 67 | */ 68 | public function sections( $manager ) { 69 | 70 | // Load custom sections. 71 | require_once( trailingslashit( get_template_directory() ) . 'inc/customizer-info/class/class-customizer-info-section.php' ); 72 | 73 | // Register custom section types. 74 | $manager->register_section_type( 'Customizer_Info' ); 75 | 76 | if ( ! class_exists( 'Parallax_One_Plus' ) ) { 77 | $manager->add_section( 78 | new Customizer_Info( 79 | $manager, 'parallax_one_view_pro', array( 80 | 'section_title' => __( 'View PRO version', 'parallax-one' ), 81 | 'section_url' => 'https://themeisle.com/plugins/parallax-one-plus/', 82 | 'section_text' => __( 'Get it', 'parallax-one' ), 83 | ) 84 | ) 85 | ); 86 | } 87 | 88 | } 89 | 90 | /** 91 | * Loads theme customizer CSS. 92 | * 93 | * @since 1.0.0 94 | * @access public 95 | * @return void 96 | */ 97 | public function enqueue_control_scripts() { 98 | wp_enqueue_script( 'customizer-info-js', trailingslashit( get_template_directory_uri() ) . 'inc/customizer-info/js/customizer-info-controls.js', array( 'customize-controls' ) ); 99 | } 100 | } 101 | 102 | Customizer_Info_Singleton::get_instance(); 103 | -------------------------------------------------------------------------------- /inc/customizer-info/js/customizer-info-controls.js: -------------------------------------------------------------------------------- 1 | ( function( api ) { 2 | 'use strict'; 3 | // Extends our custom "customizer-info" section. 4 | api.sectionConstructor['customizer-info'] = api.Section.extend( 5 | { 6 | 7 | // No events for this type of section. 8 | attachEvents: function () {}, 9 | 10 | // Always make the section active. 11 | isContextuallyActive: function () { 12 | return true; 13 | } 14 | } 15 | ); 16 | 17 | api.sectionConstructor.parallax_one_view_pro = api.Section.extend( 18 | { 19 | 20 | // No events for this type of section. 21 | attachEvents: function () {}, 22 | 23 | // Always make the section active. 24 | isContextuallyActive: function () { 25 | return true; 26 | } 27 | } 28 | ); 29 | 30 | } )( wp.customize ); 31 | -------------------------------------------------------------------------------- /inc/customizer-repeater/css/admin-style.css: -------------------------------------------------------------------------------- 1 | .customizer-repeater-general-control-repeater-container .customizer-repeater-box-content-hidden:after { 2 | content: ""; 3 | display: table; 4 | clear: both; 5 | } 6 | 7 | .customizer-repeater-general-control-repeater-container .customizer-repeater-box-content-hidden { 8 | display: none; 9 | } 10 | 11 | .customizer-repeater-customize-control-title { 12 | margin: 0; 13 | padding: 15px; 14 | font-size: 1em; 15 | line-height: 1; 16 | -webkit-user-select: none; 17 | -moz-user-select: none; 18 | -ms-user-select: none; 19 | user-select: none; 20 | display: block; 21 | font-weight: 600; 22 | color: #23282d; 23 | border: 1px solid #e5e5e5; 24 | cursor: move; 25 | } 26 | 27 | .customizer-repeater-customize-control-title:hover { 28 | border: 1px solid #999; 29 | } 30 | 31 | .customizer-repeater-customize-control-title:after { 32 | content: "\f140"; 33 | font-family: dashicons; 34 | font-size: 20px; 35 | height: 13px; 36 | bottom: 3px; 37 | position: relative; 38 | float: right; 39 | } 40 | 41 | .customizer-repeater-customize-control-title.repeater-expanded:after { 42 | content: "\f142"; 43 | } 44 | 45 | .customizer-repeater-box-content-hidden { 46 | border: 1px solid #e5e5e5; 47 | border-top: none; 48 | padding: 1px 10px 10px; 49 | } 50 | 51 | .customizer-repeater-box-content-hidden > div { 52 | margin: 1em 0; 53 | } 54 | 55 | .customizer-repeater-box-content-hidden .customize-control-title { 56 | font-size: 13px; 57 | line-height: 1.5; 58 | font-weight: normal; 59 | margin-bottom: 0; 60 | margin-top: 1em; 61 | } 62 | 63 | .customizer-repeater-box-content-hidden .customize-control-title:after { 64 | content: ":"; 65 | } 66 | 67 | .customizer-repeater-box-content-hidden span.description { 68 | font-size: 12px; 69 | font-style: normal; 70 | } 71 | 72 | .customizer-repeater-general-control-repeater-container, .customizer-repeater-general-control-repeater_container { 73 | border: 1px solid #e5e5e5; 74 | border-top: none; 75 | margin-bottom: 12px; 76 | width: 100%; 77 | float: left; 78 | background: #fff; 79 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 80 | box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 81 | } 82 | 83 | .customizer-repeater-box-content-hidden .wp-picker-container, .customizer-repeater-box-content-hidden .wp-picker-container .wp-color-result, .icp-container { 84 | margin: 0; 85 | } 86 | 87 | .customizer-repeater-box-content-hidden input:not(.icp, .wp-color-picker), 88 | .customizer-repeater-box-content-hidden textarea, 89 | .customizer-repeater-box-content-hidden .wp-picker-container { 90 | margin-bottom: 1em !important; 91 | } 92 | 93 | .social-repeater-general-control-remove-field { 94 | cursor: pointer; 95 | color: #a00; 96 | background: none; 97 | border: none; 98 | padding: 0; 99 | margin-top: 10px; 100 | } 101 | 102 | .social-repeater-general-control-remove-field:hover { 103 | color: red; 104 | } 105 | 106 | .customizer-repeater-box-content-hidden .wp-picker-holder { 107 | position: relative; 108 | left: -10px; 109 | } 110 | 111 | .customizer-repeater-box-content-hidden .wp-picker-input-wrap { 112 | margin-left: 10px; 113 | } 114 | 115 | .customizer-repeater-box-content-hidden .wp-picker-container .iris-picker { 116 | border-left: none; 117 | border-right: none; 118 | } 119 | 120 | button.customizer-repeater-new-field { 121 | float: right; 122 | } 123 | 124 | button.customizer-repeater-new-field:before { 125 | content: "\f132"; 126 | display: inline-block; 127 | position: relative; 128 | left: -2px; 129 | top: -1px; 130 | font: 400 20px/1 dashicons; 131 | vertical-align: middle; 132 | -webkit-transition: all .2s; 133 | transition: all .2s; 134 | -webkit-font-smoothing: antialiased; 135 | -moz-osx-font-smoothing: grayscale; 136 | } 137 | 138 | .customizer-repeater-box-content-hidden > div.customizer-repeater-social-repeater { 139 | margin-top: 0; 140 | } 141 | 142 | .customizer-repeater-general-control-repeater-container .customizer-repeater-icon-control { 143 | width: 100%; 144 | margin: 0; 145 | padding: 0; 146 | } 147 | 148 | #customizer-repeater-new-field { 149 | width: 100%; 150 | } 151 | 152 | .customize-control-widget_form .widget-control-save { 153 | display: block !important; 154 | } 155 | 156 | .customizer-repeater-box-content-hidden { 157 | background-color: #fff; 158 | } 159 | 160 | .customizer-repeater-image-control .customizer-repeater-custom-media-button { 161 | margin-top: 5px; 162 | } 163 | 164 | .customizer-icons { 165 | display: inline-block; 166 | padding: 0 10px 0 0; 167 | vertical-align: middle; 168 | } 169 | 170 | .social-repeater-remove-social-item { 171 | display: inline-block; 172 | vertical-align: top; 173 | color: #a00; 174 | border: none; 175 | background: none; 176 | cursor: pointer; 177 | padding: 0; 178 | } 179 | 180 | .social-repeater-remove-social-item:hover { 181 | color: red; 182 | } 183 | 184 | .customizer-repeater-social-repeater > .customizer-repeater-social-repeater-container:not(:first-child) { 185 | margin-top: 25px; 186 | } 187 | 188 | .icp-container { 189 | margin-bottom: 10px; 190 | } 191 | 192 | .button-secondary.social-repeater-add-social-item:before { 193 | content: "\f132"; 194 | display: inline-block; 195 | position: relative; 196 | left: -2px; 197 | top: -1px; 198 | font: 400 20px/1 dashicons; 199 | vertical-align: middle; 200 | -webkit-transition: all .2s; 201 | transition: all .2s; 202 | -webkit-font-smoothing: antialiased; 203 | -moz-osx-font-smoothing: grayscale; 204 | } 205 | 206 | .button-secondary.social-repeater-add-social-item { 207 | vertical-align: text-top; 208 | float: right; 209 | } 210 | 211 | .customizer-repeater-box-content-hidden textarea { 212 | width: 100%; 213 | } 214 | -------------------------------------------------------------------------------- /inc/customizer-repeater/css/fontawesome-iconpicker.min.css: -------------------------------------------------------------------------------- 1 | .iconpicker .iconpicker-items,.iconpicker .iconpicker-items:after,.iconpicker-popover .popover-footer:after,.iconpicker:after{clear:both}.iconpicker-popover.popover{position:absolute;padding:1px;text-align:left;background:#e5e5e5;z-index:999;display:none;margin-left:-10px;width:254px}.iconpicker,.iconpicker-popover.popover.iconpicker-visible{display:block}.iconpicker-popover.popover .popover-title{padding:5px;font-size:5px;line-height:16px;border-bottom:1px solid #ebebeb;background-color:#e5e5e5}.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search{margin:0 0 2px}.iconpicker-popover.popover .popover-title-text~input[type=search].iconpicker-search{margin-top:14px}.iconpicker-popover.popover .popover-content{padding:0;text-align:center}.iconpicker-popover.popover>.arrow,.iconpicker-popover.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.iconpicker *,.icp-container{position:relative}.iconpicker-popover.popover>.arrow{border-width:11px}.iconpicker-popover.popover>.arrow:after{border-width:10px;content:""}.iconpicker-popover.popover.bottomLeft>.arrow{border-top-width:0;border-bottom-color:#e5e5e5;top:-11px}.iconpicker-popover.popover.bottomLeft>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#e5e5e5}.iconpicker-popover.popover.bottomLeft>.arrow{left:14px;margin-left:0}.iconpicker,.iconpicker .iconpicker-items{position:relative;margin:0;overflow:hidden}.iconpicker{text-align:left;text-shadow:none;line-height:0}.iconpicker .iconpicker-items:after,.iconpicker .iconpicker-items:before,.iconpicker:after,.iconpicker:before{content:" ";display:table}.iconpicker *{box-sizing:content-box}.iconpicker .iconpicker-items{float:none;padding:5px 0 0 5px;background:#fff;overflow-y:auto;min-height:55px;max-height:275px}.iconpicker .iconpicker-items i{float:left;width:32px;height:32px;line-height:32px;margin:0 7px 7px 0;text-align:center;cursor:pointer;border-radius:3px;font-size:18px;color:#444;box-shadow:0 0 0 1px #ddd;transition:transform .2s ease}.iconpicker .iconpicker-items i:nth-child(6n){margin-right:0}.iconpicker .iconpicker-items i:hover{transform:scale(1.4);color:#008ec2;box-shadow:none}.icp{padding-left:30px}.icp-container .input-group-addon{position:absolute;top:1px;left:5px;padding:3px} -------------------------------------------------------------------------------- /inc/customizer-repeater/functions.php: -------------------------------------------------------------------------------- 1 | $value ) { 26 | if ( $key === 'icon_value' && ( ! empty( $value ) && $value !== 'No icon' ) ) { 27 | return false; 28 | } 29 | if ( ! in_array( $key, $not_check_keys ) ) { 30 | if ( ! empty( $value ) ) { 31 | return false; 32 | } 33 | } 34 | } 35 | } 36 | return true; 37 | } 38 | -------------------------------------------------------------------------------- /inc/customizer-repeater/inc/customizer.php: -------------------------------------------------------------------------------- 1 | $box ) { 30 | foreach ( $box as $key => $value ) { 31 | 32 | $input_decoded[ $boxk ][ $key ] = wp_kses_post( force_balance_tags( $value ) ); 33 | 34 | } 35 | } 36 | return json_encode( $input_decoded ); 37 | } 38 | return $input; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /inc/customizer-repeater/js/fontawesome-iconpicker.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 'use strict'; 3 | wp.customizerRepeater = { 4 | 5 | init: function () { 6 | $( '.iconpicker-items>i' ).on( 7 | 'click', function () { 8 | var iconClass = $( this ).attr( 'class' ).slice( 3 ); 9 | var classInput = $( this ).parents( '.iconpicker-popover' ).prev().find( '.icp' ); 10 | classInput.val( iconClass ); 11 | classInput.attr( 'value', iconClass ); 12 | 13 | var iconPreview = classInput.next( '.input-group-addon' ); 14 | var iconElement = '<\/i>' ); 15 | iconPreview.empty(); 16 | iconPreview.append( iconElement ); 17 | 18 | classInput.trigger( 'change' ); 19 | return false; 20 | } 21 | ); 22 | }, 23 | search: function ($searchField) { 24 | var itemsList = $searchField.parent().next().find( '.iconpicker-items' ); 25 | var searchTerm = $searchField.val().toLowerCase(); 26 | if (searchTerm.length > 0) { 27 | itemsList.children().each( 28 | function () { 29 | if ($( this ).filter( '[title*='.concat( searchTerm ) ).length > 0 || searchTerm.length < 1) { 30 | $( this ).show(); 31 | } else { 32 | $( this ).hide(); 33 | } 34 | } 35 | ); 36 | } else { 37 | itemsList.children().show(); 38 | } 39 | }, 40 | iconPickerToggle: function ($input) { 41 | var iconPicker = $input.parent().next(); 42 | iconPicker.addClass( 'iconpicker-visible' ); 43 | } 44 | }; 45 | 46 | $( document ).ready( 47 | function () { 48 | wp.customizerRepeater.init(); 49 | 50 | $( '.iconpicker-search' ).on( 51 | 'keyup', function () { 52 | wp.customizerRepeater.search( $( this ) ); 53 | } 54 | ); 55 | 56 | $( '.icp-auto' ).on( 57 | 'click', function () { 58 | wp.customizerRepeater.iconPickerToggle( $( this ) ); 59 | } 60 | ); 61 | 62 | $( document ).mouseup( 63 | function (e) { 64 | var container = $( '.iconpicker-popover' ); 65 | 66 | if ( ! container.is( e.target ) && container.has( e.target ).length === 0) { 67 | container.removeClass( 'iconpicker-visible' ); 68 | } 69 | } 70 | ); 71 | 72 | } 73 | ); 74 | 75 | })( jQuery ); 76 | -------------------------------------------------------------------------------- /inc/customizer-repeater/js/fontawesome-iconpicker.min.js: -------------------------------------------------------------------------------- 1 | !function(a){"use strict";wp.customizerRepeater={init:function(){a(".iconpicker-items>i").on("click",function(){var b=a(this).attr("class").slice(3),c=a(this).parents(".iconpicker-popover").prev().find(".icp");c.val(b),c.attr("value",b);var d=c.next(".input-group-addon"),e='');d.empty(),d.append(e);var f=a(this).parent().parent().parent();return c.trigger("change"),customizer_repeater_refresh_social_icons(f),!1})},search:function(b){var c=b.parent().next().find(".iconpicker-items"),d=b.val().toLowerCase();d.length>0?c.children().each(function(){a(this).filter("[title*=".concat(d)).length>0||d.length<1?a(this).show():a(this).hide()}):c.children().show()},iconPickerToggle:function(a){var b=a.parent().next();b.addClass("iconpicker-visible")}},a(document).ready(function(){wp.customizerRepeater.init(),a(".iconpicker-search").on("keyup",function(){wp.customizerRepeater.search(a(this))}),a(".icp-auto").on("click",function(){wp.customizerRepeater.iconPickerToggle(a(this))}),a(document).mouseup(function(b){var c=a(".iconpicker-popover");c.is(b.target)||0!==c.has(b.target).length||c.removeClass("iconpicker-visible")})})}(jQuery); -------------------------------------------------------------------------------- /inc/extras.php: -------------------------------------------------------------------------------- 1 | tag based on what is being viewed. 29 | * 30 | * @param string $title Default title text for current view. 31 | * @param string $sep Optional separator. 32 | * @return string The filtered title. 33 | */ 34 | function parallax_one_wp_title( $title, $sep ) { 35 | if ( is_feed() ) { 36 | return $title; 37 | } 38 | 39 | global $page, $paged; 40 | 41 | // Add the blog name 42 | $title .= get_bloginfo( 'name', 'display' ); 43 | 44 | // Add the blog description for the home/front page. 45 | $site_description = get_bloginfo( 'description', 'display' ); 46 | if ( $site_description && ( is_home() || is_front_page() ) ) { 47 | $title .= " $sep $site_description"; 48 | } 49 | 50 | // Add a page number if necessary: 51 | if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { 52 | /* translators: %s is page number */ 53 | $title .= " $sep " . sprintf( esc_html__( 'Page %s', 'parallax-one' ), max( $paged, $page ) ); 54 | } 55 | 56 | return $title; 57 | } 58 | add_filter( 'wp_title', 'parallax_one_wp_title', 10, 2 ); 59 | 60 | /** 61 | * Title shim for sites older than WordPress 4.1. 62 | * 63 | * @link https://make.wordpress.org/core/2014/10/29/title-tags-in-4-1/ 64 | * @todo Remove this function when WordPress 4.3 is released. 65 | */ 66 | function parallax_one_render_title() { 67 | ?> 68 | <?php wp_title( '|', true, 'right' ); ?> 69 | .arrow{display:none}.dropdown-menu .iconpicker-popover.inline{margin:0;border:none}.dropdown-menu.iconpicker-container{padding:0}.iconpicker-popover.popover .popover-title{padding:14px;font-size:14px;line-height:16px;border-bottom:1px solid #ebebeb;background-color:#e5e5e5}.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search{margin:0 0 2px}.iconpicker-popover.popover .popover-title-text~input[type=search].iconpicker-search{margin-top:14px}.iconpicker-popover.popover .popover-content{padding:0;text-align:center}.iconpicker-popover .popover-footer{float:none;clear:both;padding:14px;text-align:right;margin:0;border-top:1px solid #ebebeb;background-color:#e5e5e5}.iconpicker-popover .popover-footer:after,.iconpicker-popover .popover-footer:before{content:" ";display:table}.iconpicker-popover .popover-footer .iconpicker-btn{margin-left:10px}.iconpicker-popover .popover-footer input[type=search].iconpicker-search{margin-bottom:14px}.iconpicker-popover.popover>.arrow,.iconpicker-popover.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.iconpicker-popover.popover>.arrow{border-width:11px}.iconpicker-popover.popover>.arrow:after{border-width:10px;content:""}.iconpicker-popover.popover.top>.arrow,.iconpicker-popover.popover.topLeft>.arrow,.iconpicker-popover.popover.topRight>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#e5e5e5;bottom:-11px}.iconpicker-popover.popover.top>.arrow:after,.iconpicker-popover.popover.topLeft>.arrow:after,.iconpicker-popover.popover.topRight>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.iconpicker-popover.popover.topLeft>.arrow{left:14px;margin-left:0}.iconpicker-popover.popover.topRight>.arrow{left:auto;right:14px;margin-left:0}.iconpicker-popover.popover.right>.arrow,.iconpicker-popover.popover.rightBottom>.arrow,.iconpicker-popover.popover.rightTop>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#e5e5e5}.iconpicker-popover.popover.right>.arrow:after,.iconpicker-popover.popover.rightBottom>.arrow:after,.iconpicker-popover.popover.rightTop>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.iconpicker-popover.popover.rightTop>.arrow{top:auto;bottom:14px;margin-top:0}.iconpicker-popover.popover.rightBottom>.arrow{top:14px;margin-top:0}.iconpicker-popover.popover.bottom>.arrow,.iconpicker-popover.popover.bottomLeft>.arrow,.iconpicker-popover.popover.bottomRight>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#e5e5e5;top:-11px}.iconpicker-popover.popover.bottom>.arrow:after,.iconpicker-popover.popover.bottomLeft>.arrow:after,.iconpicker-popover.popover.bottomRight>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#e5e5e5}.iconpicker-popover.popover.bottomLeft>.arrow{left:14px;margin-left:0}.iconpicker-popover.popover.bottomRight>.arrow{left:auto;right:14px;margin-left:0}.iconpicker-popover.popover.left>.arrow,.iconpicker-popover.popover.leftBottom>.arrow,.iconpicker-popover.popover.leftTop>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#e5e5e5}.iconpicker,.iconpicker .iconpicker-items{position:relative;margin:0;overflow:hidden}.iconpicker-popover.popover.left>.arrow:after,.iconpicker-popover.popover.leftBottom>.arrow:after,.iconpicker-popover.popover.leftTop>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.iconpicker-popover.popover.leftBottom>.arrow{top:14px;margin-top:0}.iconpicker-popover.popover.leftTop>.arrow{top:auto;bottom:14px;margin-top:0}.iconpicker{text-align:left;text-shadow:none;line-height:0;display:block}.iconpicker .iconpicker-items:after,.iconpicker .iconpicker-items:before,.iconpicker:after,.iconpicker:before{content:" ";display:table}.iconpicker *{box-sizing:content-box;position:relative}.iconpicker .iconpicker-items{float:none;padding:10px 0 0 10px;background:#fff;overflow-y:auto;min-height:55px;max-height:275px}.iconpicker .iconpicker-item{float:left;width:28px;height:28px;line-height:28px;margin:0 7px 7px 0;text-align:center;cursor:pointer;border-radius:3px;font-size:18px;color:#444;box-shadow:0 0 0 1px #ddd}.iconpicker .iconpicker-item:hover:not(.iconpicker-selected){background-color:#eee}.iconpicker .iconpicker-item.iconpicker-selected{box-shadow:none;background:#ddd}.iconpicker-component{cursor:pointer}.icp-container {position: relative;} .icp {padding-left: 30px;} .icp-container .input-group-addon { position: absolute; top: 1px; left: 1px; padding: 3px; } -------------------------------------------------------------------------------- /inc/icon-picker/js/iconpicker-control.js: -------------------------------------------------------------------------------- 1 | ( function( $ ) { 2 | 3 | $( 4 | function() { 5 | $( '.icp' ).iconpicker().on( 6 | 'iconpickerUpdated', function() { 7 | $( this ).trigger( 'change' ); 8 | } 9 | ); 10 | } 11 | ); 12 | 13 | } )( jQuery ); 14 | -------------------------------------------------------------------------------- /inc/jetpack.php: -------------------------------------------------------------------------------- 1 | 'main', 17 | 'footer' => 'page', 18 | ) 19 | ); 20 | } 21 | add_action( 'after_setup_theme', 'parallax_one_jetpack_setup' ); 22 | -------------------------------------------------------------------------------- /inc/translations/general.php: -------------------------------------------------------------------------------- 1 | $field_value ) { 60 | if ( $field_name === 'social_repeater' ) { 61 | $social_repeater_value = json_decode( $field_value ); 62 | if ( ! empty( $social_repeater_value ) ) { 63 | foreach ( $social_repeater_value as $social ) { 64 | foreach ( $social as $key => $value ) { 65 | if ( $key === 'link' ) { 66 | pll_register_string( 'Social link', $value, $name ); 67 | } 68 | if ( $key === 'icon' ) { 69 | pll_register_string( 'Social icon', $value, $name ); 70 | } 71 | } 72 | } 73 | } 74 | } else { 75 | if ( $field_name !== 'id' && $field_name !== 'choice' ) { 76 | $f_n = ucfirst( $field_name ); 77 | pll_register_string( $f_n, $field_value, $name ); 78 | } 79 | } 80 | } 81 | } 82 | } 83 | } 84 | 85 | 86 | /** 87 | * Define Allowed Files to be included. 88 | */ 89 | function parallax_one_filter_translations( $array ) { 90 | return array_merge( 91 | $array, array( 92 | 'translations/translations-logos-section', 93 | 'translations/translations-services-section', 94 | 'translations/translations-team-section', 95 | 'translations/translations-testimonials-section', 96 | 'translations/translations-contact-section', 97 | 'translations/translations-footer-socials', 98 | ) 99 | ); 100 | } 101 | add_filter( 'parallax_one_filter_translations', 'parallax_one_filter_translations' ); 102 | 103 | 104 | 105 | /** 106 | * Include translations files. 107 | */ 108 | function parallax_include_translations() { 109 | $parallax_one_allowed_phps = array(); 110 | $parallax_one_allowed_phps = apply_filters( 'parallax_one_filter_translations', $parallax_one_allowed_phps ); 111 | foreach ( $parallax_one_allowed_phps as $file ) { 112 | $parallax_one_file_to_include = get_template_directory() . '/inc/' . $file . '.php'; 113 | if ( file_exists( $parallax_one_file_to_include ) ) { 114 | include_once( $parallax_one_file_to_include ); 115 | } else { 116 | if ( defined( 'PARALLAX_ONE_PLUS_PATH' ) ) { 117 | $parallax_one_file_to_include_from_pro = PARALLAX_ONE_PLUS_PATH . 'public/inc/' . $file . '.php'; 118 | if ( file_exists( $parallax_one_file_to_include_from_pro ) ) { 119 | include_once( $parallax_one_file_to_include_from_pro ); 120 | } 121 | } 122 | } 123 | } 124 | } 125 | add_action( 'after_setup_theme', 'parallax_include_translations' ); 126 | -------------------------------------------------------------------------------- /inc/translations/translations-contact-section.php: -------------------------------------------------------------------------------- 1 | 'icon-basic-mail', 16 | 'text' => 'contact@site.com', 17 | 'link' => '#', 18 | 'id' => 'parallax_one_56d450a72cb3a', 19 | ), 20 | array( 21 | 'icon_value' => 'icon-basic-geolocalize-01', 22 | 'text' => 'Company address', 23 | 'link' => '#', 24 | 'id' => 'parallax_one_56d069b88cb6f', 25 | ), 26 | array( 27 | 'icon_value' => 'icon-basic-tablet', 28 | 'text' => '0 332 548 954', 29 | 'link' => '#', 30 | 'id' => 'parallax_one_56d069b98cb70', 31 | ), 32 | ) 33 | ); 34 | } 35 | 36 | 37 | /** 38 | * Register strings for polylang. 39 | */ 40 | function parallax_one_contact_register_strings() { 41 | if ( ! defined( 'POLYLANG_VERSION' ) ) { 42 | return; 43 | } 44 | 45 | $default = parallax_one_contact_get_default_content(); 46 | parallax_one_pll_string_register_helper( 'parallax_one_contact_info_content', $default, 'Contact section' ); 47 | } 48 | add_action( 'after_setup_theme', 'parallax_one_contact_register_strings', 11 ); 49 | -------------------------------------------------------------------------------- /inc/translations/translations-footer-socials.php: -------------------------------------------------------------------------------- 1 | 'icon-social-facebook', 16 | 'link' => '#', 17 | ), 18 | array( 19 | 'icon_value' => 'icon-social-twitter', 20 | 'link' => '#', 21 | ), 22 | array( 23 | 'icon_value' => 'icon-social-googleplus', 24 | 'link' => '#', 25 | ), 26 | ) 27 | ); 28 | } 29 | 30 | /** 31 | * Register strings for polylang. 32 | */ 33 | function parallax_one_footer_socials_register_strings() { 34 | if ( ! defined( 'POLYLANG_VERSION' ) ) { 35 | return; 36 | } 37 | 38 | $default = parallax_one_footer_socials_get_default_content(); 39 | parallax_one_pll_string_register_helper( 'parallax_one_social_icons', $default, 'Footer socials' ); 40 | } 41 | add_action( 'after_setup_theme', 'parallax_one_footer_socials_register_strings', 11 ); 42 | -------------------------------------------------------------------------------- /inc/translations/translations-logos-section.php: -------------------------------------------------------------------------------- 1 | parallax_get_file( '/images/companies/1.png' ), 16 | 'link' => '#', 17 | 'id' => 'parallax_one_56d7ea7f40f56', 18 | ), 19 | array( 20 | 'image_url' => parallax_get_file( '/images/companies/2.png' ), 21 | 'link' => '#', 22 | 'id' => 'parallax_one_56d7f2cb8a158', 23 | ), 24 | array( 25 | 'image_url' => parallax_get_file( '/images/companies/3.png' ), 26 | 'link' => '#', 27 | 'id' => 'parallax_one_56d7f2cc8a159', 28 | ), 29 | array( 30 | 'image_url' => parallax_get_file( '/images/companies/4.png' ), 31 | 'link' => '#', 32 | 'id' => 'parallax_one_56d7f2ce8a15a', 33 | ), 34 | array( 35 | 'image_url' => parallax_get_file( '/images/companies/5.png' ), 36 | 'link' => '#', 37 | 'id' => 'parallax_one_56d7f2cf8a15b', 38 | ), 39 | ) 40 | ); 41 | } 42 | 43 | 44 | /** 45 | * Register strings for polylang. 46 | */ 47 | function parallax_one_logos_register_strings() { 48 | if ( ! defined( 'POLYLANG_VERSION' ) ) { 49 | return; 50 | } 51 | 52 | $default = parallax_one_logos_get_default_content(); 53 | parallax_one_pll_string_register_helper( 'parallax_one_logos_content', $default, 'Logos section' ); 54 | } 55 | add_action( 'after_setup_theme', 'parallax_one_logos_register_strings', 11 ); 56 | -------------------------------------------------------------------------------- /inc/translations/translations-services-section.php: -------------------------------------------------------------------------------- 1 | 'parallax_icon', 16 | 'icon_value' => 'icon-basic-webpage-multiple', 17 | 'title' => esc_html__( 'Lorem Ipsum', 'parallax-one' ), 18 | 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.', 'parallax-one' ), 19 | 'id' => 'parallax_one_56fd4d93f3013', 20 | ), 21 | array( 22 | 'choice' => 'parallax_icon', 23 | 'icon_value' => 'icon-ecommerce-graph3', 24 | 'title' => esc_html__( 'Lorem Ipsum', 'parallax-one' ), 25 | 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.', 'parallax-one' ), 26 | 'id' => 'parallax_one_56fd4d94f3014', 27 | ), 28 | array( 29 | 'choice' => 'parallax_icon', 30 | 'icon_value' => 'icon-basic-geolocalize-05', 31 | 'title' => esc_html__( 'Lorem Ipsum', 'parallax-one' ), 32 | 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.', 'parallax-one' ), 33 | 'id' => 'parallax_one_56fd4d95f3015', 34 | ), 35 | ) 36 | ); 37 | } 38 | 39 | 40 | /** 41 | * Register strings for polylang. 42 | */ 43 | function parallax_one_services_register_strings() { 44 | if ( ! defined( 'POLYLANG_VERSION' ) ) { 45 | return; 46 | } 47 | 48 | $default = parallax_one_services_get_default_content(); 49 | parallax_one_pll_string_register_helper( 'parallax_one_services_content', $default, 'Services section' ); 50 | } 51 | add_action( 'after_setup_theme', 'parallax_one_services_register_strings', 11 ); 52 | -------------------------------------------------------------------------------- /inc/translations/translations-team-section.php: -------------------------------------------------------------------------------- 1 | parallax_get_file( '/images/team/1.jpg' ), 16 | 'title' => esc_html__( 'Albert Jacobs', 'parallax-one' ), 17 | 'subtitle' => esc_html__( 'Founder & CEO', 'parallax-one' ), 18 | 'id' => 'parallax_one_56fe9796baca4', 19 | ), 20 | array( 21 | 'image_url' => parallax_get_file( '/images/team/2.jpg' ), 22 | 'title' => esc_html__( 'Tonya Garcia', 'parallax-one' ), 23 | 'subtitle' => esc_html__( 'Account Manager', 'parallax-one' ), 24 | 'id' => 'parallax_one_56fe9798baca5', 25 | ), 26 | array( 27 | 'image_url' => parallax_get_file( '/images/team/3.jpg' ), 28 | 'title' => esc_html__( 'Linda Guthrie', 'parallax-one' ), 29 | 'subtitle' => esc_html__( 'Business Development', 'parallax-one' ), 30 | 'id' => 'parallax_one_56fe9799baca6', 31 | ), 32 | ) 33 | ); 34 | } 35 | 36 | 37 | /** 38 | * Register strings for polylang. 39 | */ 40 | function parallax_one_team_register_strings() { 41 | if ( ! defined( 'POLYLANG_VERSION' ) ) { 42 | return; 43 | } 44 | 45 | $default = parallax_one_team_get_default_content(); 46 | parallax_one_pll_string_register_helper( 'parallax_one_team_content', $default, 'Team section' ); 47 | } 48 | add_action( 'after_setup_theme', 'parallax_one_team_register_strings', 11 ); 49 | -------------------------------------------------------------------------------- /inc/translations/translations-testimonials-section.php: -------------------------------------------------------------------------------- 1 | parallax_get_file( '/images/clients/1.jpg' ), 16 | 'title' => esc_html__( 'Happy Customer', 'parallax-one' ), 17 | 'subtitle' => esc_html__( 'Lorem ipsum', 'parallax-one' ), 18 | 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.', 'parallax-one' ), 19 | 'id' => 'parallax_one_56fd526edcd4e', 20 | ), 21 | array( 22 | 'image_url' => parallax_get_file( '/images/clients/2.jpg' ), 23 | 'title' => esc_html__( 'Happy Customer', 'parallax-one' ), 24 | 'subtitle' => esc_html__( 'Lorem ipsum', 'parallax-one' ), 25 | 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.', 'parallax-one' ), 26 | 'id' => 'parallax_one_56fd526ddcd4d', 27 | ), 28 | array( 29 | 'image_url' => parallax_get_file( '/images/clients/3.jpg' ), 30 | 'title' => esc_html__( 'Happy Customer', 'parallax-one' ), 31 | 'subtitle' => esc_html__( 'Lorem ipsum', 'parallax-one' ), 32 | 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.', 'parallax-one' ), 33 | 'id' => 'parallax_one_56fd5259dcd4c', 34 | ), 35 | ) 36 | ); 37 | } 38 | 39 | 40 | /** 41 | * Register strings for polylang. 42 | */ 43 | function parallax_one_testimonials_register_strings() { 44 | if ( ! defined( 'POLYLANG_VERSION' ) ) { 45 | return; 46 | } 47 | 48 | $default = parallax_one_testimonials_get_default_content(); 49 | parallax_one_pll_string_register_helper( 'parallax_one_testimonials_content', $default, 'Testimonials section' ); 50 | } 51 | add_action( 'after_setup_theme', 'parallax_one_testimonials_register_strings', 11 ); 52 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
    18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
    26 | 27 |
    28 | 29 |
    30 | '; 36 | 37 | if ( have_posts() ) { 38 | 39 | while ( have_posts() ) { 40 | the_post(); 41 | 42 | parallax_hook_entry_before(); 43 | /** 44 | * Include the Post-Format-specific template for the content. 45 | * If you want to override this in a child theme, then include a file 46 | * called content-___.php (where ___ is the Post Format name) and that will be used instead. 47 | */ 48 | get_template_part( 'content', get_post_format() ); 49 | 50 | parallax_hook_entry_after(); 51 | } 52 | 53 | the_posts_navigation(); 54 | 55 | } else { 56 | 57 | get_template_part( 'content', 'none' ); 58 | 59 | } 60 | ?> 61 | 62 | 63 |
    64 | 65 | 66 | 67 |
    68 | 69 |
    70 | 71 | 72 | -------------------------------------------------------------------------------- /js/custom.home.js: -------------------------------------------------------------------------------- 1 | /*global jQuery*/ 2 | /* slider [begin] */ 3 | var slideWidth; 4 | var slideCount; 5 | var slideHeight = 0; 6 | var sliderUlHeight = 0; 7 | var marginTop = 0; 8 | 9 | /* LATEST NEWS */ 10 | jQuery( document ).ready( 11 | function () { 12 | 'use strict'; 13 | parallax_one_latest_news(); 14 | jQuery( 'button.control_prev' ).click( 15 | function () { 16 | parallax_one_moveBottom(); 17 | } 18 | ); 19 | jQuery( 'button.control_next' ).click( 20 | function () { 21 | parallax_one_moveTop(); 22 | } 23 | ); 24 | } 25 | ); 26 | 27 | jQuery( window ).resize( 28 | function() { 29 | 'use strict'; 30 | /* maximum height for slides */ 31 | var slideWidth, 32 | slideCount, 33 | slideHeight = 0, 34 | sliderUlHeight = 0, 35 | marginTop = 0; 36 | 37 | jQuery( '#parallax_slider > ul > li' ).css( 'height','auto' ).each( 38 | function(){ 39 | if ( slideHeight < jQuery( this ).height() ) { 40 | slideHeight = jQuery( this ).height(); 41 | } 42 | } 43 | ); 44 | 45 | slideCount = jQuery( '#parallax_slider > ul > li' ).length; 46 | sliderUlHeight = slideCount * slideHeight; 47 | 48 | /* set height */ 49 | jQuery( '#parallax_slider' ).css( { width: slideWidth, height: slideHeight } ); 50 | jQuery( '#parallax_slider > ul > li ' ).css( { height: slideHeight} ); 51 | jQuery( '#parallax_slider > ul' ).css( { height: sliderUlHeight, top: marginTop } ); 52 | 53 | if ( jQuery( '.control_next' ).hasClass( 'fade-btn' ) ) { 54 | jQuery( '.control_next' ).removeClass( 'fade-btn' ); 55 | } 56 | if ( ! jQuery( '.control_prev' ).hasClass( 'fade-btn' ) ) { 57 | jQuery( '.control_prev' ).addClass( 'fade-btn' ); 58 | } 59 | 60 | } 61 | ); 62 | 63 | /* latest news [start] */ 64 | function parallax_one_latest_news() { 65 | 'use strict'; 66 | /* maximum height for slides */ 67 | slideHeight = 0; 68 | 69 | jQuery( '#parallax_slider > ul > li' ).css( 'height','auto' ).each( 70 | function(){ 71 | if ( slideHeight < jQuery( this ).height() ) { 72 | slideHeight = jQuery( this ).height(); 73 | } 74 | } 75 | ); 76 | 77 | slideCount = jQuery( '#parallax_slider > ul > li' ).length; 78 | sliderUlHeight = slideCount * slideHeight; 79 | 80 | /* set height */ 81 | jQuery( '#parallax_slider' ).css( { width: slideWidth, height: slideHeight } ); 82 | jQuery( '#parallax_slider > ul > li' ).css( { height: slideHeight} ); 83 | jQuery( '#parallax_slider > ul' ).css( { height: sliderUlHeight} ); 84 | 85 | } 86 | 87 | function parallax_one_moveTop() { 88 | 'use strict'; 89 | if ( marginTop - slideHeight >= - sliderUlHeight + slideHeight ) { 90 | marginTop = marginTop - slideHeight; 91 | jQuery( '#parallax_slider > ul' ).animate( 92 | { 93 | top: marginTop 94 | }, 400 95 | ); 96 | if ( marginTop === - slideHeight * (slideCount - 1) ) { 97 | jQuery( '.control_next' ).addClass( 'fade-btn' ); 98 | } 99 | if ( jQuery( '.control_prev' ).hasClass( 'fade-btn' ) ) { 100 | jQuery( '.control_prev' ).removeClass( 'fade-btn' ); 101 | } 102 | } 103 | } 104 | 105 | function parallax_one_moveBottom() { 106 | 'use strict'; 107 | if ( marginTop + slideHeight <= 0 ) { 108 | marginTop = marginTop + slideHeight; 109 | jQuery( '#parallax_slider > ul' ).animate( 110 | { 111 | top: marginTop 112 | }, 400 113 | ); 114 | if ( marginTop === 0 ) { 115 | jQuery( '.control_prev' ).addClass( 'fade-btn' ); 116 | } 117 | if ( jQuery( '.control_next' ).hasClass( 'fade-btn' ) ) { 118 | jQuery( '.control_next' ).removeClass( 'fade-btn' ); 119 | } 120 | } 121 | } 122 | /* latest news [end] */ 123 | 124 | /* PRE LOADER */ 125 | jQuery( window ).load( 126 | function () { 127 | 'use strict'; 128 | jQuery( '.status' ).fadeOut(); 129 | jQuery( '.preloader' ).delay( 1000 ).fadeOut( 'slow' ); 130 | } 131 | ); 132 | 133 | jQuery( window ).resize( 134 | function() { 135 | 'use strict'; 136 | var ww = jQuery( window ).width(); 137 | /* COLLAPSE NAVIGATION ON MOBILE AFTER CLICKING ON LINK */ 138 | if (ww < 480) { 139 | jQuery( '.sticky-navigation a' ).on( 140 | 'click', function() { 141 | jQuery( '.navbar-toggle' ).click(); 142 | } 143 | ); 144 | } 145 | } 146 | ); 147 | 148 | 149 | jQuery( window ).load( 150 | function() { 151 | 'use strict'; 152 | /* useful for Our team section */ 153 | jQuery( '.team-member-wrap .team-member-box' ).each( 154 | function(){ 155 | var thisHeight = jQuery( this ).find( '.member-pic' ).height(); 156 | jQuery( this ).find( '.member-details' ).height( thisHeight ); 157 | } 158 | ); 159 | } 160 | ); 161 | 162 | 163 | var home_window_width_old; 164 | jQuery( document ).ready( 165 | function(){ 166 | 'use strict'; 167 | home_window_width_old = jQuery( '.container' ).width(); 168 | if ( home_window_width_old < 750 ) { 169 | jQuery( '.our_services_wrap_piterest' ).parallaxonegridpinterest( {columns: 1,selector: '.service-box'} ); 170 | jQuery( '.happy_customers_wrap_piterest' ).parallaxonegridpinterest( {columns: 1,selector: '.testimonials-box'} ); 171 | } else { 172 | jQuery( '.our_services_wrap_piterest' ).parallaxonegridpinterest( {columns: 3,selector: '.service-box'} ); 173 | jQuery( '.happy_customers_wrap_piterest' ).parallaxonegridpinterest( {columns: 3,selector: '.testimonials-box'} ); 174 | } 175 | } 176 | ); 177 | 178 | jQuery( window ).resize( 179 | function() { 180 | 'use strict'; 181 | if ( home_window_width_old !== jQuery( '.container' ).outerWidth() ) { 182 | home_window_width_old = jQuery( '.container' ).outerWidth(); 183 | if ( home_window_width_old < 750 ) { 184 | jQuery( '.our_services_wrap_piterest' ).parallaxonegridpinterest( {columns: 1,selector: '.service-box'} ); 185 | jQuery( '.happy_customers_wrap_piterest' ).parallaxonegridpinterest( {columns: 1,selector: '.testimonials-box'} ); 186 | } else { 187 | jQuery( '.our_services_wrap_piterest' ).parallaxonegridpinterest( {columns: 3,selector: '.service-box'} ); 188 | jQuery( '.happy_customers_wrap_piterest' ).parallaxonegridpinterest( {columns: 3,selector: '.testimonials-box'} ); 189 | } 190 | } 191 | } 192 | ); 193 | 194 | 195 | /*============================= 196 | ========= MAP OVERLAY ========= 197 | ===============================*/ 198 | jQuery( document ).ready( 199 | function(){ 200 | 'use strict'; 201 | jQuery( 'html' ).click( 202 | function() { 203 | jQuery( '.parallax_one_map_overlay' ).show(); 204 | } 205 | ); 206 | 207 | jQuery( '#container-fluid' ).click( 208 | function(event){ 209 | event.stopPropagation(); 210 | } 211 | ); 212 | 213 | jQuery( '.parallax_one_map_overlay' ).on( 214 | 'click',function(){ 215 | jQuery( this ).hide(); 216 | } 217 | ); 218 | } 219 | ); 220 | 221 | 222 | jQuery( document ).ready( 223 | function(){ 224 | 'use strict'; 225 | if (jQuery( '.overlay-layer-nav' ).hasClass( 'sticky-navigation-open' )) { 226 | var $parallax_one_header_height = jQuery( '.navbar' ).height(); 227 | $parallax_one_header_height += 84; 228 | jQuery( '.header .overlay-layer' ).css( 'padding-top',$parallax_one_header_height ); 229 | } 230 | } 231 | ); 232 | 233 | /** 234 | * Remove background-attachment: fixed if mobile for ribbon. 235 | */ 236 | jQuery( document ).ready( 237 | function(){ 238 | 'use strict'; 239 | if ( navigator.userAgent.match(/Tablet|iPad|Mobile|Windows Phone|Lumia|Android|webOS|iPhone|iPod|Blackberry|PlayBook|BB10|Opera Mini|\bCrMo\/|Opera Mobi/i ) ) { 240 | jQuery( 'section.call-to-action.ribbon-wrap' ).css( 'background-attachment', 'initial' ); 241 | } 242 | } 243 | ); 244 | -------------------------------------------------------------------------------- /js/html5shiv.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document); -------------------------------------------------------------------------------- /js/parallax_one_customizer.js: -------------------------------------------------------------------------------- 1 | /******************************************** 2 | * ** Parallax effect 3 | *********************************************/ 4 | 5 | jQuery( document ).ready( 6 | function(){ 7 | 8 | 'use strict'; 9 | var sh = jQuery( '#customize-control-paralax_one_enable_move' ).find( 'input:checkbox' ); 10 | if ( ! sh.is( ':checked' )) { 11 | jQuery( '#customize-control-paralax_one_first_layer' ).hide(); 12 | jQuery( '#customize-control-paralax_one_second_layer' ).hide(); 13 | jQuery( '#customize-control-header_image' ).show(); 14 | } else { 15 | jQuery( '#customize-control-paralax_one_first_layer' ).show(); 16 | jQuery( '#customize-control-paralax_one_second_layer' ).show(); 17 | jQuery( '#customize-control-header_image' ).hide(); 18 | } 19 | 20 | sh.on( 21 | 'change',function(){ 22 | if (jQuery( this ).is( ':checked' )) { 23 | jQuery( '#customize-control-paralax_one_first_layer' ).fadeIn(); 24 | jQuery( '#customize-control-paralax_one_second_layer' ).fadeIn(); 25 | jQuery( '#customize-control-header_image' ).fadeOut(); 26 | } else { 27 | jQuery( '#customize-control-paralax_one_first_layer' ).fadeOut(); 28 | jQuery( '#customize-control-paralax_one_second_layer' ).fadeOut(); 29 | jQuery( '#customize-control-header_image' ).fadeIn(); 30 | } 31 | } 32 | ); 33 | } 34 | ); 35 | -------------------------------------------------------------------------------- /js/skip-link-focus-fix.js: -------------------------------------------------------------------------------- 1 | ( function() { 2 | var is_webkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1, 3 | is_opera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1, 4 | is_ie = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1; 5 | 6 | if ( ( is_webkit || is_opera || is_ie ) && document.getElementById && window.addEventListener ) { 7 | window.addEventListener( 8 | 'hashchange', function() { 9 | var id = location.hash.substring( 1 ), 10 | element; 11 | 12 | if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) { 13 | return; 14 | } 15 | 16 | element = document.getElementById( id ); 17 | 18 | if ( element ) { 19 | if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) { 20 | element.tabIndex = -1; 21 | } 22 | 23 | element.focus(); 24 | } 25 | }, false 26 | ); 27 | } 28 | })(); 29 | -------------------------------------------------------------------------------- /languages/fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/languages/fr_FR.mo -------------------------------------------------------------------------------- /languages/pl_PL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/languages/pl_PL.mo -------------------------------------------------------------------------------- /languages/pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/languages/pt_BR.mo -------------------------------------------------------------------------------- /languages/ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/languages/ru_RU.mo -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Parallax-One", 3 | "nicename": "Parallax One", 4 | "version": "2.1.7", 5 | "description": "Parallax One theme", 6 | "category": "themes", 7 | "repository": { 8 | "type": "git", 9 | "url": "git+https://github.com/Codeinwp/Parallax-One.git" 10 | }, 11 | "keywords": [ 12 | "wordpress-theme" 13 | ], 14 | "theme": { 15 | "textdomain": "parallax-one" 16 | }, 17 | "author": "ThemeIsle ", 18 | "license": "GPL-2.0+", 19 | "bugs": { 20 | "url": "https://github.com/Codeinwp/Parallax-One/issues" 21 | }, 22 | "pot": { 23 | "reportmsgidbugsto": "https://github.com/Codeinwp/Parallax-One/issues", 24 | "languageteam": "Themeisle Translate ", 25 | "lasttranslator": "Themeisle Translate Team " 26 | }, 27 | "devDependencies": { 28 | "grunt-theme-fleet": "codeinwp/grunt-theme-fleet", 29 | "load-project-config": "~0.2.0" 30 | }, 31 | "wraithSlug": [ 32 | "parallax-one" 33 | ] 34 | } 35 | -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
    25 | 26 |
    27 |
    35 |
    36 | 37 | 38 | 42 | 43 | 44 | 45 | 51 | 52 | 53 | 54 | 55 |
    56 |
    57 | 58 | 59 |
    60 | 61 |
    62 | 63 | 64 | 2 | 3 | Themeisle rules for PHP_CodeSniffer 4 | 5 | . 6 | 7 | node_modules/* 8 | *.min.js 9 | *.css.js 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 0 25 | 26 | 27 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Parallax One 2 | 3 | Contributors: codeinwp 4 | 5 | Tags: black, blue, gray, white, light, responsive-layout, one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-menu, featured-images, front-page-post-form, full-width-template, rtl-language-support, threaded-comments, translation-ready 6 | 7 | Requires at least: 3.3.0 8 | 9 | Tested up to: 4.3 10 | 11 | Parallax One 12 | 13 | ## Description 14 | 15 | Parallax One is a free and elegant one page theme that can be used for web agency business,corporate business,personal and parallax business portfolio, photography sites and freelancer . It comes with a clean and beautiful design, completed by the parallax effect, which makes it run smoothly and easily. You can simply modify everything, as the theme comes with a complex and user-friendly set of customization options. Parallax One is ecommerce (WooCommerce) Compatible, WPML and SEO Friendly and is one of the best business themes. 16 | 17 | ## License # 18 | 19 | Parallax One WordPress theme, Copyright (C) 2015 ThemeIsle.com 20 | Parallax One WordPress theme is licensed under the GPL3. 21 | 22 | Unless otherwise specified, all the theme files, scripts and images are licensed under GNU General Public License. 23 | The exceptions to this license are as follows: 24 | 25 | * Bootstrap v3.1.1 (http://getbootstrap.com) 26 | Copyright 2011-2014 Twitter, Inc. 27 | Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 28 | 29 | * Fontastic 30 | Copyright (c) 2014 WEBALYS (http://www.webalys.com) 31 | Licensed under the MIT license. 32 | 33 | * Html5shiv 34 | HTML5 Shiv 3.7.2 35 | Licensed under the MIT/GPL2 license. 36 | 37 | * Parallax.js 38 | Copyright (C) 2014 Matthew Wagerfield - @wagerfield 39 | Licensed under the MIT license. 40 | 41 | * Font Awesome Iconpicker from repeater 42 | Copyright (c) 2014 Javier Aguilar @mjolnic 43 | Licensed under the MIT license. 44 | 45 | * scrollReveal.js 46 | Copyright (C) 2014 https://twitter.com/julianlloyd 47 | Licensed under the MIT license. 48 | 49 | * FontAwesome, http://fontawesome.io/ 50 | Copyright 2015, Dave Gandy, 51 | Font Awesome licensed under SIL OFL 1.1, http://scripts.sil.org/OFL 52 | Code licensed under MIT License, http://www.opensource.org/licenses/MIT 53 | Documentation licensed under CC BY 3.0, http://creativecommons.org/licenses/by/3.0/ 54 | 55 | * Images 56 | 57 | License: 58 | All unsplash.com images are licensed under the terms of the Creative Commons Zero, http://creativecommons.org/publicdomain/zero/1.0/ 59 | All pexels.com images are licensed under the terms of the Creative Commons Zero, http://creativecommons.org/publicdomain/zero/1.0/ 60 | All pixabay.com images are licensed under the terms of the Creative Commons Zero, http://creativecommons.org/publicdomain/zero/1.0/ 61 | 62 | * Image from screenshot: 63 | Source: https://unsplash.com/photos/nOhUx3tiaQQ 64 | 65 | * images/background-images/background.jpg, images/background-images/background_thumbnail.jpg 66 | Source: https://unsplash.com/photos/nOhUx3tiaQQ 67 | * images/background-images/parallax-img/parallax-img1.jpg 68 | Source: https://unsplash.com/photos/jrh5lAq-mIs 69 | * images/team/1.jpg 70 | Source: https://unsplash.com/photos/aSlReZyUt4c 71 | * images/team/2.jpg 72 | Source: https://unsplash.com/photos/ggJRxqOEaFY 73 | * images/team/3.jpg 74 | Source: https://pixabay.com/en/woman-person-business-professional-801872/ 75 | * images/clients/1.jpg 76 | Source: https://www.pexels.com/photo/woman-girl-glasses-blond-28319/ 77 | * images/clients/2.jpg 78 | Source: https://www.pexels.com/photo/girls-women-laughing-secret-29593/ 79 | * images/clients/3.jpg 80 | Source: https://download.unsplash.com/photo-1427088625471-da8a7193afd3 81 | * images/about-us.png 82 | Source: https://unsplash.com/photos/aSlReZyUt4c 83 | Source: https://www.pexels.com/photo/woman-wearing-black-top-27949/ 84 | Source: https://pixabay.com/en/woman-person-business-professional-801872/ -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Codeinwp/Parallax-One/8587c7d2514ab477cc1fdba0e10a1c0246432767/screenshot.png -------------------------------------------------------------------------------- /search.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
    20 | 21 |
    22 | 23 |
    24 |
    25 | 26 | 27 | 28 | 36 | 37 | 38 | 39 | 43 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 |
    63 |
    64 | 65 | 66 | 67 |
    68 | 69 |
    70 | 71 | 72 | -------------------------------------------------------------------------------- /sections/parallax_one_contact_info_section.php: -------------------------------------------------------------------------------- 1 | 17 |
    18 | 19 |
    20 |
    21 | 68 |
    69 |
    70 | 71 |
    72 | 73 | 76 | -------------------------------------------------------------------------------- /sections/parallax_one_happy_customers_section.php: -------------------------------------------------------------------------------- 1 | 21 | 22 |
    23 | 24 |
    25 |
    26 | 29 |
    30 | 33 |

    34 | 37 |

    38 | 43 |
    44 | 47 |
    48 | 51 |
    52 | 57 |
    65 | image_url ) ? apply_filters( 'parallax_one_translate_single_string', $parallax_one_testimonial->image_url, 'Testimonials section' ) : ''; 69 | $title = ! empty( $parallax_one_testimonial->title ) ? apply_filters( 'parallax_one_translate_single_string', $parallax_one_testimonial->title, 'Testimonials section' ) : ''; 70 | $subtitle = ! empty( $parallax_one_testimonial->subtitle ) ? apply_filters( 'parallax_one_translate_single_string', $parallax_one_testimonial->subtitle, 'Testimonials section' ) : ''; 71 | $text = ! empty( $parallax_one_testimonial->text ) ? apply_filters( 'parallax_one_translate_single_string', $parallax_one_testimonial->text, 'Testimonials section' ) : ''; 72 | $section_is_empty = empty( $image ) && empty( $title ) && empty( $subtitle ) && empty( $text ); 73 | 74 | if ( ! $section_is_empty ) { 75 | parallax_hook_testimonials_entry_before(); 76 | ?> 77 |
    82 | > 83 | 84 | 141 | 142 |
    143 | 144 | 148 |
    149 | 152 |
    153 |
    154 | 155 |
    156 | 157 | 161 | 162 |
    163 | 164 |
    165 |
    166 |
    167 |

    168 |
    169 |
    170 |
    171 |
    172 | 173 |
    174 | 175 | '; 41 | 42 | 43 | if ( empty( $parallax_one_first_layer ) && empty( $parallax_one_second_layer ) ) { 44 | 45 | $parallax_one_header_image2 = get_header_image(); 46 | $parallax_one_header_image2 = apply_filters( 'parallax_one_translate_single_string', $parallax_one_header_image2, 'Big Title Section' ); 47 | 48 | echo '
  • '; 49 | 50 | } else { 51 | 52 | if ( ! empty( $parallax_one_first_layer ) ) { 53 | echo '
  • '; 54 | } 55 | if ( ! empty( $parallax_one_second_layer ) ) { 56 | echo '
  • '; 57 | } 58 | } 59 | 60 | echo ''; 61 | 62 | } ?> 63 | 64 | 65 |
    66 | 67 |
    68 | 69 | 70 |
    '; 73 | } elseif ( is_customize_preview() ) { 74 | echo ''; 75 | } 76 | ?> 77 | 78 | 79 |
    80 |
    81 | 82 | 83 | 86 |
    87 | 88 | 89 | ' . wp_kses_post( $parallax_one_header_title ) . ''; 92 | } elseif ( is_customize_preview() ) { 93 | echo '

    '; 94 | } 95 | 96 | if ( ! empty( $parallax_one_header_subtitle ) ) { 97 | echo '
    ' . wp_kses_post( $parallax_one_header_subtitle ) . '
    '; 98 | } elseif ( is_customize_preview() ) { 99 | echo '
    '; 100 | } 101 | ?> 102 | 103 | 104 | '; 112 | ?> 113 | 114 | 115 | 116 | '; 124 | } 125 | ?> 126 | 127 | 128 |
    129 | 130 | 133 |
    134 |
    135 |
    136 | 137 | 138 | 139 | 141 | -------------------------------------------------------------------------------- /sections/parallax_one_latest_news_section.php: -------------------------------------------------------------------------------- 1 | 'post', 12 | 'posts_per_page' => $parallax_number_of_posts, 13 | 'order' => 'DESC', 14 | 'ignore_sticky_posts' => true, 15 | ); 16 | 17 | $parallax_latestnews_cat = parallax_latest_news_cat(); 18 | 19 | if ( ! empty( $parallax_latestnews_cat ) ) : 20 | $args['cat'] = $parallax_latestnews_cat; 21 | endif; 22 | 23 | $the_query = new WP_Query( $args ); 24 | if ( $the_query->have_posts() ) { 25 | $parallax_one_latest_news_title = get_theme_mod( 'parallax_one_latest_news_title', esc_html__( 'Latest news', 'parallax-one' ) ); 26 | $parallax_one_latest_news_title = apply_filters( 'parallax_one_translate_single_string', $parallax_one_latest_news_title, 'Latest News Section' ); 27 | 28 | if ( $parallax_number_of_posts > 0 ) { 29 | ?> 30 | 31 |
    32 | 33 |
    34 |
    35 |
    36 | 37 | 38 |

    ' . esc_attr( $parallax_one_latest_news_title ) . '

    '; 41 | } elseif ( is_customize_preview() ) { 42 | echo '

    '; 43 | } 44 | ?> 45 | 46 |
    47 |
    48 | 49 | 50 |
    51 | 52 |
    53 |
      54 | 55 | have_posts() ) : 60 | $the_query->the_post(); 61 | 62 | $i_latest_posts++; 63 | 64 | if ( ! wp_is_mobile() ) { 65 | if ( $i_latest_posts % 2 == 1 ) { 66 | echo '
    • '; 67 | } 68 | } else { 69 | echo '
    • '; 70 | } 71 | ?> 72 | 73 |
      79 | > 80 | 83 | 97 |
      98 |
      99 |

      100 | 101 |

      102 | 115 |
      116 |
      117 | 118 | 119 | ' . get_the_title() . '' ); ?> 120 |
      121 |
      122 |
      123 | 124 | '; 128 | } 129 | } else { 130 | echo '
    • '; 131 | } 132 | 133 | endwhile; 134 | wp_reset_postdata(); 135 | ?> 136 |
    137 |
    138 |
    139 |
    140 |
    141 | 142 | 143 |
    144 | 145 | 148 | -------------------------------------------------------------------------------- /sections/parallax_one_logos_section.php: -------------------------------------------------------------------------------- 1 | 21 | 22 |
    23 | 26 |
    27 |
      33 | > 34 | id ) ? $parallax_one_logo->id : ''; 38 | $link = ! empty( $parallax_one_logo->link ) ? apply_filters( 'parallax_one_translate_single_string', $parallax_one_logo->link, 'Logos section' ) : ''; 39 | $image = ! empty( $parallax_one_logo->image_url ) ? apply_filters( 'parallax_one_translate_single_string', $parallax_one_logo->image_url, 'Logos section' ) : ''; 40 | 41 | if ( ! empty( $image ) ) { 42 | ?> 43 |
    • 44 | 47 | 48 | <?php esc_attr_e( 'Logo', 'parallax-one' ); ?> 49 | 50 | 53 | <?php esc_attr_e( 'Logo', 'parallax-one' ); ?> 54 | 57 |
    • 58 | 62 |
    63 |
    64 | 67 |
    68 | 71 | -------------------------------------------------------------------------------- /sections/parallax_one_map_section.php: -------------------------------------------------------------------------------- 1 | 18 | 19 |
    20 | 21 |
    22 |
    23 | 24 |
    25 | 26 |
    27 | 28 | 31 | 32 |
    33 | 34 |
    35 | 36 |
    37 | 38 |
    39 | 40 | 44 | -------------------------------------------------------------------------------- /sections/parallax_one_our_story_section.php: -------------------------------------------------------------------------------- 1 | 21 | 22 |
    23 | 24 |
    25 |
    26 |
    27 | 28 | 32 |
    33 |
    39 | > 40 |  <?php echo esc_attr( $parallax_one_our_story_title ); ?> 41 |
    42 |
    43 | 44 |
    45 |
    51 | > 52 | <?php echo esc_html__( 'About', 'parallax-one' ); ?> 53 |
    54 |
    55 | 59 |
    60 |
    66 | > 67 | 68 |
    69 |
    70 | 73 | 74 | 75 | '; 78 | } else { 79 | echo '
    '; 80 | } 81 | ?> 82 | ' . esc_attr( $parallax_one_our_story_title ) . '
    '; 85 | } elseif ( is_customize_preview() ) { 86 | echo '

    '; 87 | } 88 | ?> 89 | 90 | 94 |
    100 | > 101 | 102 |
    103 | 104 | 105 |
    111 | > 112 | 113 |
    114 | 117 |
    118 |
    119 |
    120 |
    121 | 122 |
    123 | 124 | 128 | 129 |
    130 | 131 |
    132 |
    133 |

    134 |
    135 |
    136 | 137 |
    138 | 139 | 143 | -------------------------------------------------------------------------------- /sections/parallax_one_our_team_section.php: -------------------------------------------------------------------------------- 1 | 20 |
    21 | 22 |
    23 |
    24 | 27 |
    28 | 31 |

    32 | 35 |

    36 | 41 |
    42 | 45 |
    46 | 49 |
    50 | 55 |
    56 | title ) ? apply_filters( 'parallax_one_translate_single_string', $parallax_one_team_member->title, 'Team section' ) : ''; 60 | $subtitle = ! empty( $parallax_one_team_member->subtitle ) ? apply_filters( 'parallax_one_translate_single_string', $parallax_one_team_member->subtitle, 'Team section' ) : ''; 61 | $image = ! empty( $parallax_one_team_member->image_url ) ? apply_filters( 'parallax_one_translate_single_string', $parallax_one_team_member->image_url, 'Team section' ) : ''; 62 | $section_is_empty = empty( $image ) && empty( $title ) && empty( $subtitle ); 63 | if ( ! $section_is_empty ) { 64 | ?> 65 |
    66 |
    72 | > 73 |
    74 | 77 | > 78 | 82 | <?php esc_html_e( 'Avatar', 'parallax-one' ); ?> 83 | 86 |
    87 | 90 |
    91 |
    92 | 95 |
    96 | 101 |
    102 | social_repeater ) ) { 106 | $socials = html_entity_decode( $parallax_one_team_member->social_repeater ); 107 | $icons_decoded = json_decode( $socials, true ); 108 | ?> 109 | 137 | 140 |
    141 |
    142 | 145 |
    146 |
    147 | 151 |
    152 | 155 |
    156 |
    157 | 158 |
    159 | 165 |
    166 | 167 |
    168 |
    169 |
    170 |

    171 |
    172 |
    173 |
    174 |
    175 | 176 |
    177 | 178 | 181 | -------------------------------------------------------------------------------- /sections/parallax_one_ribbon_section.php: -------------------------------------------------------------------------------- 1 | '; 31 | parallax_hook_ribbon_top(); 32 | 33 | } else { 34 | if ( is_customize_preview() ) { 35 | echo '
    '; 36 | parallax_hook_ribbon_top(); 37 | } 38 | } 39 | 40 | if ( ! empty( $parallax_one_ribbon_title ) || ! empty( $parallax_one_button_text ) || is_customize_preview() ) { ?> 41 |
    42 |
    43 |
    44 |
    45 | 46 | '; 53 | echo wp_kses_post( $parallax_one_ribbon_title ); 54 | echo ''; 55 | } elseif ( is_customize_preview() ) { 56 | echo '

    '; 61 | echo '

    '; 62 | } 63 | if ( ! empty( $parallax_one_button_text ) ) { 64 | echo ''; 76 | } elseif ( is_customize_preview() ) { 77 | echo ''; 85 | } 86 | ?> 87 | 88 |
    89 |
    90 |
    91 |
    92 | 93 |
    94 | 95 | 98 | -------------------------------------------------------------------------------- /sidebar.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 18 | 19 | -------------------------------------------------------------------------------- /single-download.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
    18 |
    19 | 20 |
    21 |
    22 | 23 | 27 | 28 | 29 | 30 | 31 | 32 |
    33 |
    34 | 35 |
    36 |
    37 | 38 | 39 | -------------------------------------------------------------------------------- /single.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
    19 | 20 |
    21 | 22 |
    30 |
    31 | 32 | 36 | 37 | 38 | 39 | 40 | 41 | 47 | 48 | 49 | 50 |
    51 |
    52 | 53 | 54 | 55 |
    56 | 57 |
    58 | 59 | 60 | -------------------------------------------------------------------------------- /template-blog.php: -------------------------------------------------------------------------------- 1 | 'post', 11 | 'posts_per_page' => 6, 12 | 'paged' => ( get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1 ), 13 | ) 14 | ); 15 | 16 | include( get_home_template() ); 17 | 18 | wp_reset_postdata(); 19 | 20 | -------------------------------------------------------------------------------- /template-contact.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
    18 |
    19 | 20 |
    21 |
    22 | 23 | 27 | 28 | 29 | 30 | 31 | 32 |
    33 |
    34 | 35 |
    36 |
    37 | 38 | 39 | -------------------------------------------------------------------------------- /template-fullwidth-no-title.php: -------------------------------------------------------------------------------- 1 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
    21 |
    22 | 25 |
    31 |
    32 | 33 | 37 | 38 | 39 | 40 | 46 | 47 | 48 | 49 |
    50 |
    51 | 52 |
    53 |
    54 | 55 | 56 | -------------------------------------------------------------------------------- /template-fullwidth.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
    18 |
    19 | 22 |
    28 |
    29 | 30 | 34 | 35 | 36 | 37 | 43 | 44 | 45 | 46 |
    47 |
    48 | 49 |
    50 |
    51 | 52 | 53 | -------------------------------------------------------------------------------- /wpml-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | --------------------------------------------------------------------------------