├── screenshot.png ├── assets ├── img │ ├── b1.jpg │ ├── b2.jpg │ ├── b3.jpg │ ├── b4.jpg │ ├── e1.jpg │ ├── e2.jpg │ ├── e3.jpg │ ├── g1.jpg │ ├── g2.jpg │ ├── g3.jpg │ ├── g4.jpg │ ├── g5.jpg │ ├── g6.jpg │ ├── g7.jpg │ ├── g8.jpg │ ├── g9.jpg │ ├── u1.jpg │ ├── u2.jpg │ ├── u3.jpg │ ├── u4.jpg │ ├── g10.jpg │ ├── g11.jpg │ ├── g12.jpg │ ├── logo.png │ ├── blog │ │ ├── c1.jpg │ │ ├── c2.jpg │ │ ├── c3.jpg │ │ ├── c4.jpg │ │ ├── c5.jpg │ │ ├── l1.jpg │ │ ├── l2.jpg │ │ ├── l3.jpg │ │ ├── l4.jpg │ │ ├── p1.jpg │ │ ├── p2.jpg │ │ ├── p3.jpg │ │ ├── p4.jpg │ │ ├── r1.jpg │ │ ├── r2.jpg │ │ ├── r3.jpg │ │ ├── r4.jpg │ │ ├── next.jpg │ │ ├── prev.jpg │ │ ├── s-img.jpg │ │ ├── user.jpg │ │ ├── user2.jpg │ │ ├── slider.jpg │ │ └── blog-banner.jpg │ ├── elements │ │ ├── a.jpg │ │ ├── d.jpg │ │ ├── a2.jpg │ │ ├── f1.jpg │ │ ├── f2.jpg │ │ ├── f3.jpg │ │ ├── f4.jpg │ │ ├── f5.jpg │ │ ├── f6.jpg │ │ ├── f7.jpg │ │ ├── f8.jpg │ │ ├── g1.jpg │ │ ├── g2.jpg │ │ ├── g3.jpg │ │ ├── g4.jpg │ │ ├── g5.jpg │ │ ├── g6.jpg │ │ ├── g7.jpg │ │ ├── g8.jpg │ │ ├── primary-check.png │ │ ├── primary-radio.png │ │ ├── success-check.png │ │ ├── success-radio.png │ │ ├── disabled-check.png │ │ └── disabled-radio.png │ ├── header-bg.jpg │ └── pages │ │ ├── ct1.jpg │ │ ├── ex1.jpg │ │ ├── ex2.jpg │ │ ├── ex3.jpg │ │ ├── ex4.jpg │ │ ├── ex5.jpg │ │ ├── ex6.jpg │ │ ├── w1.jpg │ │ ├── w2.jpg │ │ ├── w3.jpg │ │ ├── w4.jpg │ │ ├── w5.jpg │ │ ├── w6.jpg │ │ └── about-img.jpg ├── fonts │ ├── FontAwesome.otf │ ├── Linearicons-Free.eot │ ├── Linearicons-Free.ttf │ ├── Linearicons-Free.woff │ ├── Linearicons-Free.woff2 │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 ├── css │ ├── artmuseum-admin.css │ ├── common.css │ ├── nice-select.css │ └── elementor-default-element-style.css └── js │ ├── artmuseum_admin.js │ ├── artmuseum-elementor-notice.js │ ├── jquery.nice-select.min.js │ ├── superfish.min.js │ ├── main.js │ └── jquery.sticky.js ├── inc ├── artmuseum-companion │ ├── inc │ │ ├── artmuseum-meta │ │ │ ├── assets │ │ │ │ ├── css │ │ │ │ │ └── artmuseum-meta.css │ │ │ │ ├── img │ │ │ │ │ ├── thumb_01.png │ │ │ │ │ ├── thumb_02.png │ │ │ │ │ └── thumb_03.png │ │ │ │ └── js │ │ │ │ │ └── artmuseum-meta.js │ │ │ └── artmuseum-meta-config.php │ │ ├── demo-data │ │ │ ├── screen-image.png │ │ │ ├── css │ │ │ │ └── demo-import.css │ │ │ ├── artmuseum-widgets-demo.json │ │ │ ├── artmuseum-customizer.dat │ │ │ └── demo-import.php │ │ ├── elementor-widgets │ │ │ ├── .DS_Store │ │ │ ├── assets │ │ │ │ ├── css │ │ │ │ │ ├── elementor-edit.css │ │ │ │ │ ├── justifiedGallery.min.css │ │ │ │ │ └── owl.carousel.css │ │ │ │ ├── fonts │ │ │ │ │ └── themify-icon │ │ │ │ │ │ └── fonts │ │ │ │ │ │ ├── themify.eot │ │ │ │ │ │ ├── themify.ttf │ │ │ │ │ │ └── themify.woff │ │ │ │ └── js │ │ │ │ │ ├── artmuseum-companion-main.js │ │ │ │ │ ├── map-custom.js │ │ │ │ │ └── jquery.ajaxchimp.min.js │ │ │ └── widgets │ │ │ │ ├── quote-section.php │ │ │ │ ├── call-to-action.php │ │ │ │ ├── section-heading.php │ │ │ │ └── gallery.php │ │ ├── social-share.php │ │ ├── sidebar-widgets │ │ │ ├── recent-post-thumb.php │ │ │ └── newsletter-widget.php │ │ └── functions.php │ ├── artmuseum-init.php │ ├── js │ │ └── post-likes.js │ ├── artmuseum-companion.php │ └── readme.txt ├── class-epsilon-dashboard-autoloader.php ├── widgets-reg.php ├── wp_bootstrap_pagination.php ├── libraries │ └── class-epsilon-init-notify-system.php ├── hooks │ └── hooks.php ├── customizer │ ├── fields │ │ └── sections.php │ ├── js │ │ └── customizer.js │ └── customizer.php ├── classes │ └── Class-Enqueue.php ├── support-functions.php └── class-epsilon-init-dashboard.php ├── .gitmodules ├── template-builder.php ├── templates ├── footer-bottom.php ├── content-page.php ├── footer-widgets.php ├── biography.php ├── pagination.php ├── header-bottom.php ├── 404.php ├── content-none.php ├── content.php ├── content-video.php ├── content-audio.php ├── content-single.php └── header-nav.php ├── sidebar.php ├── 404.php ├── footer.php ├── searchform.php ├── header.php ├── style.css ├── page.php ├── single.php ├── archive.php ├── index.php ├── search.php ├── readme.txt ├── functions.php └── comments.php /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/screenshot.png -------------------------------------------------------------------------------- /assets/img/b1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/b1.jpg -------------------------------------------------------------------------------- /assets/img/b2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/b2.jpg -------------------------------------------------------------------------------- /assets/img/b3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/b3.jpg -------------------------------------------------------------------------------- /assets/img/b4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/b4.jpg -------------------------------------------------------------------------------- /assets/img/e1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/e1.jpg -------------------------------------------------------------------------------- /assets/img/e2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/e2.jpg -------------------------------------------------------------------------------- /assets/img/e3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/e3.jpg -------------------------------------------------------------------------------- /assets/img/g1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g1.jpg -------------------------------------------------------------------------------- /assets/img/g2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g2.jpg -------------------------------------------------------------------------------- /assets/img/g3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g3.jpg -------------------------------------------------------------------------------- /assets/img/g4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g4.jpg -------------------------------------------------------------------------------- /assets/img/g5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g5.jpg -------------------------------------------------------------------------------- /assets/img/g6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g6.jpg -------------------------------------------------------------------------------- /assets/img/g7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g7.jpg -------------------------------------------------------------------------------- /assets/img/g8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g8.jpg -------------------------------------------------------------------------------- /assets/img/g9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g9.jpg -------------------------------------------------------------------------------- /assets/img/u1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/u1.jpg -------------------------------------------------------------------------------- /assets/img/u2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/u2.jpg -------------------------------------------------------------------------------- /assets/img/u3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/u3.jpg -------------------------------------------------------------------------------- /assets/img/u4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/u4.jpg -------------------------------------------------------------------------------- /assets/img/g10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g10.jpg -------------------------------------------------------------------------------- /assets/img/g11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g11.jpg -------------------------------------------------------------------------------- /assets/img/g12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/g12.jpg -------------------------------------------------------------------------------- /assets/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/logo.png -------------------------------------------------------------------------------- /assets/img/blog/c1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/c1.jpg -------------------------------------------------------------------------------- /assets/img/blog/c2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/c2.jpg -------------------------------------------------------------------------------- /assets/img/blog/c3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/c3.jpg -------------------------------------------------------------------------------- /assets/img/blog/c4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/c4.jpg -------------------------------------------------------------------------------- /assets/img/blog/c5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/c5.jpg -------------------------------------------------------------------------------- /assets/img/blog/l1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/l1.jpg -------------------------------------------------------------------------------- /assets/img/blog/l2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/l2.jpg -------------------------------------------------------------------------------- /assets/img/blog/l3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/l3.jpg -------------------------------------------------------------------------------- /assets/img/blog/l4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/l4.jpg -------------------------------------------------------------------------------- /assets/img/blog/p1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/p1.jpg -------------------------------------------------------------------------------- /assets/img/blog/p2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/p2.jpg -------------------------------------------------------------------------------- /assets/img/blog/p3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/p3.jpg -------------------------------------------------------------------------------- /assets/img/blog/p4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/p4.jpg -------------------------------------------------------------------------------- /assets/img/blog/r1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/r1.jpg -------------------------------------------------------------------------------- /assets/img/blog/r2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/r2.jpg -------------------------------------------------------------------------------- /assets/img/blog/r3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/r3.jpg -------------------------------------------------------------------------------- /assets/img/blog/r4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/r4.jpg -------------------------------------------------------------------------------- /assets/img/blog/next.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/next.jpg -------------------------------------------------------------------------------- /assets/img/blog/prev.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/prev.jpg -------------------------------------------------------------------------------- /assets/img/blog/s-img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/s-img.jpg -------------------------------------------------------------------------------- /assets/img/blog/user.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/user.jpg -------------------------------------------------------------------------------- /assets/img/blog/user2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/user2.jpg -------------------------------------------------------------------------------- /assets/img/elements/a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/a.jpg -------------------------------------------------------------------------------- /assets/img/elements/d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/d.jpg -------------------------------------------------------------------------------- /assets/img/header-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/header-bg.jpg -------------------------------------------------------------------------------- /assets/img/pages/ct1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/ct1.jpg -------------------------------------------------------------------------------- /assets/img/pages/ex1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/ex1.jpg -------------------------------------------------------------------------------- /assets/img/pages/ex2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/ex2.jpg -------------------------------------------------------------------------------- /assets/img/pages/ex3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/ex3.jpg -------------------------------------------------------------------------------- /assets/img/pages/ex4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/ex4.jpg -------------------------------------------------------------------------------- /assets/img/pages/ex5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/ex5.jpg -------------------------------------------------------------------------------- /assets/img/pages/ex6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/ex6.jpg -------------------------------------------------------------------------------- /assets/img/pages/w1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/w1.jpg -------------------------------------------------------------------------------- /assets/img/pages/w2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/w2.jpg -------------------------------------------------------------------------------- /assets/img/pages/w3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/w3.jpg -------------------------------------------------------------------------------- /assets/img/pages/w4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/w4.jpg -------------------------------------------------------------------------------- /assets/img/pages/w5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/w5.jpg -------------------------------------------------------------------------------- /assets/img/pages/w6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/w6.jpg -------------------------------------------------------------------------------- /assets/img/blog/slider.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/slider.jpg -------------------------------------------------------------------------------- /assets/img/elements/a2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/a2.jpg -------------------------------------------------------------------------------- /assets/img/elements/f1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/f1.jpg -------------------------------------------------------------------------------- /assets/img/elements/f2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/f2.jpg -------------------------------------------------------------------------------- /assets/img/elements/f3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/f3.jpg -------------------------------------------------------------------------------- /assets/img/elements/f4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/f4.jpg -------------------------------------------------------------------------------- /assets/img/elements/f5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/f5.jpg -------------------------------------------------------------------------------- /assets/img/elements/f6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/f6.jpg -------------------------------------------------------------------------------- /assets/img/elements/f7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/f7.jpg -------------------------------------------------------------------------------- /assets/img/elements/f8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/f8.jpg -------------------------------------------------------------------------------- /assets/img/elements/g1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/g1.jpg -------------------------------------------------------------------------------- /assets/img/elements/g2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/g2.jpg -------------------------------------------------------------------------------- /assets/img/elements/g3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/g3.jpg -------------------------------------------------------------------------------- /assets/img/elements/g4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/g4.jpg -------------------------------------------------------------------------------- /assets/img/elements/g5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/g5.jpg -------------------------------------------------------------------------------- /assets/img/elements/g6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/g6.jpg -------------------------------------------------------------------------------- /assets/img/elements/g7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/g7.jpg -------------------------------------------------------------------------------- /assets/img/elements/g8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/g8.jpg -------------------------------------------------------------------------------- /assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /assets/img/pages/about-img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/pages/about-img.jpg -------------------------------------------------------------------------------- /assets/img/blog/blog-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/blog/blog-banner.jpg -------------------------------------------------------------------------------- /assets/fonts/Linearicons-Free.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/fonts/Linearicons-Free.eot -------------------------------------------------------------------------------- /assets/fonts/Linearicons-Free.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/fonts/Linearicons-Free.ttf -------------------------------------------------------------------------------- /assets/fonts/Linearicons-Free.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/fonts/Linearicons-Free.woff -------------------------------------------------------------------------------- /assets/fonts/Linearicons-Free.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/fonts/Linearicons-Free.woff2 -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /assets/img/elements/primary-check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/primary-check.png -------------------------------------------------------------------------------- /assets/img/elements/primary-radio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/primary-radio.png -------------------------------------------------------------------------------- /assets/img/elements/success-check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/success-check.png -------------------------------------------------------------------------------- /assets/img/elements/success-radio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/success-radio.png -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/artmuseum-meta/assets/css/artmuseum-meta.css: -------------------------------------------------------------------------------- 1 | .artmuseum-admin-selectbox { 2 | width: 100%; 3 | } 4 | -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /assets/img/elements/disabled-check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/disabled-check.png -------------------------------------------------------------------------------- /assets/img/elements/disabled-radio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/assets/img/elements/disabled-radio.png -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/demo-data/screen-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/inc/artmuseum-companion/inc/demo-data/screen-image.png -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/elementor-widgets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/inc/artmuseum-companion/inc/elementor-widgets/.DS_Store -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/elementor-widgets/assets/css/elementor-edit.css: -------------------------------------------------------------------------------- 1 | .elementor-choices-label i { 2 | font-size: 18px !important; 3 | padding: 5px 0; 4 | } -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/artmuseum-meta/assets/img/thumb_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/inc/artmuseum-companion/inc/artmuseum-meta/assets/img/thumb_01.png -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/artmuseum-meta/assets/img/thumb_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/inc/artmuseum-companion/inc/artmuseum-meta/assets/img/thumb_02.png -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/artmuseum-meta/assets/img/thumb_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/inc/artmuseum-companion/inc/artmuseum-meta/assets/img/thumb_03.png -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/elementor-widgets/assets/fonts/themify-icon/fonts/themify.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/inc/artmuseum-companion/inc/elementor-widgets/assets/fonts/themify-icon/fonts/themify.eot -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/elementor-widgets/assets/fonts/themify-icon/fonts/themify.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/inc/artmuseum-companion/inc/elementor-widgets/assets/fonts/themify-icon/fonts/themify.ttf -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/elementor-widgets/assets/fonts/themify-icon/fonts/themify.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColorlibHQ/artmuseum/master/inc/artmuseum-companion/inc/elementor-widgets/assets/fonts/themify-icon/fonts/themify.woff -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "inc/libraries/epsilon-theme-dashboard"] 2 | path = inc/libraries/epsilon-theme-dashboard 3 | url = https://github.com/MachoThemes/epsilon-theme-dashboard 4 | [submodule "inc/libraries/epsilon-framework"] 5 | path = inc/libraries/epsilon-framework 6 | url = https://github.com/MachoThemes/epsilon-framework 7 | -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/demo-data/css/demo-import.css: -------------------------------------------------------------------------------- 1 | .ocdi__demo-import-notice:not(:empty) { 2 | background-color: transparent !important; 3 | border-left: 0px !important; 4 | box-shadow: none !important; 5 | padding: 0px !important; 6 | } 7 | .ocdi__demo-import-notice img { 8 | border: 4px solid #dbe3ea; 9 | width: initial; 10 | max-width: 100%; 11 | } -------------------------------------------------------------------------------- /template-builder.php: -------------------------------------------------------------------------------- 1 | ', '', date( 'Y' ) ); 5 | 6 | ?> 7 | -------------------------------------------------------------------------------- /sidebar.php: -------------------------------------------------------------------------------- 1 | '; 18 | dynamic_sidebar( 'artmuseum-post-sidebar' ); 19 | echo ''; 20 | } 21 | -------------------------------------------------------------------------------- /404.php: -------------------------------------------------------------------------------- 1 | 32 | 33 | -------------------------------------------------------------------------------- /templates/content-page.php: -------------------------------------------------------------------------------- 1 | 15 |
> 16 | 29 |
-------------------------------------------------------------------------------- /searchform.php: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 |
18 | 19 | 20 |
21 |
-------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | 2 | > 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | > 15 | 2 | '; 10 | } 11 | 12 | // Footer widget 2 13 | if( is_active_sidebar( 'footer-2' ) ) { 14 | echo '
'; 17 | } 18 | 19 | // Footer widget 3 20 | if( is_active_sidebar( 'footer-3' ) ) { 21 | echo '
'; 24 | } 25 | 26 | ?> 27 | 28 | -------------------------------------------------------------------------------- /templates/biography.php: -------------------------------------------------------------------------------- 1 | 16 |
17 | 25 | 26 |
27 | 30 | 31 |

32 |
33 |
-------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | /** 2 | Theme Name: Art Museum 3 | Theme URI: http://colorlib.com/wp/artmuseum/ 4 | Author: Colorlib 5 | Author URI: http://colorlib.com/wp/ 6 | Description: Art Museum is a modern event WordPress Theme. Its stylish design and beautiful 7 | typography makes it an ideal theme for event and any kind of site. It is fully responsive so It will always look great and crisp on any devices and screen sizes. It's built with clean 8 | and organized code which makes it very easy to customize. 9 | Version: 1.0 10 | License: GNU General Public License v2 or later 11 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 | Tags: custom-header, custom-menu, featured-image-header, featured-images, full-width-template, translation-ready 13 | Text Domain: art-museum 14 | 15 | This theme, like WordPress, is licensed under the GPL. 16 | Use it to make something cool, have fun, and share what you've learned with others. 17 | */ 18 | 19 | -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/demo-data/artmuseum-widgets-demo.json: -------------------------------------------------------------------------------- 1 | {"artmuseum-post-sidebar":{"search-2":{"title":""},"artmuseum_author_widget-2":{"title":"Adele Gonzalez","textarea":"MCSE boot camps have its supporters and its detractors. Some people do not understand why you should have to spend money on boot camp when you can get.","fburl":"#","twiturl":"#","dribbbleurl":"#","behanceurl":"#","image":"http:\/\/spondan.com\/artmuseum\/wp-content\/uploads\/2018\/11\/01.jpg"},"artmuseum_recent_widget-2":{"title":"Recent Post","post_number":"3"},"categories-2":{"title":"","count":0,"hierarchical":0,"dropdown":0},"archives-2":{"title":"","count":0,"dropdown":0}},"footer-1":{"text-2":{"title":"About Us","text":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore dolore magna aliqua.","filter":true,"visual":true}},"footer-2":{"artmuseum_newsletter_widget-2":{"title":"Newsletter","actionurl":"","desc":"Stay update with our latest"}},"footer-3":{"artmuseum_social_widget-2":{"title":"Follow Us","textarea":"Let us be social","fburl":"#","twiturl":"#","dribbbleurl":"#","behanceurl":"#"}}} -------------------------------------------------------------------------------- /inc/artmuseum-companion/artmuseum-init.php: -------------------------------------------------------------------------------- 1 | '.esc_html__( 'Newer Post', 'art-museum' ); 21 | $older = esc_html__( 'Older Post', 'art-museum' ).''; 22 | 23 | echo ''; 41 | } 42 | -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/demo-data/artmuseum-customizer.dat: -------------------------------------------------------------------------------- 1 | a:4:{s:8:"template";s:10:"art-museum";s:4:"mods";a:16:{i:0;b:0;s:18:"nav_menu_locations";a:2:{s:12:"primary-menu";i:2;s:11:"social-menu";i:3;}s:18:"custom_css_post_id";i:-1;s:38:"artmuseum-headersocial-toggle-settings";s:1:"1";s:12:"header_image";s:80:"http://spondan.com/artmuseum/wp-content/uploads/2018/10/graffiti-966463_1280.jpg";s:17:"header_image_data";O:8:"stdClass":5:{s:13:"attachment_id";i:92;s:3:"url";s:80:"http://spondan.com/artmuseum/wp-content/uploads/2018/10/graffiti-966463_1280.jpg";s:13:"thumbnail_url";s:80:"http://spondan.com/artmuseum/wp-content/uploads/2018/10/graffiti-966463_1280.jpg";s:6:"height";i:720;s:5:"width";i:1280;}s:31:"artmuseum-blog-sidebar-settings";s:80:"{"columnsCount":2,"columns":{"1":{"index":1,"span":8},"2":{"index":2,"span":4}}}";s:32:"artmuseum-widget-toggle-settings";b:1;s:27:"artmuseum_headtop_btn2_text";s:10:"Buy Ticket";s:26:"artmuseum_headtop_btn2_url";s:1:"#";s:27:"artmuseum_headtop_btn1_text";s:8:"Visit Us";s:26:"artmuseum_headtop_btn1_url";s:1:"#";s:11:"custom_logo";i:142;s:39:"artmuseum-headeroverlay-toggle-settings";s:1:"1";s:34:"artmuseum-blog-social-share-toggle";s:1:"1";s:26:"artmuseum-blog-like-toggle";s:1:"1";}s:7:"options";a:2:{s:9:"site_icon";s:3:"158";s:23:"nav_menus_created_posts";a:0:{}}s:6:"wp_css";s:0:"";} -------------------------------------------------------------------------------- /templates/header-bottom.php: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/artmuseum-meta/assets/js/artmuseum-meta.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 'use strict'; 3 | 4 | // page template change option 5 | 6 | var $template = $( '#page_template' ), 7 | $pagesettingsmeta = $('#pageheader-meta-box'), 8 | $pageheader = $('#page_header_selectbox'), 9 | $headerbg = $( '.header-img' ); 10 | 11 | 12 | 13 | // Page Template Event 14 | 15 | $template.on( 'change', function(){ 16 | var $this = $(this); 17 | if( $this.val() == 'template-builder.php' ){ 18 | $pagesettingsmeta.show(); 19 | }else{ 20 | $pagesettingsmeta.hide(); 21 | } 22 | 23 | }); 24 | // if page template builder selected 25 | // if( $template.val() == 'template-builder.php' ){ 26 | // $pagesettingsmeta.show(); 27 | // }else{ 28 | // $pagesettingsmeta.hide(); 29 | // } 30 | 31 | // Page header Event 32 | $pageheader.on( 'change', function(){ 33 | var $this = $(this); 34 | if( $this.val() == 'show' ){ 35 | $headerbg.show(); 36 | }else{ 37 | $headerbg.hide(); 38 | } 39 | 40 | }); 41 | 42 | // if page header show selected 43 | if( $pageheader.val() != 'show' ){ 44 | $headerbg.hide(); 45 | } 46 | 47 | })(jQuery); -------------------------------------------------------------------------------- /inc/artmuseum-companion/js/post-likes.js: -------------------------------------------------------------------------------- 1 | (function( $ ) { 2 | 'use strict'; 3 | $(document).on('click', '.sl-button', function() { 4 | var button = $(this); 5 | var post_id = button.attr('data-post-id'); 6 | var security = button.attr('data-nonce'); 7 | var iscomment = button.attr('data-iscomment'); 8 | var allbuttons; 9 | if ( iscomment === '1' ) { /* Comments can have same id */ 10 | allbuttons = $('.sl-comment-button-'+post_id); 11 | } else { 12 | allbuttons = $('.sl-button-'+post_id); 13 | } 14 | var loader = allbuttons.next('#sl-loader'); 15 | if (post_id !== '') { 16 | $.ajax({ 17 | type: 'POST', 18 | url: simpleLikes.ajaxurl, 19 | data : { 20 | action : 'artmuseum_process_simple_like', 21 | post_id : post_id, 22 | nonce : security, 23 | is_comment : iscomment, 24 | }, 25 | beforeSend:function(){ 26 | loader.html(' 
Loading...
'); 27 | }, 28 | success: function(response){ 29 | var icon = response.icon; 30 | var count = response.count; 31 | allbuttons.html(icon+count); 32 | if(response.status === 'unliked') { 33 | var like_text = simpleLikes.like; 34 | allbuttons.prop('title', like_text); 35 | allbuttons.removeClass('liked'); 36 | } else { 37 | var unlike_text = simpleLikes.unlike; 38 | allbuttons.prop('title', unlike_text); 39 | allbuttons.addClass('liked'); 40 | } 41 | loader.empty(); 42 | } 43 | }); 44 | 45 | } 46 | return false; 47 | }); 48 | })( jQuery ); 49 | -------------------------------------------------------------------------------- /templates/404.php: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 |
18 |
19 |
20 |
21 |
22 | '.esc_html( artmuseum_opt( 'artmuseum_fof_text_one', $errorText ) ).''; 26 | 27 | // Wrong text block 28 | $wrongText = esc_html__( 'Either something went wrong or the page dosen\'t exist anymore.', 'art-museum' ); 29 | 30 | $wrongText = artmuseum_opt( 'artmuseum_fof_text_two', $wrongText ); 31 | 32 | $anchor = artmuseum_anchor_tag( 33 | array( 34 | 'url' => esc_url( site_url( '/' ) ), 35 | 'text' => esc_html__( 'Back To Home page', 'art-museum' ), 36 | ) 37 | ); 38 | 39 | echo artmuseum_paragraph_tag( 40 | array( 41 | 'text' => sprintf( '%s %s', esc_html( $wrongText ), wp_kses_post( $anchor ) ), 42 | ) 43 | ); 44 | 45 | // Search Form 46 | get_search_form(); 47 | ?> 48 |
49 |
50 |
51 | 52 |
53 |
54 |
-------------------------------------------------------------------------------- /templates/content-none.php: -------------------------------------------------------------------------------- 1 | 15 |
16 |

17 | 18 | 19 | 20 |

Get started here.', 'art-museum' ), esc_url( admin_url( 'post-new.php' ) ) ); ?>

21 | 22 | 23 | 24 |

25 | 39 | 40 | 41 | 42 |

43 | 44 | 45 | 46 |
47 | -------------------------------------------------------------------------------- /templates/content.php: -------------------------------------------------------------------------------- 1 | 17 | 18 |
> 19 | 71 |
-------------------------------------------------------------------------------- /templates/content-video.php: -------------------------------------------------------------------------------- 1 | 18 | 19 |
> 20 | 72 |
-------------------------------------------------------------------------------- /templates/content-audio.php: -------------------------------------------------------------------------------- 1 | 18 | 19 |
> 20 | 73 |
-------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/social-share.php: -------------------------------------------------------------------------------- 1 | '; 35 | $content .= $tagLine; 36 | $content .= '
  • '; 37 | $content .= '
  • '; 38 | $content .= '
  • '; 39 | $content .= '
  • '; 40 | $content .= ''; 41 | 42 | return $content; 43 | 44 | } 45 | -------------------------------------------------------------------------------- /templates/content-single.php: -------------------------------------------------------------------------------- 1 | 15 | 16 |
    > 17 | 18 | '; 50 | /** 51 | * Blog single page content 52 | * Post social share 53 | * @Hook artmuseum_blog_posts_content 54 | * 55 | * @Hooked artmuseum_blog_posts_content_cb 56 | * 57 | * 58 | */ 59 | do_action( 'artmuseum_blog_posts_content' ); 60 | 61 | echo '
    '; 62 | 63 | /** 64 | * Blog single post meta category, tag, next - previous link, comments form 65 | * and biography 66 | * @Hook artmuseum_blog_single_meta 67 | * 68 | * @Hooked artmuseum_blog_single_meta_cb 69 | * 70 | * 71 | */ 72 | do_action( 'artmuseum_blog_single_meta' ); 73 | 74 | ?> 75 | 76 | -------------------------------------------------------------------------------- /inc/class-epsilon-dashboard-autoloader.php: -------------------------------------------------------------------------------- 1 | esc_html__( 'Sidebar', 'art-museum' ), 20 | 'id' => 'artmuseum-post-sidebar', 21 | 'before_widget' => '
    ', 22 | 'after_widget' => '
    ', 23 | 'before_title' => '

    ', 24 | 'after_title' => '

    ', 25 | ) 26 | ); 27 | 28 | // footer widgets register 29 | register_sidebar( 30 | array( 31 | 'name' => esc_html__( 'Footer One', 'art-museum' ), 32 | 'id' => 'footer-1', 33 | 'before_widget' => '', 35 | 'before_title' => '
    ', 36 | 'after_title' => '
    ', 37 | ) 38 | ); 39 | register_sidebar( 40 | array( 41 | 'name' => esc_html__( 'Footer Two', 'art-museum' ), 42 | 'id' => 'footer-2', 43 | 'before_widget' => '', 45 | 'before_title' => '
    ', 46 | 'after_title' => '
    ', 47 | ) 48 | ); 49 | register_sidebar( 50 | array( 51 | 'name' => esc_html__( 'Footer Three', 'art-museum' ), 52 | 'id' => 'footer-3', 53 | 'before_widget' => '', 55 | 'before_title' => '
    ', 56 | 'after_title' => '
    ', 57 | ) 58 | ); 59 | 60 | } 61 | add_action( 'widgets_init', 'artmuseum_widgets_init' ); 62 | -------------------------------------------------------------------------------- /inc/wp_bootstrap_pagination.php: -------------------------------------------------------------------------------- 1 | 4, 20 | 'custom_query' => FALSE, 21 | 'previous_string' => esc_html__( '«', 'art-museum' ), 22 | 'next_string' => esc_html__( '»', 'art-museum' ), 23 | 'before_output' => '' 25 | ); 26 | 27 | $args = wp_parse_args( 28 | $args, 29 | apply_filters( 'artmuseum_pagination_defaults', $defaults ) 30 | ); 31 | 32 | $args['range'] = (int) $args['range'] - 1; 33 | if ( !$args['custom_query'] ) 34 | $args['custom_query'] = isset( $GLOBALS['wp_query'] ) ? $GLOBALS['wp_query'] : ''; 35 | $count = (int) $args['custom_query']->max_num_pages; 36 | $page = intval( get_query_var( 'paged' ) ); 37 | $ceil = ceil( $args['range'] / 2 ); 38 | 39 | if ( $count <= 1 ) 40 | return FALSE; 41 | 42 | if ( !$page ) 43 | $page = 1; 44 | 45 | if ( $count > $args['range'] ) { 46 | if ( $page <= $args['range'] ) { 47 | $min = 1; 48 | $max = $args['range'] + 1; 49 | } elseif ( $page >= ($count - $ceil) ) { 50 | $min = $count - $args['range']; 51 | $max = $count; 52 | } elseif ( $page >= $args['range'] && $page < ($count - $ceil) ) { 53 | $min = $page - $ceil; 54 | $max = $page + $ceil; 55 | } 56 | } else { 57 | $min = 1; 58 | $max = $count; 59 | } 60 | 61 | $echo = ''; 62 | 63 | 64 | if ( !empty($min) && !empty($max) ) { 65 | for( $i = $min; $i <= $max; $i++ ) { 66 | if ( $page == $i ) { 67 | $echo .= '' . str_pad( (int)$i, 2, '0', STR_PAD_LEFT ) . ''; 68 | } else { 69 | $echo .= sprintf( '%002d', esc_attr( get_pagenum_link($i) ), $i ); 70 | } 71 | } 72 | } 73 | 74 | 75 | if ( isset($echo) ) 76 | echo wp_kses_post( $args['before_output'] . $echo . $args['after_output'] ); 77 | } 78 | -------------------------------------------------------------------------------- /assets/css/common.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Common background color 4 | */ 5 | 6 | 7 | .genric-btn.primary, 8 | .genric-btn.primary-border:hover, 9 | .default-switch input + label, 10 | .primary-switch input:checked + label:before, 11 | .primary-btn, 12 | .exibition-area .owl-dot.active, 13 | .single-exibition .tags li:hover, 14 | .single-footer-widget .click-btn, 15 | .generic-banner, 16 | .tags-widget ul li:hover, 17 | .commentform-area .primary-btn { 18 | background-color: #88d200; 19 | } 20 | 21 | /** 22 | * Common text color 23 | */ 24 | 25 | b, 26 | sup, 27 | sub, 28 | u, 29 | del, 30 | a, 31 | .genric-btn.primary-border, 32 | .genric-btn.primary:hover, 33 | .ordered-list li, 34 | .ordered-list-alpha li, 35 | .ordered-list-roman li, 36 | .default-select .nice-select .list .option.selected, 37 | .default-select .nice-select .list .option:hover, 38 | .form-select .nice-select .list .option.selected, 39 | .form-select .nice-select .list .option:hover, 40 | .top-head-right ul li:hover a, 41 | .nav-menu ul li:hover > a, 42 | #mobile-nav ul .menu-has-children i.fa-chevron-up, 43 | #mobile-nav ul .menu-item-active, 44 | .primary-btn:hover, 45 | .primary-btn.white:hover, 46 | .primary-btn.white:hover span, 47 | .single-service .fa, 48 | .single-service .lnr, 49 | .single-service h4, 50 | .single-blog:hover h4, 51 | .copy-right-text i, .copy-right-text a, 52 | .footer-social a:hover i, 53 | .single-footer-widget .bb-btn, 54 | .footer-text a, .footer-text i, 55 | .single-exhibition .price, 56 | .contact-page-area .form-area .primary-btn:hover, 57 | .contact-page-area .single-contact-address .fa, 58 | .contact-page-area .single-contact-address .lnr, 59 | .single-blog-post .tags li:hover a, 60 | .search-widget i, 61 | .protfolio-widget ul li a i:hover, 62 | .single-widget ul li:hover a, 63 | .single-widget ul li:hover, 64 | .category-widget ul li:hover h6, 65 | .category-widget ul li:hover span, 66 | .recent-posts-widget .single-recent-post:hover h4, 67 | .single-blog-post a, 68 | .single-blog-post a h1, 69 | .sl-wrapper .fa-heart, 70 | .tags li .fa, 71 | #logo a { 72 | color: #88d200; 73 | } 74 | 75 | /** 76 | * Common border color 77 | */ 78 | 79 | .genric-btn.primary-border, 80 | .genric-btn.primary:hover, 81 | .generic-blockquote, 82 | .unordered-list li:before, 83 | .single-input-primary:focus, 84 | #header #logo h1 a, #header #logo h1 a:hover, 85 | .primary-btn:hover, 86 | .contact-page-area .form-area .primary-btn:hover, 87 | .single-widget ul li:hover, 88 | .category-widget ul li:hover, 89 | .commentform-area .primary-btn:hover, 90 | blockquote, 91 | .generic-blockquote { 92 | border-color: #88d200; 93 | } -------------------------------------------------------------------------------- /assets/js/artmuseum-elementor-notice.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Notice for Elementor 3 | * 4 | * @package Art Museum 5 | */ 6 | 7 | /* global artmuseumElementorNotice */ 8 | 9 | jQuery( document ).ready( 10 | function () { 11 | 12 | var style = ''; 13 | 14 | var dialog = style + '
    ' + 15 | '
    ' + 16 | '
    Art Museum supports default styling for Elementor widgets
    ' + 17 | '
    Do you want to disable Elementors\' default styles and use the theme defaults?
    ' + 18 | '
    ' + 19 | 'No' + 20 | 'Yes' + 21 | '
    ' + 22 | '
    ' + 23 | '
    '; 24 | 25 | jQuery( 'body' ).prepend( dialog ); 26 | jQuery( '.artmuseum-elementor-notice-buttons > a' ).on( 27 | 'click', function() { 28 | 29 | var reply = jQuery( this ).data( 'reply' ); 30 | 31 | jQuery.ajax( 32 | { 33 | url: artmuseumElementorNotice.ajaxurl, 34 | data: { 35 | reply: reply, 36 | nonce: artmuseumElementorNotice.nonce, 37 | action: 'elementor_desiable_default_style' 38 | }, 39 | type: 'post', 40 | success: function () { 41 | 42 | if ( reply === 'yes' ) { 43 | parent.location.reload(); 44 | } else { 45 | jQuery( '.artmuseum-disable-elementor-styling' ).fadeOut( 500, function() { jQuery( this ).remove(); } ); 46 | } 47 | } 48 | } 49 | ); 50 | } 51 | ); 52 | } 53 | ); 54 | -------------------------------------------------------------------------------- /inc/libraries/class-epsilon-init-notify-system.php: -------------------------------------------------------------------------------- 1 | Epsilon_Notify_System::check_plugin_is_installed( $slug ), 44 | 'active' => Epsilon_Notify_System::check_plugin_is_active( $slug ), 45 | ); 46 | 47 | if ( empty( $get ) ) { 48 | $arr = array_filter( $arr ); 49 | 50 | return 2 === count( $arr ); 51 | } 52 | } 53 | 54 | // Translators: %s is the plugin name. 55 | $arr['title'] = sprintf( __( 'Install: %s', 'art-museum' ), $plugin_name ); 56 | // Translators: %s is the plugin name. 57 | $arr['description'] = sprintf( __( 'Please install %s in order to create the demo content.', 'art-museum' ), $plugin_name ); 58 | 59 | if ( $arr['installed'] ) { 60 | // Translators: %s is the plugin name 61 | $arr['title'] = sprintf( __( 'Activate: %s', 'art-museum' ), $plugin_name ); 62 | // Translators: %s is the plugin name 63 | $arr['description'] = sprintf( __( 'Please activate %s in order to create the demo content.', 'art-museum' ), $plugin_name ); 64 | } 65 | 66 | return $arr[ $get ]; 67 | } 68 | 69 | /** 70 | * @return array 71 | */ 72 | public static function verify_cf7() { 73 | $arr = array( 74 | 'installed' => false, 75 | 'active' => false, 76 | ); 77 | 78 | if ( file_exists( ABSPATH . 'wp-content/plugins/contact-form-7' ) ) { 79 | $arr['installed'] = true; 80 | $arr['active'] = defined( 'WPCF7_VERSION' ); 81 | } 82 | 83 | return $arr; 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /assets/js/jquery.nice-select.min.js: -------------------------------------------------------------------------------- 1 | /* jQuery Nice Select - v1.0 2 | https://github.com/hernansartorio/jquery-nice-select 3 | Made by Hernán Sartorio */ 4 | !function(e){e.fn.niceSelect=function(t){function s(t){t.after(e("
    ").addClass("nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html(''));var s=t.next(),n=t.find("option"),i=t.find("option:selected");s.find(".current").html(i.data("display")||i.text()),n.each(function(t){var n=e(this),i=n.data("display");s.find("ul").append(e("
  • ").attr("data-value",n.val()).attr("data-display",i||null).addClass("option"+(n.is(":selected")?" selected":"")+(n.is(":disabled")?" disabled":"")).html(n.text()))})}if("string"==typeof t)return"update"==t?this.each(function(){var t=e(this),n=e(this).next(".nice-select"),i=n.hasClass("open");n.length&&(n.remove(),s(t),i&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=e(this),s=e(this).next(".nice-select");s.length&&(s.remove(),t.css("display",""))}),0==e(".nice-select").length&&e(document).off(".nice_select")):console.log('Method "'+t+'" does not exist.'),this;this.hide(),this.each(function(){var t=e(this);t.next().hasClass("nice-select")||s(t)}),e(document).off(".nice_select"),e(document).on("click.nice_select",".nice-select",function(t){var s=e(this);e(".nice-select").not(s).removeClass("open"),s.toggleClass("open"),s.hasClass("open")?(s.find(".option"),s.find(".focus").removeClass("focus"),s.find(".selected").addClass("focus")):s.focus()}),e(document).on("click.nice_select",function(t){0===e(t.target).closest(".nice-select").length&&e(".nice-select").removeClass("open").find(".option")}),e(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var s=e(this),n=s.closest(".nice-select");n.find(".selected").removeClass("selected"),s.addClass("selected");var i=s.data("display")||s.text();n.find(".current").text(i),n.prev("select").val(s.data("value")).trigger("change")}),e(document).on("keydown.nice_select",".nice-select",function(t){var s=e(this),n=e(s.find(".focus")||s.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return s.hasClass("open")?n.trigger("click"):s.trigger("click"),!1;if(40==t.keyCode){if(s.hasClass("open")){var i=n.nextAll(".option:not(.disabled)").first();i.length>0&&(s.find(".focus").removeClass("focus"),i.addClass("focus"))}else s.trigger("click");return!1}if(38==t.keyCode){if(s.hasClass("open")){var l=n.prevAll(".option:not(.disabled)").first();l.length>0&&(s.find(".focus").removeClass("focus"),l.addClass("focus"))}else s.trigger("click");return!1}if(27==t.keyCode)s.hasClass("open")&&s.trigger("click");else if(9==t.keyCode&&s.hasClass("open"))return!1});var n=document.createElement("a").style;return n.cssText="pointer-events:auto","auto"!==n.pointerEvents&&e("html").addClass("no-csspointerevents"),this}}(jQuery); -------------------------------------------------------------------------------- /inc/hooks/hooks.php: -------------------------------------------------------------------------------- 1 | a, 13 | .justified-gallery > div, 14 | .justified-gallery > figure { 15 | position: absolute; 16 | display: inline-block; 17 | overflow: hidden; 18 | /* background: #888888; To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */ 19 | filter: "alpha(opacity=10)"; 20 | opacity: 0.1; 21 | margin: 0; 22 | padding: 0; 23 | } 24 | .justified-gallery > a > img, 25 | .justified-gallery > div > img, 26 | .justified-gallery > figure > img, 27 | .justified-gallery > a > a > img, 28 | .justified-gallery > div > a > img, 29 | .justified-gallery > figure > a > img { 30 | position: absolute; 31 | top: 50%; 32 | left: 50%; 33 | margin: 0; 34 | padding: 0; 35 | border: none; 36 | filter: "alpha(opacity=0)"; 37 | opacity: 0; 38 | } 39 | .justified-gallery > a > .caption, 40 | .justified-gallery > div > .caption, 41 | .justified-gallery > figure > .caption { 42 | display: none; 43 | position: absolute; 44 | bottom: 0; 45 | padding: 5px; 46 | background-color: #000000; 47 | left: 0; 48 | right: 0; 49 | margin: 0; 50 | color: white; 51 | font-size: 12px; 52 | font-weight: 300; 53 | font-family: sans-serif; 54 | } 55 | .justified-gallery > a > .caption.caption-visible, 56 | .justified-gallery > div > .caption.caption-visible, 57 | .justified-gallery > figure > .caption.caption-visible { 58 | display: initial; 59 | filter: "alpha(opacity=70)"; 60 | opacity: 0.7; 61 | -webkit-transition: opacity 500ms ease-in; 62 | -moz-transition: opacity 500ms ease-in; 63 | -o-transition: opacity 500ms ease-in; 64 | transition: opacity 500ms ease-in; 65 | } 66 | .justified-gallery > .entry-visible { 67 | filter: "alpha(opacity=100)"; 68 | opacity: 1; 69 | background: none; 70 | } 71 | .justified-gallery > .entry-visible > img, 72 | .justified-gallery > .entry-visible > a > img { 73 | filter: "alpha(opacity=100)"; 74 | opacity: 1; 75 | -webkit-transition: opacity 500ms ease-in; 76 | -moz-transition: opacity 500ms ease-in; 77 | -o-transition: opacity 500ms ease-in; 78 | transition: opacity 500ms ease-in; 79 | } 80 | .justified-gallery > .jg-filtered { 81 | display: none; 82 | } 83 | .justified-gallery > .spinner { 84 | position: absolute; 85 | bottom: 0; 86 | margin-left: -24px; 87 | padding: 10px 0 10px 0; 88 | left: 50%; 89 | filter: "alpha(opacity=100)"; 90 | opacity: 1; 91 | overflow: initial; 92 | } 93 | .justified-gallery > .spinner > span { 94 | display: inline-block; 95 | filter: "alpha(opacity=0)"; 96 | opacity: 0; 97 | width: 8px; 98 | height: 8px; 99 | margin: 0 4px 0 4px; 100 | background-color: #000; 101 | border-radius: 6px; 102 | } 103 | -------------------------------------------------------------------------------- /inc/customizer/fields/sections.php: -------------------------------------------------------------------------------- 1 | 'artmuseum_options_panel', 25 | 'args' => array( 26 | 'priority' => 0, 27 | 'capability' => 'edit_theme_options', 28 | 'theme_supports' => '', 29 | 'title' => esc_html__( 'Theme Options', 'art-museum' ), 30 | ), 31 | ) 32 | ); 33 | 34 | 35 | /*********************************** 36 | * Register customizer sections 37 | ***********************************/ 38 | 39 | 40 | $sections = array( 41 | /** 42 | * General Section 43 | */ 44 | array( 45 | 'id' => 'artmuseum_general_options_section', 46 | 'args' => array( 47 | 'title' => esc_html__( 'General', 'art-museum' ), 48 | 'panel' => 'artmuseum_options_panel', 49 | 'priority' => 1, 50 | ), 51 | ), 52 | /** 53 | * Header Section 54 | */ 55 | array( 56 | 'id' => 'artmuseum_headertop_options_section', 57 | 'args' => array( 58 | 'title' => esc_html__( 'Header Top', 'art-museum' ), 59 | 'panel' => 'artmuseum_options_panel', 60 | 'priority' => 2, 61 | ), 62 | ), 63 | /** 64 | * Blog Section 65 | */ 66 | array( 67 | 'id' => 'artmuseum_blog_options_section', 68 | 'args' => array( 69 | 'title' => esc_html__( 'Blog', 'art-museum' ), 70 | 'panel' => 'artmuseum_options_panel', 71 | 'priority' => 3, 72 | ), 73 | ), 74 | 75 | /** 76 | * 404 Page Section 77 | */ 78 | array( 79 | 'id' => 'artmuseum_fof_options_section', 80 | 'args' => array( 81 | 'title' => esc_html__( '404 Page', 'art-museum' ), 82 | 'panel' => 'artmuseum_options_panel', 83 | 'priority' => 6, 84 | ), 85 | ), 86 | /** 87 | * Footer Section 88 | */ 89 | array( 90 | 'id' => 'artmuseum_footer_options_section', 91 | 'args' => array( 92 | 'title' => esc_html__( 'Footer', 'art-museum' ), 93 | 'panel' => 'artmuseum_options_panel', 94 | 'priority' => 7, 95 | ), 96 | ), 97 | 98 | ); 99 | 100 | 101 | /*********************************** 102 | * Add customizer elements 103 | ***********************************/ 104 | $collection = array( 105 | 'panel' => $panels, 106 | 'section' => $sections, 107 | ); 108 | 109 | Epsilon_Customizer::add_multiple( $collection ); 110 | -------------------------------------------------------------------------------- /inc/artmuseum-companion/readme.txt: -------------------------------------------------------------------------------- 1 | === Plugin Name === 2 | Contributors: colorlibplugins, silkalns 3 | Tags: widgets, plugin, demo, companion, home page, social, elementor, custom meta 4 | Requires at least: 3.8 5 | Tested up to: 4.9 6 | Stable tag: 1.0 7 | License: GPLv3 or later 8 | License URI: http://www.gnu.org/licenses/gpl-3.0.html 9 | 10 | Artmuseum Companion is a companion plugin for Artmuseum WordPress theme by Colorlib.com. 11 | 12 | == Description == 13 | 14 | Artmuseum Companion is a companion for Artmuseum WordPress theme by Colorlib.com. This plugin won't do anything for other free or premium WordPress themes and you need to download and install Artmuseum. If you are having problems with Artmuseum theme or its companion plugin the fastest way to receive help is via our theme support forum. 15 | 16 | This plugin will add necessary WordPress widgets, elementor widgets and allow to import demo content which will help you to with website setup. 17 | 18 | While Artmuseum is a great WordPress theme it might not be for everyone therefore you might want to check other free WordPress themes that are created by Colorlib. 19 | 20 | = Plugin Options = 21 | 22 | * Creates required WordPress widgets to be used in theme 23 | * Creates required Elementor widgets to be used in theme 24 | * Creates demo(dummy) content for widgets to make them easier to use and understand how they work 25 | * Provides an option to import demo(dummy) content. 26 | 27 | = About Colorlib = 28 | 29 | Colorlib is the best and by far the most popular source for free and premium WordPress themes. Our themes has been downloaded over 1,5 million times and are used by developers, webmasters and regular users all over the world. We believe in open source and that's why we have made our themes free to use for private and commercial use. 30 | 31 | = Further Reading = 32 | 33 | If you are new to WordPress but are dedicated to make a website on your own Colorlib is the right place to start. Usually the trickiest part is to choose the right hosting because all hosting providers are not equal. We have outlined the best WordPress hosting providers and we hope you'll find them useful. 34 | 35 | 36 | == Installation == 37 | 38 | This section describes how to install the plugin and get it working. 39 | 40 | 1. Upload the whole contents of the folder `artmuseum-companion` to the `/wp-content/plugins/` directory 41 | 2. Activate the plugin through the 'Plugins' menu in WordPress dashboard 42 | 3. Enjoy using it :) 43 | 44 | 45 | == Frequently Asked Questions == 46 | 47 | = What themes this plugin supports? = 48 | 49 | Currently it works only with Artmuseum theme. 50 | 51 | = Am I obligated to use it? = 52 | 53 | You can still use Artmuseum theme without this plugin but you won't be able to import demo content and use theme specific widgets that you see on front page of theme demo. 54 | -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/demo-data/demo-import.php: -------------------------------------------------------------------------------- 1 | '; 18 | 19 | return array( 20 | array( 21 | 'import_file_name' => 'Artmuseum Demo', 22 | 'local_import_file' => ARTMUSEUM_COMPANION_DEMO_DIR_PATH .'artmuseum-demo.xml', 23 | 'local_import_widget_file' => ARTMUSEUM_COMPANION_DEMO_DIR_PATH .'artmuseum-widgets-demo.json', 24 | 'import_customizer_file_url' => ARTMUSEUM_COMPANION_DIR_DEMO_DATA_URL. 'artmuseum-customizer.dat', 25 | 'import_notice' => $demoImg, 26 | ), 27 | ); 28 | } 29 | add_filter( 'pt-ocdi/import_files', 'artmuseum_import_files' ); 30 | 31 | // demo import setup 32 | function artmuseum_after_import_setup() { 33 | // Assign menus to their locations. 34 | $main_menu = get_term_by( 'name', 'Primary Menu', 'nav_menu' ); 35 | $onepage_menu = get_term_by( 'name', 'One Page Menu', 'nav_menu' ); 36 | $social_menu = get_term_by( 'name', 'Social Menu', 'nav_menu' ); 37 | 38 | set_theme_mod( 'nav_menu_locations', array( 39 | 'primary-menu' => $main_menu->term_id, 40 | 'onepage-menu' => $onepage_menu->term_id, 41 | 'social-menu' => $social_menu->term_id, 42 | ) 43 | ); 44 | 45 | // Assign front page and posts page (blog page). 46 | $front_page_id = get_page_by_title( 'Home' ); 47 | $blog_page_id = get_page_by_title( 'Blog' ); 48 | 49 | update_option( 'show_on_front', 'page' ); 50 | update_option( 'page_on_front', $front_page_id->ID ); 51 | update_option( 'page_for_posts', $blog_page_id->ID ); 52 | update_option( 'artmuseum_demodata_import', 'yes' ); 53 | 54 | } 55 | add_action( 'pt-ocdi/after_import', 'artmuseum_after_import_setup' ); 56 | 57 | //disable the branding notice after successful demo import 58 | add_filter( 'pt-ocdi/disable_pt_branding', '__return_true' ); 59 | 60 | //change the location, title and other parameters of the plugin page 61 | function artmuseum_import_plugin_page_setup( $default_settings ) { 62 | $default_settings['parent_slug'] = 'themes.php'; 63 | $default_settings['page_title'] = esc_html__( 'One Click Demo Import' , 'artmuseum' ); 64 | $default_settings['menu_title'] = esc_html__( 'Import Demo Data' , 'artmuseum' ); 65 | $default_settings['capability'] = 'import'; 66 | $default_settings['menu_slug'] = 'artmuseum-demo-import'; 67 | 68 | return $default_settings; 69 | } 70 | add_filter( 'pt-ocdi/plugin_page_setup', 'artmuseum_import_plugin_page_setup' ); 71 | 72 | // Enqueue scripts 73 | function artmuseum_demo_import_custom_scripts(){ 74 | 75 | 76 | if( isset( $_GET['page'] ) && $_GET['page'] == 'artmuseum-demo-import' ){ 77 | // style 78 | wp_enqueue_style( 'artmuseum-demo-import', ARTMUSEUM_COMPANION_DIR_DEMO_DATA_URL. 'css/demo-import.css', array(), '1.0', false ); 79 | } 80 | 81 | 82 | } 83 | add_action( 'admin_enqueue_scripts', 'artmuseum_demo_import_custom_scripts' ); 84 | 85 | -------------------------------------------------------------------------------- /templates/header-nav.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/customizer/js/customizer.js: -------------------------------------------------------------------------------- 1 | (function( $ , api) { 2 | 3 | // Customizer about page redirect 4 | api.section( 'artmuseum_fof_options_section' , function( section ) { 5 | 6 | section.expanded.bind( function( isExpanded ) { 7 | 8 | if( isExpanded ) { 9 | api.previewer.previewUrl.set( api.settings.url.home+'/maybe404page' ); 10 | } else { 11 | api.previewer.previewUrl.set( api.settings.url.home ); 12 | } 13 | 14 | } ) 15 | 16 | } ); 17 | 18 | // Customizer blog page redirect 19 | api.section( 'artmuseum_blog_options_section' , function( section ) { 20 | 21 | section.expanded.bind( function( isExpanded ) { 22 | 23 | if( isExpanded ) { 24 | api.previewer.previewUrl.set( artmuseumCustomizerdata.blog_page ); 25 | } else { 26 | api.previewer.previewUrl.set( api.settings.url.home ); 27 | } 28 | 29 | 30 | 31 | } ) 32 | 33 | } ); 34 | 35 | 36 | // Footer section 37 | api.section( 'artmuseum_footer_options_section' , function( section ) { 38 | 39 | section.expanded.bind( function( isExpanded ) { 40 | 41 | 42 | // Footer Widget option show/hide 43 | var $widget_toggle = $('#artmuseum-widget-toggle-settings'), 44 | $widgettitle = $('#customize-control-artmuseum_footer_widgettitlecolor_settings'); 45 | 46 | // Default 47 | 48 | if( $widget_toggle.is( ':checked' ) ) { 49 | 50 | $widgettitle.show('slow'); 51 | 52 | } else { 53 | 54 | $widgettitle.hide('slow'); 55 | 56 | } 57 | 58 | // on click 59 | $widget_toggle.on( 'click', function() { 60 | 61 | var $this = $( this ); 62 | 63 | if( $this.is(':checked') ) { 64 | 65 | $widgettitle.show('slow'); 66 | 67 | } else { 68 | 69 | $widgettitle.hide('slow'); 70 | 71 | } 72 | 73 | 74 | } ); 75 | 76 | } ); 77 | 78 | } ); 79 | 80 | // colors section 81 | api.section( 'colors' , function( section ) { 82 | 83 | section.expanded.bind( function( isExpanded ) { 84 | 85 | 86 | // Page header overlay option show/hide 87 | var $overlay_toggle = $('#artmuseum-headeroverlay-toggle-settings'), 88 | $overlaytitle = $('#customize-control-artmuseum_headeroverlaycolor'); 89 | 90 | // Default 91 | 92 | if( $overlay_toggle.is( ':checked' ) ) { 93 | 94 | $overlaytitle.show('slow'); 95 | 96 | } else { 97 | 98 | $overlaytitle.hide('slow'); 99 | 100 | } 101 | 102 | // on click 103 | $overlay_toggle.on( 'click', function() { 104 | 105 | var $this = $( this ); 106 | 107 | if( $this.is(':checked') ) { 108 | 109 | $overlaytitle.show('slow'); 110 | 111 | } else { 112 | 113 | $overlaytitle.hide('slow'); 114 | 115 | } 116 | 117 | } ); 118 | 119 | } ); 120 | 121 | } ); 122 | 123 | 124 | })( jQuery, wp.customize ); -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/elementor-widgets/assets/js/map-custom.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | // USE STRICT 3 | "use strict"; 4 | 5 | // Start Google map 6 | 7 | // When the window has finished loading create our google map below 8 | 9 | 10 | if(document.getElementById("map")){ 11 | 12 | var $dataSelector = $( '[data-map]' ), 13 | $getData = $dataSelector.data( 'map' ); 14 | 15 | google.maps.event.addDomListener(window, 'load', init); 16 | 17 | function init() { 18 | // Basic options for a simple Google Map 19 | // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions 20 | var mapOptions = { 21 | // How zoomed in you want the map to start at (always required) 22 | zoom: 11, 23 | 24 | // The latitude and longitude to center the map (always required) 25 | center: new google.maps.LatLng( $getData.lat, $getData.lng ), // New York 26 | 27 | // How you would like to style the map. 28 | // This is where you would paste any style found on Snazzy Maps. 29 | styles: [{"featureType":"water","elementType":"geometry","stylers":[{"color":"#e9e9e9"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#dedede"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}] 30 | }; 31 | 32 | // Get the HTML DOM element that will contain your map 33 | // We are using a div with id="map" seen below in the 34 | var mapElement = document.getElementById('map'); 35 | 36 | // Create the Google Map using our element and options defined above 37 | var map = new google.maps.Map(mapElement, mapOptions); 38 | 39 | // Let's also add a marker while we're at it 40 | var marker = new google.maps.Marker({ 41 | position: new google.maps.LatLng( $getData.lat, $getData.lng ), 42 | map: map, 43 | title: $getData.address 44 | }); 45 | } 46 | } 47 | 48 | })(jQuery); -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | === Art Museum === 2 | Contributors: colorlib 3 | Tags: custom-header, custom-menu, featured-image-header, featured-images, full-width-template, translation-ready 4 | Requires at least: 4.0 5 | Tested up to: 4.4.2 6 | 7 | == Description == 8 | Art Museum is a clean, simple, responsive and customizable WordPress theme that looks awesome on any device. For a quick launch of a page to showcases your works, your talents and your services, apredefined theme is a wise decision to make. Art Museum has it all in store for you to easily and effortlessly engineer an appealing page to attract new clients and seal new business deals. 9 | 10 | 11 | = License = 12 | Art Museum WordPress theme, Copyright (C) 2018 Colorlib.com 13 | Art Museum WordPress theme is licensed under the GPL2. 14 | 15 | Unless otherwise specified, all the theme files, scripts and images are licensed under GNU General Public License. 16 | The exceptions to this license are as follows: 17 | 18 | Images: 19 | 20 | # Header image source 21 | https://pixabay.com/en/graffiti-artist-graffiti-art-1380108/ 22 | 23 | # Global header image source 24 | https://pixabay.com/en/graffiti-street-art-street-urban-966463/ 25 | 26 | # Exhibitions section image source 27 | https://pixabay.com/en/background-art-abstract-watercolor-2734972/ 28 | https://pixabay.com/en/brush-chalk-color-atelier-paint-2927793/ 29 | https://pixabay.com/en/paint-brush-multi-color-art-color-2636552/ 30 | 31 | # Ticket image source 32 | https://pixabay.com/en/graffiti-berlin-wall-wall-berlin-745072/ 33 | https://pixabay.com/en/graffiti-berlin-wall-wall-trabi-745071/ 34 | https://pixabay.com/en/abstract-abstract-painting-1277157/ 35 | 36 | # Events image source 37 | https://pixabay.com/en/manipulation-digital-art-fantasy-art-2735720/ 38 | https://pixabay.com/en/portrait-people-darkness-art-3113651/ 39 | https://pixabay.com/en/wall-art-spray-graffiti-woman-2852231/ 40 | 41 | # About page image source 42 | https://pixabay.com/en/stand-alone-standing-alone-face-men-1686740/ 43 | 44 | # Blog image source 45 | https://pixabay.com/en/orange-sweets-dessert-asterisk-3780163/ 46 | https://pixabay.com/en/cold-shawl-asterisk-wooden-snowy-3780183/ 47 | https://pixabay.com/en/chocolate-sweet-asterisk-specialty-3780170/ 48 | 49 | # Author image source 50 | https://pixabay.com/en/man-attorney-face-lawyer-human-852766/ 51 | 52 | 53 | * Bootstrap v4.0.0 (http://getbootstrap.com) 54 | Copyright 2011-2018 Twitter, Inc. 55 | Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 56 | 57 | * Animate Css v3.5.2 ( http://daneden.me/animate ) 58 | Copyright (c) 2017 Daniel Eden. 59 | Licensed under MIT ( http://opensource.org/licenses/MIT ) 60 | 61 | * Ionicons v2.0.0 ( http://ionicons.com/ ) 62 | Copyright (c) 2015-present 63 | Licensed under MIT ( https://github.com/ionic-team/ionicons/blob/master/LICENSE ) 64 | 65 | * Animsition v4.0.2 (http://blivesta.github.io/animsition) 66 | Licensed under MIT ( https://github.com/blivesta/animsition/blob/master/LICENSE.md ) 67 | 68 | * Font Awesome 69 | License: SIL OFL 1.1 70 | URL: http://scripts.sil.org/OFL 71 | 72 | * Google Fonts: 73 | License: SIL OFL 1.1 74 | URL: http://scripts.sil.org/OFL 75 | 76 | * PopperJS (https://github.com/FezVrasta/popper.js) 77 | Copyright © 2016-2018 Federico Zivolo 78 | License: MIT 79 | URL: https://github.com/FezVrasta/popper.js/blob/master/LICENSE.md 80 | 81 | 82 | * Select2 v4.0.3 (https://github.com/select2/select2/blob/master/LICENSE.md) 83 | Copyright (c) 2012-2017 84 | License: MIT -------------------------------------------------------------------------------- /inc/classes/Class-Enqueue.php: -------------------------------------------------------------------------------- 1 | scripts; 27 | 28 | // variable type check 29 | if( is_array( $scripts ) && count( $scripts ) > 0 ) { 30 | 31 | // Style Enqueue 32 | if( is_array( $scripts['style'] ) && count( $scripts['style'] ) > 0 ) { 33 | 34 | foreach( $scripts['style'] as $style ) { 35 | 36 | // Check handler 37 | $handler = ''; 38 | if( ! empty( $style['handler'] ) ) { 39 | $handler = $style['handler']; 40 | } 41 | 42 | // Check file 43 | $file = ''; 44 | if( ! empty( $style['file'] ) ) { 45 | $file = $style['file']; 46 | } 47 | // Check dependency 48 | $dependency = ''; 49 | if( ! empty( $style['dependency'] ) ) { 50 | $dependency = $style['dependency']; 51 | } 52 | // Check version 53 | $version = ''; 54 | if( ! empty( $style['version'] ) ) { 55 | $version = $style['version']; 56 | } 57 | 58 | // wp_enqueue_style 59 | wp_enqueue_style( esc_html( $handler ), esc_url( $file ), $dependency, esc_html( $version ) ); 60 | 61 | } 62 | 63 | } // End Style Enqueue 64 | 65 | // Scripts Enqueue 66 | if( is_array( $scripts['scripts'] ) && count( $scripts['scripts'] ) > 0 ) { 67 | 68 | foreach( $scripts['scripts'] as $script ) { 69 | 70 | // Check handler 71 | $handler = ''; 72 | if( ! empty( $script['handler'] ) ) { 73 | $handler = $script['handler']; 74 | } 75 | 76 | // Check file 77 | $file = ''; 78 | if( ! empty( $script['file'] ) ) { 79 | $file = $script['file']; 80 | } 81 | // Check dependency 82 | $dependency = array('jquery'); 83 | if( ! empty( $script['dependency'] ) ) { 84 | $dependency = $script['dependency']; 85 | } 86 | // Check version 87 | $version = ''; 88 | if( ! empty( $script['version'] ) ) { 89 | $version = $script['version']; 90 | } 91 | // Check in_footer 92 | $in_footer = ''; 93 | if( ! empty( $script['in_footer'] ) ) { 94 | $in_footer = $script['in_footer']; 95 | } 96 | 97 | // wp enqueue script 98 | if( ! empty( $script['register'] ) ) { 99 | wp_register_script( esc_html( $handler ), esc_url( $file ), $dependency, esc_html( $version ), esc_html( $in_footer ) ); 100 | } else { 101 | wp_enqueue_script( esc_html( $handler ), esc_url( $file ), $dependency, esc_html( $version ), esc_html( $in_footer ) ); 102 | } 103 | 104 | // Condational Script 105 | if( ! empty( $script['condation'] ) ) { 106 | wp_script_add_data( esc_html( $handler ), 'conditional', esc_html( $script['condation'] ) ); 107 | } 108 | 109 | } 110 | 111 | // Comment replay 112 | if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 113 | wp_enqueue_script( 'comment-reply' ); 114 | } 115 | 116 | } // End Scripts Enqueue 117 | 118 | 119 | } // End variable type check 120 | 121 | } 122 | 123 | } 124 | 125 | -------------------------------------------------------------------------------- /functions.php: -------------------------------------------------------------------------------- 1 | start_controls_section( 46 | 'quote_section_content', 47 | [ 48 | 'label' => __( 'Quote Section', 'artmuseum' ), 49 | ] 50 | ); 51 | $this->add_control( 52 | 'quotesect_contleft', 53 | [ 54 | 'label' => esc_html__( 'Content Left', 'artmuseum' ), 55 | 'type' => Controls_Manager::WYSIWYG, 56 | ] 57 | ); 58 | $this->add_control( 59 | 'quotesect_contright', 60 | [ 61 | 'label' => esc_html__( 'Content Right', 'artmuseum' ), 62 | 'type' => Controls_Manager::WYSIWYG, 63 | ] 64 | ); 65 | $this->end_controls_section(); // End quote section content 66 | 67 | 68 | //------------------------------ Style Content ------------------------------ 69 | $this->start_controls_section( 70 | 'style_desc', [ 71 | 'label' => __( 'Style Description', 'artmuseum' ), 72 | 'tab' => Controls_Manager::TAB_STYLE, 73 | ] 74 | ); 75 | $this->add_control( 76 | 'color_leftcontent', [ 77 | 'label' => __( 'Content Left', 'artmuseum' ), 78 | 'type' => Controls_Manager::COLOR, 79 | 'default' => '#222222', 80 | 'selectors' => [ 81 | '{{WRAPPER}} .quote-left' => 'color: {{VALUE}};', 82 | '{{WRAPPER}} .quote-left h1' => 'color: {{VALUE}};', 83 | ], 84 | ] 85 | ); 86 | $this->add_control( 87 | 'color_rightcontent', [ 88 | 'label' => __( 'Content Right', 'artmuseum' ), 89 | 'type' => Controls_Manager::COLOR, 90 | 'default' => '#777777', 91 | 'selectors' => [ 92 | '{{WRAPPER}} .quote-right' => 'color: {{VALUE}};', 93 | ], 94 | ] 95 | ); 96 | $this->end_controls_section(); 97 | 98 | } 99 | 100 | protected function render() { 101 | 102 | $settings = $this->get_settings(); 103 | 104 | 105 | ?> 106 |
    107 |
    108 |
    109 |
    110 | 115 |
    116 |
    117 | 122 |
    123 |
    124 |
    125 |
    126 | 19 | 20 | 21 |
    22 |
    23 | 24 | 25 |
    26 | 'div', 29 | 'short_ping' => true, 30 | 'avatar_size' => 70, 31 | 'callback' => 'artmuseum_comment_callback' 32 | ) ); 33 | ?> 34 |
    35 | 36 |
    37 | 38 | 39 | 43 |

    44 | 45 | 46 | '; 52 | }else{ 53 | $row = '
    '; 54 | $col8 = 'col-lg-8 col-md-6'; 55 | $tarow = ''; 56 | } 57 | 58 | // 59 | $commenter = wp_get_current_commenter(); 60 | $req = get_option( 'require_name_email' ); 61 | $aria_req = ( $req ? "required='required'" : '' ); 62 | $fields = array( 63 | 'author' => wp_kses_post( $row ).'
    ', 64 | 'email' =>'', 65 | 'url' =>'', 66 | 'cookies_consent' =>'
    ', 67 | ); 68 | 69 | 70 | $args=array( 71 | 'comment_field' =>wp_kses_post( $tarow ).'
    ', 72 | 'id_form' =>'contactForm', 73 | 'class_form' =>'', 74 | 'title_reply' =>esc_html__( 'Leave a Reply', 'art-museum' ), 75 | 'title_reply_before' =>'
    ', 76 | 'title_reply_after' =>'
    ', 77 | 'label_submit' => esc_html__( 'Post Comment', 'art-museum' ), 78 | 'class_submit' => 'primary-btn mt-20', 79 | 'submit_button' => '', 80 | 'fields' =>$fields, 81 | 82 | ); 83 | 84 | echo '
    '; 85 | comment_form( $args ); 86 | echo '
    '; 87 | 88 | -------------------------------------------------------------------------------- /assets/js/superfish.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Superfish Menu Plugin - v1.7.9 3 | * Copyright (c) 2016 Joel Birch 4 | * 5 | * Dual licensed under the MIT and GPL licenses: 6 | * http://www.opensource.org/licenses/mit-license.php 7 | * http://www.gnu.org/licenses/gpl.html 8 | */ 9 | 10 | ;!function(a,b){"use strict";var c=function(){var c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",menuArrowClass:"sf-arrows"},d=function(){var b=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);return b&&a("html").css("cursor","pointer").on("click",a.noop),b}(),e=function(){var a=document.documentElement.style;return"behavior"in a&&"fill"in a&&/iemobile/i.test(navigator.userAgent)}(),f=function(){return!!b.PointerEvent}(),g=function(a,b,d){var e,f=c.menuClass;b.cssArrows&&(f+=" "+c.menuArrowClass),e=d?"addClass":"removeClass",a[e](f)},h=function(b,d){return b.find("li."+d.pathClass).slice(0,d.pathLevels).addClass(d.hoverClass+" "+c.bcClass).filter(function(){return a(this).children(d.popUpSelector).hide().show().length}).removeClass(d.pathClass)},i=function(a,b){var d=b?"addClass":"removeClass";a.children("a")[d](c.anchorClass)},j=function(a){var b=a.css("ms-touch-action"),c=a.css("touch-action");c=c||b,c="pan-y"===c?"auto":"pan-y",a.css({"ms-touch-action":c,"touch-action":c})},k=function(a){return a.closest("."+c.menuClass)},l=function(a){return k(a).data("sfOptions")},m=function(){var b=a(this),c=l(b);clearTimeout(c.sfTimer),b.siblings().superfish("hide").end().superfish("show")},n=function(b){b.retainPath=a.inArray(this[0],b.$path)>-1,this.superfish("hide"),this.parents("."+b.hoverClass).length||(b.onIdle.call(k(this)),b.$path.length&&a.proxy(m,b.$path)())},o=function(){var b=a(this),c=l(b);d?a.proxy(n,b,c)():(clearTimeout(c.sfTimer),c.sfTimer=setTimeout(a.proxy(n,b,c),c.delay))},p=function(b){var c=a(this),d=l(c),e=c.siblings(b.data.popUpSelector);return d.onHandleTouch.call(e)===!1?this:void(e.length>0&&e.is(":hidden")&&(c.one("click.superfish",!1),"MSPointerDown"===b.type||"pointerdown"===b.type?c.trigger("focus"):a.proxy(m,c.parent("li"))()))},q=function(b,c){var g="li:has("+c.popUpSelector+")";a.fn.hoverIntent&&!c.disableHI?b.hoverIntent(m,o,g):b.on("mouseenter.superfish",g,m).on("mouseleave.superfish",g,o);var h="MSPointerDown.superfish";f&&(h="pointerdown.superfish"),d||(h+=" touchend.superfish"),e&&(h+=" mousedown.superfish"),b.on("focusin.superfish","li",m).on("focusout.superfish","li",o).on(h,"a",c,p)};return{hide:function(b){if(this.length){var c=this,d=l(c);if(!d)return this;var e=d.retainPath===!0?d.$path:"",f=c.find("li."+d.hoverClass).add(this).not(e).removeClass(d.hoverClass).children(d.popUpSelector),g=d.speedOut;if(b&&(f.show(),g=0),d.retainPath=!1,d.onBeforeHide.call(f)===!1)return this;f.stop(!0,!0).animate(d.animationOut,g,function(){var b=a(this);d.onHide.call(b)})}return this},show:function(){var a=l(this);if(!a)return this;var b=this.addClass(a.hoverClass),c=b.children(a.popUpSelector);return a.onBeforeShow.call(c)===!1?this:(c.stop(!0,!0).animate(a.animation,a.speed,function(){a.onShow.call(c)}),this)},destroy:function(){return this.each(function(){var b,d=a(this),e=d.data("sfOptions");return e?(b=d.find(e.popUpSelector).parent("li"),clearTimeout(e.sfTimer),g(d,e),i(b),j(d),d.off(".superfish").off(".hoverIntent"),b.children(e.popUpSelector).attr("style",function(a,b){return b.replace(/display[^;]+;?/g,"")}),e.$path.removeClass(e.hoverClass+" "+c.bcClass).addClass(e.pathClass),d.find("."+e.hoverClass).removeClass(e.hoverClass),e.onDestroy.call(d),void d.removeData("sfOptions")):!1})},init:function(b){return this.each(function(){var d=a(this);if(d.data("sfOptions"))return!1;var e=a.extend({},a.fn.superfish.defaults,b),f=d.find(e.popUpSelector).parent("li");e.$path=h(d,e),d.data("sfOptions",e),g(d,e,!0),i(f,!0),j(d),q(d,e),f.not("."+c.bcClass).superfish("hide",!0),e.onInit.call(this)})}}}();a.fn.superfish=function(b,d){return c[b]?c[b].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof b&&b?a.error("Method "+b+" does not exist on jQuery.fn.superfish"):c.init.apply(this,arguments)},a.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:a.noop,onBeforeShow:a.noop,onShow:a.noop,onBeforeHide:a.noop,onHide:a.noop,onIdle:a.noop,onDestroy:a.noop,onHandleTouch:a.noop}}(jQuery,window); -------------------------------------------------------------------------------- /inc/customizer/customizer.php: -------------------------------------------------------------------------------- 1 | get_section( 'title_tagline' )->panel = 'artmuseum_options_panel'; 33 | // Change colors panel to theme option 34 | $wp_customize->get_section( 'colors' )->panel = 'artmuseum_options_panel'; 35 | // change priorities 36 | $wp_customize->get_section( 'title_tagline' )->priority = 0; 37 | // change priorities 38 | $wp_customize->get_section( 'colors' )->priority = 3; 39 | 40 | // Change background control section 41 | $wp_customize->get_control( 'background_color' )->section = 'background_image'; 42 | // Change header image control section 43 | $wp_customize->get_control( 'header_image' )->section = 'colors'; 44 | // Rename customizer color section 45 | $wp_customize->get_section('colors')->title = esc_html__( 'Page Header', 'art-museum' ); 46 | // Rename customizer background image section 47 | $wp_customize->get_section('background_image')->title = esc_html__( 'Background', 'art-museum' ); 48 | 49 | // Copyright text selective refresh 50 | $wp_customize->selective_refresh->add_partial( 'artmuseum-copyright-text-settings', 51 | array( 'selector' => '.copyright-text' ) ); 52 | // Post Like button selective refresh 53 | $wp_customize->selective_refresh->add_partial( 'artmuseum-blog-like-toggle', 54 | array( 'selector' => '.sl-wrapper' ) ); 55 | // Post Share button selective refresh 56 | $wp_customize->selective_refresh->add_partial( 'artmuseum-blog-social-share-toggle', 57 | array( 'selector' => '.social-wrap ul li:first-child' ) ); 58 | // Header social icon selective refresh 59 | $wp_customize->selective_refresh->add_partial( 'artmuseum-headersocial-toggle-settings', 60 | array( 'selector' => '#menu-social-menu li:first-child' ) ); 61 | 62 | } 63 | 64 | 65 | // Customizer js enqueue 66 | 67 | public function artmuseum_customizer_js() { 68 | 69 | wp_enqueue_script( 'artmuseum-customizer', ARTMUSEUM_DIR_URI.'inc/customizer/js/customizer.js', array('customize-controls'), '1.0', true ); 70 | 71 | wp_localize_script( 'artmuseum-customizer', 'artmuseumCustomizerdata', array( 72 | 'site_url' => site_url('/'), 73 | 'blog_page' => get_post_type_archive_link( 'post' ), 74 | 75 | ) ); 76 | 77 | } 78 | 79 | // Image sanitization callback. 80 | 81 | public static function artmuseum_sanitize_image( $image, $setting ) { 82 | 83 | /* 84 | * Array of valid image file types. 85 | * 86 | * The array includes image mime types that are included in wp_get_mime_types() 87 | */ 88 | $mimes = array( 89 | 'jpg|jpeg|jpe' => 'image/jpeg', 90 | 'gif' => 'image/gif', 91 | 'png' => 'image/png', 92 | 'bmp' => 'image/bmp', 93 | 'tif|tiff' => 'image/tiff', 94 | 'ico' => 'image/x-icon' 95 | ); 96 | 97 | // Return an array with file extension and mime_type. 98 | $file = wp_check_filetype( $image, $mimes ); 99 | 100 | // If $image has a valid mime_type, return it; otherwise, return the default. 101 | return ( $file['ext'] ? $image : $setting->default ); 102 | } 103 | 104 | } 105 | -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/artmuseum-meta/artmuseum-meta-config.php: -------------------------------------------------------------------------------- 1 | 34 |
    35 |

    36 | 37 |

    38 | ID ,'_artmuseum_builderpage_header_show', true ); 40 | ?> 41 | 45 | 46 |
    47 |
    48 |

    49 | 50 |

    51 | ID ,'_artmuseum_builderpage_headerimg', true ); 53 | ?> 54 | 58 | 59 |
    60 | post_type ) 76 | return $post_id; 77 | 78 | $meta_headershow = "show"; 79 | 80 | if( isset( $_POST["bpheadershow"] ) ) { 81 | $meta_headershow = $_POST["bpheadershow"]; 82 | } 83 | update_post_meta( absint( $post_id ), "_artmuseum_builderpage_header_show", sanitize_text_field( $meta_headershow ) ); 84 | 85 | $meta_headerimg = ""; 86 | 87 | if( isset( $_POST["bpheaderimg"] ) ) { 88 | $meta_headerimg = $_POST["bpheaderimg"]; 89 | } 90 | update_post_meta( absint( $post_id ), "_artmuseum_builderpage_headerimg", sanitize_text_field( $meta_headerimg ) ); 91 | 92 | } 93 | 94 | add_action( "save_post", "artmuseum_save_builder_page_header_settings_meta", 10, 3 ); 95 | ?> -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/sidebar-widgets/recent-post-thumb.php: -------------------------------------------------------------------------------- 1 | esc_html__( 'Add recent post with thumbnail', 'artmuseum' ), ) 28 | ); 29 | 30 | } 31 | 32 | // This is where the action happens 33 | public function widget( $args, $instance ) { 34 | $title = apply_filters( 'widget_title', $instance['title'] ); 35 | $post_number = apply_filters( 'widget_post_number', $instance['post_number'] ); 36 | 37 | // before and after widget arguments are defined by themes 38 | echo $args['before_widget']; 39 | if ( ! empty( $title ) ) 40 | echo $args['before_title'] . $title . $args['after_title']; 41 | 42 | // 43 | $arrya = array( 44 | 'post_type' => 'post', 45 | 'posts_per_page' => absint( $post_number ) 46 | ); 47 | 48 | $loop = new WP_Query( $arrya ); 49 | 50 | if( $loop->have_posts() ){ 51 | echo '
    '; 52 | 53 | while( $loop->have_posts() ){ 54 | $loop->the_post(); 55 | 56 | ?> 57 | 58 | 59 |
    60 | 64 |
    65 | 'img-fluid' ) ); 67 | ?> 68 |
    69 | 71 |
    72 | 73 |

    74 |
    75 |

    76 | 77 |

    78 |
    79 |
    80 | 81 |
    '; 85 | } 86 | 87 | echo $args['after_widget']; 88 | } 89 | 90 | // Widget Backend 91 | public function form( $instance ) { 92 | 93 | if ( isset( $instance[ 'title' ] ) ) { 94 | $title = $instance[ 'title' ]; 95 | }else { 96 | $title = esc_html__( 'Recent Post', 'artmuseum' ); 97 | } 98 | // 99 | if ( isset( $instance[ 'post_number' ] ) ) { 100 | $post_number = $instance[ 'post_number' ]; 101 | }else { 102 | $post_number = esc_html__( 3 ); 103 | } 104 | 105 | // Widget admin form 106 | ?> 107 |

    108 | 109 | 110 |

    111 |

    112 | 113 | 114 |

    115 | ul').attr({ 34 | 'class': '', 35 | 'id': '' 36 | }); 37 | $('body').append($mobile_nav); 38 | $('body').prepend(''); 39 | $('body').append('
    '); 40 | $('#mobile-nav').find('.menu-has-children').prepend(''); 41 | 42 | $(document).on('click', '.menu-has-children i', function(e) { 43 | $(this).next().toggleClass('menu-item-active'); 44 | $(this).nextAll('ul').eq(0).slideToggle(); 45 | $(this).toggleClass("lnr-chevron-up lnr-chevron-down"); 46 | }); 47 | 48 | $(document).on('click', '#mobile-nav-toggle', function(e) { 49 | $('body').toggleClass('mobile-nav-active'); 50 | $('#mobile-nav-toggle i').toggleClass('lnr-cross lnr-menu'); 51 | $('#mobile-body-overly').toggle(); 52 | }); 53 | 54 | $(document).click(function(e) { 55 | var container = $("#mobile-nav, #mobile-nav-toggle"); 56 | if (!container.is(e.target) && container.has(e.target).length === 0) { 57 | if ($('body').hasClass('mobile-nav-active')) { 58 | $('body').removeClass('mobile-nav-active'); 59 | $('#mobile-nav-toggle i').toggleClass('lnr-cross lnr-menu'); 60 | $('#mobile-body-overly').fadeOut(); 61 | } 62 | } 63 | }); 64 | } else if ($("#mobile-nav, #mobile-nav-toggle").length) { 65 | $("#mobile-nav, #mobile-nav-toggle").hide(); 66 | } 67 | 68 | // Smooth scroll for the menu and links with .scrollto classes 69 | $('.nav-menu a, #mobile-nav a, .scrollto').on('click', function() { 70 | if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { 71 | var target = $(this.hash); 72 | if (target.length) { 73 | var top_space = 0; 74 | 75 | if ($('#header').length) { 76 | top_space = $('#header').outerHeight(); 77 | 78 | if( ! $('#header').hasClass('header-fixed') ) { 79 | top_space = top_space; 80 | } 81 | } 82 | 83 | $('html, body').animate({ 84 | scrollTop: target.offset().top - top_space 85 | }, 1500, 'easeInOutExpo'); 86 | 87 | if ($(this).parents('.nav-menu').length) { 88 | $('.nav-menu .menu-active').removeClass('menu-active'); 89 | $(this).closest('li').addClass('menu-active'); 90 | } 91 | 92 | if ($('body').hasClass('mobile-nav-active')) { 93 | $('body').removeClass('mobile-nav-active'); 94 | $('#mobile-nav-toggle i').toggleClass('lnr-times lnr-bars'); 95 | $('#mobile-body-overly').fadeOut(); 96 | } 97 | return false; 98 | } 99 | } 100 | }); 101 | 102 | 103 | $(document).ready(function() { 104 | 105 | $('html, body').hide(); 106 | 107 | if (window.location.hash) { 108 | 109 | setTimeout(function() { 110 | 111 | $('html, body').scrollTop(0).show(); 112 | 113 | $('html, body').animate({ 114 | 115 | scrollTop: $(window.location.hash).offset().top-100 116 | 117 | }, 1000) 118 | 119 | }, 0); 120 | 121 | } 122 | 123 | else { 124 | 125 | $('html, body').show(); 126 | 127 | } 128 | 129 | }); 130 | 131 | 132 | // Header scroll class 133 | $(window).scroll(function() { 134 | if ($(this).scrollTop() > 100) { 135 | $('#header').addClass('header-scrolled'); 136 | } else { 137 | $('#header').removeClass('header-scrolled'); 138 | } 139 | }) 140 | 141 | 142 | })(jQuery); 143 | -------------------------------------------------------------------------------- /assets/css/nice-select.css: -------------------------------------------------------------------------------- 1 | .nice-select { 2 | -webkit-tap-highlight-color: transparent; 3 | background-color: #fff; 4 | border-radius: 5px; 5 | border: solid 1px #e8e8e8; 6 | box-sizing: border-box; 7 | clear: both; 8 | cursor: pointer; 9 | display: block; 10 | float: left; 11 | font-family: inherit; 12 | font-size: 14px; 13 | font-weight: normal; 14 | height: 42px; 15 | line-height: 40px; 16 | outline: none; 17 | padding-left: 18px; 18 | padding-right: 30px; 19 | position: relative; 20 | text-align: left !important; 21 | -webkit-transition: all 0.2s ease-in-out; 22 | transition: all 0.2s ease-in-out; 23 | -webkit-user-select: none; 24 | -moz-user-select: none; 25 | -ms-user-select: none; 26 | user-select: none; 27 | white-space: nowrap; 28 | width: auto; } 29 | .nice-select:hover { 30 | border-color: #dbdbdb; } 31 | .nice-select:active, .nice-select.open, .nice-select:focus { 32 | border-color: #999; } 33 | .nice-select:after { 34 | border-bottom: 2px solid #999; 35 | border-right: 2px solid #999; 36 | content: ''; 37 | display: block; 38 | height: 5px; 39 | margin-top: -4px; 40 | pointer-events: none; 41 | position: absolute; 42 | right: 12px; 43 | top: 50%; 44 | -webkit-transform-origin: 66% 66%; 45 | -ms-transform-origin: 66% 66%; 46 | transform-origin: 66% 66%; 47 | -webkit-transform: rotate(45deg); 48 | -ms-transform: rotate(45deg); 49 | transform: rotate(45deg); 50 | -webkit-transition: all 0.15s ease-in-out; 51 | transition: all 0.15s ease-in-out; 52 | width: 5px; } 53 | .nice-select.open:after { 54 | -webkit-transform: rotate(-135deg); 55 | -ms-transform: rotate(-135deg); 56 | transform: rotate(-135deg); } 57 | .nice-select.open .list { 58 | opacity: 1; 59 | pointer-events: auto; 60 | -webkit-transform: scale(1) translateY(0); 61 | -ms-transform: scale(1) translateY(0); 62 | transform: scale(1) translateY(0); } 63 | .nice-select.disabled { 64 | border-color: #ededed; 65 | color: #999; 66 | pointer-events: none; } 67 | .nice-select.disabled:after { 68 | border-color: #cccccc; } 69 | .nice-select.wide { 70 | width: 100%; } 71 | .nice-select.wide .list { 72 | left: 0 !important; 73 | right: 0 !important; } 74 | .nice-select.right { 75 | float: right; } 76 | .nice-select.right .list { 77 | left: auto; 78 | right: 0; } 79 | .nice-select.small { 80 | font-size: 12px; 81 | height: 36px; 82 | line-height: 34px; } 83 | .nice-select.small:after { 84 | height: 4px; 85 | width: 4px; } 86 | .nice-select.small .option { 87 | line-height: 34px; 88 | min-height: 34px; } 89 | .nice-select .list { 90 | background-color: #fff; 91 | border-radius: 5px; 92 | box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11); 93 | box-sizing: border-box; 94 | margin-top: 4px; 95 | opacity: 0; 96 | overflow: hidden; 97 | padding: 0; 98 | pointer-events: none; 99 | position: absolute; 100 | top: 100%; 101 | left: 0; 102 | -webkit-transform-origin: 50% 0; 103 | -ms-transform-origin: 50% 0; 104 | transform-origin: 50% 0; 105 | -webkit-transform: scale(0.75) translateY(-21px); 106 | -ms-transform: scale(0.75) translateY(-21px); 107 | transform: scale(0.75) translateY(-21px); 108 | -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out; 109 | transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out; 110 | z-index: 9; } 111 | .nice-select .list:hover .option:not(:hover) { 112 | background-color: transparent !important; } 113 | .nice-select .option { 114 | cursor: pointer; 115 | font-weight: 400; 116 | line-height: 40px; 117 | list-style: none; 118 | min-height: 40px; 119 | outline: none; 120 | padding-left: 18px; 121 | padding-right: 29px; 122 | text-align: left; 123 | -webkit-transition: all 0.2s; 124 | transition: all 0.2s; } 125 | .nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus { 126 | background-color: #f6f6f6; } 127 | .nice-select .option.selected { 128 | font-weight: bold; } 129 | .nice-select .option.disabled { 130 | background-color: transparent; 131 | color: #999; 132 | cursor: default; } 133 | 134 | .no-csspointerevents .nice-select .list { 135 | display: none; } 136 | 137 | .no-csspointerevents .nice-select.open .list { 138 | display: block; } 139 | -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/functions.php: -------------------------------------------------------------------------------- 1 | 26 |
    27 | 'post', 32 | 'posts_per_page' => esc_html( $postnumber ), 33 | ); 34 | 35 | $query = new WP_Query( $args ); 36 | 37 | if( $query->have_posts() ): 38 | while( $query->have_posts() ): 39 | $query->the_post(); 40 | ?> 41 |
    42 | 45 |
    46 | 'img-fluid' ) ); 48 | ?> 49 |
    50 | 53 |

    54 |

    55 | 56 |
    57 | 65 |
    66 |
    67 | 72 |
    73 | 80 |
    81 | 105 |
    106 | 117 |
    118 |
    119 | [text* am-name class:common-input class:mb-20 class:form-control placeholder "Enter your name"][email* am-email class:common-input class:mb-20 class:form-control placeholder "Enter email address"][text* am-subject class:common-input class:mb-20 class:form-control placeholder "Enter your subject"] 120 |
    121 |
    122 | [textarea* am-message class:common-textarea class:form-control placeholder "Messege"] 123 | 124 |
    125 |
    126 |
    '; 127 | 128 | return $template; 129 | 130 | } else { 131 | return $template; 132 | } 133 | } 134 | add_filter( 'wpcf7_default_template', 'artmuseum_contact7_form_content', 10, 2 ); 135 | 136 | 137 | 138 | -------------------------------------------------------------------------------- /inc/artmuseum-companion/inc/sidebar-widgets/newsletter-widget.php: -------------------------------------------------------------------------------- 1 | esc_html__( 'Add footer newsletter signup form.', 'artmuseum' ), ) 28 | ); 29 | 30 | } 31 | 32 | // This is where the action happens 33 | public function widget( $args, $instance ) { 34 | 35 | $title = apply_filters( 'widget_title', $instance['title'] ); 36 | $actionurl = apply_filters( 'widget_actionurl', $instance['actionurl'] ); 37 | $desc = apply_filters( 'widget_desc', $instance['desc'] ); 38 | 39 | // mc validation 40 | wp_enqueue_script( 'mc-validate'); 41 | 42 | // before and after widget arguments are defined by themes 43 | echo wp_kses_post( $args['before_widget'] ); 44 | if ( ! empty( $title ) ) 45 | echo wp_kses_post( $args['before_title'] . $title . $args['after_title'] ); 46 | 47 | 48 | if( $desc ){ 49 | echo '

    '.esc_html( $desc ).'

    '; 50 | } 51 | ?> 52 |
    53 |
    54 | 55 | 56 |
    57 | 58 |
    59 |
    60 |
    61 |
    62 | 63 | 94 |

    95 | 96 | 97 |

    98 | 99 |

    100 | 101 |

    Enter here your MailChimp action URL. How to

    102 | 103 | 104 |

    105 |

    106 | 107 | 108 |

    109 | 110 | '; 24 | $categories .= '
  • '; 25 | 26 | foreach( $cats as $cat ) { 27 | $categories .= '
  • ' .esc_html( $cat->name ) . '
  • '; 28 | } 29 | 30 | $categories .= ''; 31 | } 32 | 33 | return $categories; 34 | 35 | } 36 | 37 | // Post Tags 38 | function artmuseum_post_tags() { 39 | 40 | $tags = get_the_tags(); 41 | 42 | $getTags = ''; 43 | 44 | if( $tags ) { 45 | $getTags .= '
  • '; 46 | foreach( $tags as $tag ){ 47 | $getTags .= '
  • ' . esc_html( $tag->name ) . '
  • '; 48 | } 49 | 50 | } 51 | 52 | return $getTags; 53 | 54 | } 55 | 56 | // artmuseum comment template callback 57 | function artmuseum_comment_callback( $comment, $args, $depth ) { 58 | 59 | if ( 'div' === $args['style'] ) { 60 | $tag = 'div'; 61 | $add_below = 'comment'; 62 | } else { 63 | $tag = 'li'; 64 | $add_below = 'div-comment'; 65 | } 66 | ?> 67 | < id="comment-"> 68 | 69 |
    70 | 71 |
    72 |
    73 |
    74 |
    75 | 76 |
    77 |
    78 |
    79 |
    %s ', 'art-museum' ), get_comment_author_link() ); ?>
    80 |

    81 | comment_approved == '0' ) : ?> 82 | 83 |
    84 | 85 |
    86 |
    87 | $add_below, 'depth' => 1, 'max_depth' => 5, 'reply_text' => 'Reply' ) ) ); ?> 88 |
    89 |
    90 | 91 |
    92 |
    93 | 94 |
    95 |
    96 | 97 |
    98 |
    99 | 100 | 101 | 102 | 103 | 104 |
    105 |
    106 |
    107 | 108 | 109 | 110 |
    111 | 112 | start_controls_section( 48 | 'cta_content', 49 | [ 50 | 'label' => __( 'Call To Action Content', 'artmuseum' ), 51 | ] 52 | ); 53 | $this->add_control( 54 | 'title', 55 | [ 56 | 'label' => esc_html__( 'Title', 'artmuseum' ), 57 | 'type' => Controls_Manager::TEXT, 58 | 'label_block' => true, 59 | 'default' => esc_html__( 'Everything You can imagine is right here', 'artmuseum' ) 60 | ] 61 | ); 62 | $this->add_control( 63 | 'content', 64 | [ 65 | 'label' => esc_html__( 'Contact', 'artmuseum' ), 66 | 'type' => Controls_Manager::WYSIWYG, 67 | 'label_block' => true, 68 | 'default' => esc_html__( 'inappropriate behaviour is often laughed off as “boys will be boys,” women face higher conduct standards – especially in the workplace. That’s why it’s crucial that, as women.', 'artmuseum' ) 69 | ] 70 | ); 71 | $this->add_control( 72 | 'featured_img', 73 | [ 74 | 'label' => esc_html__( 'Featured Image', 'artmuseum' ), 75 | 'type' => Controls_Manager::MEDIA, 76 | 'label_block' => true 77 | ] 78 | ); 79 | 80 | $this->end_controls_section(); // End content 81 | 82 | /** 83 | * Style Tab 84 | * ------------------------------ Style ------------------------------ 85 | * 86 | */ 87 | $this->start_controls_section( 88 | 'stylecolor', [ 89 | 'label' => __( 'Style Color', 'artmuseum' ), 90 | 'tab' => Controls_Manager::TAB_STYLE, 91 | ] 92 | ); 93 | $this->add_control( 94 | 'color_title', [ 95 | 'label' => __( 'Title Color', 'artmuseum' ), 96 | 'type' => Controls_Manager::COLOR, 97 | 'default' => '#777', 98 | 'selectors' => [ 99 | '{{WRAPPER}} .cat-top-area h1' => 'color: {{VALUE}};', 100 | ], 101 | ] 102 | ); 103 | $this->add_control( 104 | 'color_titlebold', [ 105 | 'label' => __( 'Bold Title Color', 'artmuseum' ), 106 | 'type' => Controls_Manager::COLOR, 107 | 'default' => '#222', 108 | 'selectors' => [ 109 | '{{WRAPPER}} .cat-top-area p' => 'color: {{VALUE}};', 110 | ], 111 | ] 112 | ); 113 | 114 | 115 | $this->end_controls_section(); 116 | 117 | } 118 | 119 | protected function render() { 120 | 121 | $settings = $this->get_settings(); 122 | 123 | ?> 124 |
    125 |
    126 |
    127 |
    128 | 'h1', 134 | 'text' => esc_html( $settings['title'] ), 135 | ) 136 | ); 137 | } 138 | // Content 139 | if( !empty( $settings['content'] ) ){ 140 | echo artmuseum_get_textareahtml_output( $settings['content'] ); 141 | } 142 | ?> 143 |
    144 |
    145 | esc_url( $settings['featured_img']['url'] ), 150 | 'class' => 'img-fluid' 151 | ) 152 | ); 153 | } 154 | ?> 155 |
    156 |
    157 |
    158 |
    159 | start_controls_section( 48 | 'sh_content', 49 | [ 50 | 'label' => __( 'Section Heading', 'artmuseum' ), 51 | ] 52 | ); 53 | $this->add_control( 54 | 'sh_sectiontitle', 55 | [ 56 | 'label' => esc_html__( 'Title', 'artmuseum' ), 57 | 'label_block' => true, 58 | 'type' => Controls_Manager::TEXT, 59 | ] 60 | ); 61 | $this->add_control( 62 | 'sh_sectionsubtitle', 63 | [ 64 | 'label' => esc_html__( 'Sub Title', 'artmuseum' ), 65 | 'label_block' => true, 66 | 'type' => Controls_Manager::TEXT, 67 | ] 68 | ); 69 | 70 | 71 | $this->end_controls_section(); // End few words content 72 | 73 | 74 | //------------------------------ Style Section ------------------------------ 75 | $this->start_controls_section( 76 | 'style_section', [ 77 | 'label' => __( 'Style Section', 'artmuseum' ), 78 | 'tab' => Controls_Manager::TAB_STYLE, 79 | ] 80 | ); 81 | $this->add_control( 82 | 'color_secttitle', [ 83 | 'label' => __( 'Section Title Color', 'artmuseum' ), 84 | 'type' => Controls_Manager::COLOR, 85 | 'default' => '#333333', 86 | 'selectors' => [ 87 | '{{WRAPPER}} .product-area-title .h1' => 'color: {{VALUE}};', 88 | ], 89 | ] 90 | ); 91 | $this->add_group_control( 92 | Group_Control_Typography::get_type(), [ 93 | 'name' => 'typography_secttitle', 94 | 'selector' => '{{WRAPPER}} .product-area-title .h1', 95 | ] 96 | ); 97 | $this->add_group_control( 98 | Group_Control_Text_Shadow::get_type(), [ 99 | 'name' => 'text_shadow_secttitle', 100 | 'selector' => '{{WRAPPER}} .product-area-title .h1', 101 | ] 102 | ); 103 | 104 | $this->add_control( 105 | 'color_sectsubtitle', [ 106 | 'label' => __( 'Section Sub Title Color', 'artmuseum' ), 107 | 'type' => Controls_Manager::COLOR, 108 | 'default' => '#777', 109 | 'selectors' => [ 110 | '{{WRAPPER}} .product-area-title p' => 'color: {{VALUE}};', 111 | ], 112 | ] 113 | ); 114 | $this->add_group_control( 115 | Group_Control_Typography::get_type(), [ 116 | 'name' => 'typography_sectsubtitle', 117 | 'selector' => '{{WRAPPER}} .product-area-title p', 118 | ] 119 | ); 120 | $this->add_group_control( 121 | Group_Control_Text_Shadow::get_type(), [ 122 | 'name' => 'text_shadow_sectsubtitle', 123 | 'selector' => '{{WRAPPER}} .product-area-title p', 124 | ] 125 | ); 126 | $this->end_controls_section(); 127 | 128 | 129 | 130 | 131 | } 132 | 133 | protected function render() { 134 | 135 | $settings = $this->get_settings(); 136 | 137 | if( !empty( $settings['sh_sectiontitle'] ) || !empty( $settings['sh_sectionsubtitle'] ) ): 138 | ?> 139 |
    140 |
    141 | 'text-uppercase', 147 | 'text' => esc_html( $settings['sh_sectionsubtitle'] ), 148 | ) 149 | ); 150 | } 151 | // Title 152 | if( !empty( $settings['sh_sectiontitle'] ) ){ 153 | echo artmuseum_heading_tag( 154 | array( 155 | 'tag' => 'h2', 156 | 'class' => 'h1', 157 | 'text' => esc_html( $settings['sh_sectiontitle'] ), 158 | ) 159 | ); 160 | } 161 | ?> 162 |
    163 |
    164 | start_controls_section( 50 | 'gallery_heading', 51 | [ 52 | 'label' => __( 'Gallery Section Heading', 'artmuseum' ), 53 | ] 54 | ); 55 | $this->add_control( 56 | 'sect_title', [ 57 | 'label' => __( 'Title', 'artmuseum' ), 58 | 'type' => Controls_Manager::TEXT, 59 | 'label_block' => true 60 | 61 | ] 62 | ); 63 | $this->add_control( 64 | 'sect_subtitle', [ 65 | 'label' => __( 'Sub Title', 'artmuseum' ), 66 | 'type' => Controls_Manager::TEXT, 67 | 'label_block' => true 68 | 69 | ] 70 | ); 71 | 72 | $this->end_controls_section(); // End section top content 73 | // ---------------------------------------- Team Member content ------------------------------ 74 | $this->start_controls_section( 75 | 'gallery_content', 76 | [ 77 | 'label' => __( 'Gallery', 'artmuseum' ), 78 | ] 79 | ); 80 | $this->add_control( 81 | 'gallery', [ 82 | 'label' => __( 'Create gallery', 'artmuseum' ), 83 | 'type' => Controls_Manager::GALLERY 84 | ] 85 | ); 86 | 87 | $this->end_controls_section(); // End Team Member content 88 | 89 | 90 | 91 | /** 92 | * Style Tab 93 | * ------------------------------ Style Section ------------------------------ 94 | * 95 | */ 96 | 97 | $this->start_controls_section( 98 | 'style_section', [ 99 | 'label' => __( 'Style Section Heading', 'artmuseum' ), 100 | 'tab' => Controls_Manager::TAB_STYLE, 101 | ] 102 | ); 103 | $this->add_control( 104 | 'color_secttitle', [ 105 | 'label' => __( 'Section Title Color', 'artmuseum' ), 106 | 'type' => Controls_Manager::COLOR, 107 | 'default' => '#333333', 108 | 'selectors' => [ 109 | '{{WRAPPER}} .title h1' => 'color: {{VALUE}};', 110 | ], 111 | ] 112 | ); 113 | 114 | $this->add_control( 115 | 'color_sectsubtitle', [ 116 | 'label' => __( 'Section Sub Title Color', 'artmuseum' ), 117 | 'type' => Controls_Manager::COLOR, 118 | 'default' => '#777', 119 | 'selectors' => [ 120 | '{{WRAPPER}} .title p' => 'color: {{VALUE}};', 121 | ], 122 | ] 123 | ); 124 | 125 | $this->end_controls_section(); 126 | 127 | 128 | } 129 | 130 | protected function render() { 131 | 132 | $settings = $this->get_settings(); 133 | // Load widget script 134 | $this->load_widget_script(); 135 | ?> 136 | 164 | 165 | editor->is_edit_mode() === true ) { 171 | ?> 172 | 184 | dwh) ? dwh - scrollTop : 0; 32 | 33 | for (var i = 0; i < sticked.length; i++) { 34 | var s = sticked[i], 35 | elementTop = s.stickyWrapper.offset().top, 36 | etse = elementTop - s.topSpacing - extra; 37 | 38 | if (scrollTop <= etse) { 39 | if (s.currentTop !== null) { 40 | s.stickyElement 41 | .css('width', '') 42 | .css('position', '') 43 | .css('top', ''); 44 | s.stickyElement.trigger('sticky-end', [s]).parent().removeClass(s.className); 45 | s.currentTop = null; 46 | } 47 | } 48 | else { 49 | var newTop = documentHeight - s.stickyElement.outerHeight() 50 | - s.topSpacing - s.bottomSpacing - scrollTop - extra; 51 | if (newTop < 0) { 52 | newTop = newTop + s.topSpacing; 53 | } else { 54 | newTop = s.topSpacing; 55 | } 56 | if (s.currentTop != newTop) { 57 | s.stickyElement 58 | .css('width', s.stickyElement.width()) 59 | .css('position', 'fixed') 60 | .css('top', newTop); 61 | 62 | if (typeof s.getWidthFrom !== 'undefined') { 63 | s.stickyElement.css('width', $(s.getWidthFrom).width()); 64 | } 65 | 66 | s.stickyElement.trigger('sticky-start', [s]).parent().addClass(s.className); 67 | s.currentTop = newTop; 68 | } 69 | } 70 | } 71 | }, 72 | resizer = function() { 73 | windowHeight = $window.height(); 74 | 75 | for (var i = 0; i < sticked.length; i++) { 76 | var s = sticked[i]; 77 | if (typeof s.getWidthFrom !== 'undefined' && s.responsiveWidth === true) { 78 | s.stickyElement.css('width', $(s.getWidthFrom).width()); 79 | } 80 | } 81 | }, 82 | methods = { 83 | init: function(options) { 84 | var o = $.extend({}, defaults, options); 85 | return this.each(function() { 86 | var stickyElement = $(this); 87 | 88 | var stickyId = stickyElement.attr('id'); 89 | var wrapperId = stickyId ? stickyId + '-' + defaults.wrapperClassName : defaults.wrapperClassName 90 | var wrapper = $('
    ') 91 | .attr('id', stickyId + '-sticky-wrapper') 92 | .addClass(o.wrapperClassName); 93 | stickyElement.wrapAll(wrapper); 94 | 95 | if (o.center) { 96 | stickyElement.parent().css({width:stickyElement.outerWidth(),marginLeft:"auto",marginRight:"auto"}); 97 | } 98 | 99 | if (stickyElement.css("float") == "right") { 100 | stickyElement.css({"float":"none"}).parent().css({"float":"right"}); 101 | } 102 | 103 | var stickyWrapper = stickyElement.parent(); 104 | stickyWrapper.css('height', stickyElement.outerHeight()); 105 | sticked.push({ 106 | topSpacing: o.topSpacing, 107 | bottomSpacing: o.bottomSpacing, 108 | stickyElement: stickyElement, 109 | currentTop: null, 110 | stickyWrapper: stickyWrapper, 111 | className: o.className, 112 | getWidthFrom: o.getWidthFrom, 113 | responsiveWidth: o.responsiveWidth 114 | }); 115 | }); 116 | }, 117 | update: scroller, 118 | unstick: function(options) { 119 | return this.each(function() { 120 | var unstickyElement = $(this); 121 | 122 | var removeIdx = -1; 123 | for (var i = 0; i < sticked.length; i++) 124 | { 125 | if (sticked[i].stickyElement.get(0) == unstickyElement.get(0)) 126 | { 127 | removeIdx = i; 128 | } 129 | } 130 | if(removeIdx != -1) 131 | { 132 | sticked.splice(removeIdx,1); 133 | unstickyElement.unwrap(); 134 | unstickyElement.removeAttr('style'); 135 | } 136 | }); 137 | } 138 | }; 139 | 140 | // should be more efficient than using $window.scroll(scroller) and $window.resize(resizer): 141 | if (window.addEventListener) { 142 | window.addEventListener('scroll', scroller, false); 143 | window.addEventListener('resize', resizer, false); 144 | } else if (window.attachEvent) { 145 | window.attachEvent('onscroll', scroller); 146 | window.attachEvent('onresize', resizer); 147 | } 148 | 149 | $.fn.sticky = function(method) { 150 | if (methods[method]) { 151 | return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); 152 | } else if (typeof method === 'object' || !method ) { 153 | return methods.init.apply( this, arguments ); 154 | } else { 155 | $.error('Method ' + method + ' does not exist on jQuery.sticky'); 156 | } 157 | }; 158 | 159 | $.fn.unstick = function(method) { 160 | if (methods[method]) { 161 | return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); 162 | } else if (typeof method === 'object' || !method ) { 163 | return methods.unstick.apply( this, arguments ); 164 | } else { 165 | $.error('Method ' + method + ' does not exist on jQuery.sticky'); 166 | } 167 | 168 | }; 169 | $(function() { 170 | setTimeout(scroller, 0); 171 | }); 172 | })(jQuery); 173 | -------------------------------------------------------------------------------- /inc/class-epsilon-init-dashboard.php: -------------------------------------------------------------------------------- 1 | theme = $theme; 33 | 34 | $theme = wp_get_theme(); 35 | $arr = array( 36 | 'theme-name' => $theme->get( 'Name' ), 37 | 'theme-slug' => $theme->get( 'TextDomain' ), 38 | 'theme-version' => $theme->get( 'Version' ), 39 | ); 40 | 41 | $this->theme = wp_parse_args( $this->theme, $arr ); 42 | /** 43 | * If PHP Version is older than 5.3, we switch back to default theme 44 | */ 45 | add_action( 'admin_init', array( $this, 'php_version_check' ) ); 46 | 47 | /** 48 | * Add a notice for the MachoThemes feedback 49 | */ 50 | add_action( 'admin_init', array( $this, 'add_feedback_notice' ) ); 51 | 52 | /** 53 | * Init epsilon dashboard 54 | */ 55 | add_filter( 'epsilon-dashboard-setup', array( $this, 'epsilon_dashboard' ) ); 56 | 57 | add_filter( 'epsilon-onboarding-setup', array( $this, 'epsilon_onboarding' ) ); 58 | 59 | /** 60 | * Grab all class methods and initiate automatically 61 | */ 62 | $methods = get_class_methods( 'Epsilon_init_Dashboard' ); 63 | foreach ( $methods as $method ) { 64 | 65 | 66 | if ( false !== strpos( $method, 'init_' ) ) { 67 | $this->$method(); 68 | } 69 | } 70 | } 71 | 72 | /** 73 | * instance 74 | * 75 | * @param array $theme 76 | * 77 | * @return object 78 | */ 79 | public static function get_instance( $theme = array() ) { 80 | static $inst; 81 | if ( ! $inst ) { 82 | $inst = new Epsilon_init_Dashboard( $theme ); 83 | } 84 | 85 | return $inst; 86 | } 87 | 88 | /** 89 | * Check PHP Version and switch theme 90 | */ 91 | public function php_version_check() { 92 | if ( version_compare( PHP_VERSION, '5.3.0' ) >= 0 ) { 93 | return true; 94 | } 95 | 96 | switch_theme( WP_DEFAULT_THEME ); 97 | 98 | return false; 99 | } 100 | 101 | /** 102 | * Adds a feedback notice if conditions are met 103 | */ 104 | public function add_feedback_notice() { 105 | if ( get_user_meta( get_current_user_id(), 'notification_feedback', true ) ) { 106 | return; 107 | } 108 | 109 | $page_on_front = 'page' == get_option( 'show_on_front' ) ? true : false; 110 | $id = absint( get_option( 'page_on_front', 0 ) ); 111 | 112 | if ( $page_on_front && 0 !== $id ) { 113 | $revisions = wp_get_post_revisions( $id ); 114 | 115 | if ( count( $revisions ) > 3 ) { 116 | /** 117 | * Revision keys are ID's, and it's not incremental 118 | */ 119 | $first = end( $revisions ); 120 | 121 | $revision_time = new DateTime( $first->post_modified ); 122 | $today = new DateTime( 'today' ); 123 | $interval = $today->diff( $revision_time )->format( '%d' ); 124 | 125 | if ( 2 <= absint( $interval ) ) { 126 | $this->_notify_feedback(); 127 | } 128 | } 129 | } 130 | } 131 | 132 | /** 133 | * Notify of feedback 134 | */ 135 | private function _notify_feedback() { 136 | if ( ! class_exists( 'Epsilon_Notifications' ) ) { 137 | return; 138 | } 139 | $html = '

    '; 140 | $html .= 141 | vsprintf( 142 | // Translators: 1 is Theme Name, 2 is opening Anchor, 3 is closing. 143 | __( 'We\'ve been working hard on making %1$s the best one out there. We\'re interested in hearing your thoughts about %1$s and what we could do to make it even better. %2$sSend your feedback our way%3$s.', 'art-museum' ), 144 | array( 145 | 'art-museum', 146 | '', 147 | '', 148 | ) 149 | ); 150 | 151 | $notifications = Epsilon_Notifications::get_instance(); 152 | $notifications->add_notice( 153 | array( 154 | 'id' => 'mosh_notification_feedback', 155 | 'type' => 'notice epsilon-big', 156 | 'message' => $html, 157 | ) 158 | ); 159 | } 160 | 161 | /** 162 | * 163 | */ 164 | public function init_nav_menus() { 165 | new Epsilon_Section_Navigation_Menu( 'mosh_frontpage_sections_' ); 166 | } 167 | 168 | /** 169 | * Initiate the welcome screen 170 | */ 171 | public function init_dashboard() { 172 | Epsilon_Dashboard::get_instance( 173 | array( 174 | 'theme' => array( 175 | 'download-id' => '212499' 176 | ), 177 | 'tracking' => $this->theme['theme-slug'] . '_tracking_enable', 178 | ) 179 | ); 180 | 181 | $dashboard = Epsilon_Dashboard_Setup::get_instance(); 182 | $dashboard->add_admin_notice(); 183 | 184 | $upsells = get_option( $this->theme['theme-slug'] . '_theme_upsells', false ); 185 | if ( $upsells ) { 186 | add_filter( 'epsilon_upsell_control_display', '__return_false' ); 187 | } 188 | } 189 | 190 | /** 191 | * Separate setup from init 192 | * 193 | * @param array $setup 194 | * 195 | * @return array 196 | */ 197 | public function epsilon_dashboard( $setup = array() ) { 198 | $dashboard = new Epsilon_Dashboard_Setup(); 199 | 200 | $setup['actions'] = $dashboard->get_actions(); 201 | $setup['tabs'] = $dashboard->get_tabs( $setup ); 202 | $setup['plugins'] = $dashboard->get_plugins(); 203 | $setup['privacy'] = $dashboard->get_privacy_options(); 204 | 205 | $setup['edd'] = $dashboard->get_edd( $setup ); 206 | 207 | $tab = get_user_meta( get_current_user_id(), 'epsilon_active_tab', true ); 208 | 209 | $setup['activeTab'] = ! empty( $tab ) ? absint( $tab ) : 0; 210 | 211 | return $setup; 212 | } 213 | 214 | /** 215 | * Add steps to onboarding 216 | * 217 | * @param array $setup 218 | * 219 | * @return array 220 | */ 221 | public function epsilon_onboarding( $setup = array() ) { 222 | $dashboard = new Epsilon_Dashboard_Setup(); 223 | 224 | $setup['steps'] = $dashboard->get_steps(); 225 | $setup['plugins'] = $dashboard->get_plugins( true ); 226 | $setup['privacy'] = $dashboard->get_privacy_options(); 227 | 228 | return $setup; 229 | } 230 | 231 | 232 | } 233 | --------------------------------------------------------------------------------