├── assets ├── css │ ├── rankmath.min.css │ ├── src │ │ ├── rankmath.scss │ │ ├── all.scss │ │ ├── woocommerce-account.scss │ │ ├── _icons.scss │ │ ├── polylang.scss │ │ ├── elementor.scss │ │ ├── elementor-admin.scss │ │ ├── elementor-cart.scss │ │ ├── _ally.scss │ │ ├── sidebar.scss │ │ ├── _elements.scss │ │ ├── related-posts.scss │ │ ├── givewp.scss │ │ ├── _typography.scss │ │ └── author-box.scss │ ├── polylang.min.css │ ├── elementor.min.css │ ├── elementor-admin.min.css │ ├── elementor-cart.min.css │ ├── sidebar.min.css │ ├── related-posts.min.css │ ├── author-box.min.css │ ├── givewp.min.css │ └── elementor-checkout.min.css ├── fonts │ ├── star.ttf │ ├── star.woff │ ├── star.woff2 │ └── star.svg ├── images │ ├── placeholder.svg │ ├── fonts │ │ ├── lora.jpg │ │ ├── antic.jpg │ │ ├── gilda.jpg │ │ ├── libre.jpg │ │ ├── nunito.jpg │ │ ├── oswald.jpg │ │ ├── proza.jpg │ │ ├── rubik.jpg │ │ ├── cormorant.jpg │ │ ├── josefin.jpg │ │ ├── playfair.jpg │ │ ├── worksans.jpg │ │ └── montserrat.jpg │ ├── avanam-logo.png │ ├── icons │ │ ├── cursor-close.png │ │ ├── credit-cards │ │ │ ├── jcb.png │ │ │ ├── amex.png │ │ │ ├── diners.png │ │ │ ├── laser.png │ │ │ ├── visa.png │ │ │ ├── discover.png │ │ │ ├── maestro.png │ │ │ ├── mastercard.png │ │ │ ├── diners.svg │ │ │ └── visa.svg │ │ ├── loader_org.svg │ │ └── loader.svg │ ├── getting-started-video.jpg │ └── starter-templates-banner.jpeg └── js │ ├── cart-update.min.js │ ├── admin │ ├── dashboard.asset.php │ ├── meta.asset.php │ └── customizer.asset.php │ ├── src │ ├── cart-update.js │ ├── product-cls.js │ ├── welcome-notice.js │ ├── gutenberg-notice.js │ └── ie.js │ ├── product-cls.min.js │ ├── welcome-notice.min.js │ ├── gutenberg-notice.min.js │ ├── ie.min.js │ ├── lightbox-init.min.js │ └── shop-spinner.min.js ├── screenshot.png ├── languages ├── de_DE.mo ├── es_ES.mo ├── fr_FR.mo ├── ru_RU.mo └── readme.txt ├── inc ├── customizer │ ├── react │ │ ├── src │ │ │ ├── background │ │ │ │ └── custom-gradient-picker │ │ │ │ │ ├── style.native.scss │ │ │ │ │ ├── constants.js │ │ │ │ │ └── serializer.js │ │ │ ├── variables.scss │ │ │ ├── common │ │ │ │ └── capitalize-first.js │ │ │ ├── text │ │ │ │ ├── control.js │ │ │ │ └── text-component.js │ │ │ ├── social │ │ │ │ └── control.js │ │ │ ├── contact │ │ │ │ └── control.js │ │ │ ├── textarea │ │ │ │ ├── control.js │ │ │ │ └── textarea-component.js │ │ │ ├── range │ │ │ │ └── control.js │ │ │ ├── title │ │ │ │ ├── control.js │ │ │ │ └── title-component.js │ │ │ ├── gradient-control │ │ │ │ └── gradient-bar │ │ │ │ │ └── constants.js │ │ │ ├── measure │ │ │ │ └── control.js │ │ │ ├── select │ │ │ │ └── control.js │ │ │ ├── switch │ │ │ │ ├── control.js │ │ │ │ └── switch-component.js │ │ │ ├── palette │ │ │ │ └── control.js │ │ │ ├── tabs │ │ │ │ └── control.js │ │ │ ├── check-icon │ │ │ │ └── control.js │ │ │ ├── radio-icon │ │ │ │ └── control.js │ │ │ ├── sorter │ │ │ │ └── control.js │ │ │ ├── layout-builder │ │ │ │ └── control.js │ │ │ ├── available │ │ │ │ └── control.js │ │ │ ├── color │ │ │ │ └── control.js │ │ │ ├── border │ │ │ │ └── control.js │ │ │ ├── editor │ │ │ │ └── control.js │ │ │ ├── focus-button │ │ │ │ └── control.js │ │ │ ├── multi-radio-icon │ │ │ │ └── control.js │ │ │ ├── borders │ │ │ │ └── control.js │ │ │ ├── row-layout │ │ │ │ └── control.js │ │ │ ├── boxshadow │ │ │ │ └── control.js │ │ │ ├── color-link │ │ │ │ └── control.js │ │ │ └── typography │ │ │ │ └── control.js │ │ ├── class-base-control-title.php │ │ ├── class-base-control-text.php │ │ ├── class-base-control-textarea.php │ │ ├── class-base-control-focus-button.php │ │ ├── class-base-control-available.php │ │ ├── class-base-control-tab.php │ │ ├── class-base-control-color.php │ │ ├── class-base-control-row.php │ │ ├── class-base-control-range.php │ │ ├── class-base-control-border.php │ │ ├── class-base-control-select.php │ │ ├── class-base-control-shadow.php │ │ ├── class-base-control-social.php │ │ ├── class-base-control-sorter.php │ │ ├── class-base-control-switch.php │ │ ├── class-base-control-borders.php │ │ ├── class-base-control-contact.php │ │ ├── class-base-control-measure.php │ │ ├── class-base-control-color-link.php │ │ ├── class-base-control-color-palette.php │ │ ├── class-base-control-radio-icon.php │ │ ├── class-base-control-typography.php │ │ ├── class-base-control-check-icon.php │ │ ├── class-base-control-editor.php │ │ ├── class-base-control-builder.php │ │ └── class-base-control-multi-radio-icon.php │ ├── options │ │ ├── general-comments-options.php │ │ ├── general-image-options.php │ │ └── general-breadcrumb-options.php │ ├── custom-controls │ │ └── class-base-control-blank.php │ ├── css │ │ ├── rtl-base-customizer.css │ │ └── rtl-base-customizer.scss │ └── js │ │ └── generate-google-font-variants.js ├── meta │ └── react │ │ └── src │ │ └── capitalize-first.js ├── dashboard │ └── react │ │ └── src │ │ ├── recomended.js │ │ ├── notices.js │ │ ├── sidebar.js │ │ ├── help.js │ │ ├── changelog-item.js │ │ └── pro-extension.js ├── components │ ├── component_interface.php │ ├── templating_component_interface.php │ ├── rankmath │ │ └── component.php │ ├── pwa │ │ └── component.php │ ├── clean_frontend │ │ └── component.php │ ├── polylang │ │ └── component.php │ ├── restrict_content_pro │ │ └── component.php │ ├── custom_logo │ │ └── component.php │ ├── beaver │ │ └── component.php │ └── zoom_recipe_card │ │ └── component.php ├── wordpress-shims.php └── template-functions │ └── title-functions.php ├── .gitattributes ├── template-parts ├── title │ ├── info.php │ ├── excerpt.php │ ├── search.php │ ├── title.php │ ├── description.php │ ├── above_title.php │ ├── breadcrumb.php │ ├── back_link.php │ ├── category.php │ └── categories.php ├── archive-title │ ├── search.php │ ├── description.php │ ├── breadcrumb.php │ ├── title.php │ └── hkb-searchbox.php ├── content │ ├── entry_title.php │ ├── entry_loop_footer.php │ ├── entry_footer.php │ ├── entry_loop_header.php │ ├── error-offline.php │ ├── entry.php │ ├── entry_loop_title.php │ ├── pagination.php │ ├── error-404.php │ ├── entry_tags.php │ ├── error-500.php │ ├── entry_content.php │ ├── archive_header.php │ ├── entry_summary.php │ ├── entry_actions.php │ ├── comments-list.php │ ├── single.php │ ├── entry_header.php │ ├── error.php │ ├── archive_hero.php │ ├── page_header.php │ ├── archive.php │ └── entry_hero.php ├── header │ ├── cart.php │ ├── html.php │ ├── logo.php │ ├── button.php │ ├── mobile-cart.php │ ├── search.php │ ├── social.php │ ├── mobile-html.php │ ├── mobile-logo.php │ ├── mobile-social.php │ ├── mobile-button.php │ ├── popup-toggle.php │ ├── mobile-navigation.php │ ├── navigation.php │ └── navigation-2.php └── footer │ ├── base.php │ ├── footer-widget1.php │ ├── footer-widget2.php │ ├── footer-widget3.php │ ├── footer-widget4.php │ ├── footer-widget5.php │ └── footer-widget6.php ├── .gitignore ├── index.php ├── page.php ├── single.php ├── 404.php ├── webpack.config.js ├── bbpress ├── pagination-replies.php ├── pagination-topics.php ├── content-archive-forum.php ├── form-reply-search.php ├── form-topic-search.php ├── form-search.php ├── loop-topics.php └── loop-single-reply.php ├── tribe └── events │ ├── v2 │ └── default-template.php │ └── single-event-blocks.php ├── footer.php ├── package.json ├── style.css ├── sidebar.php ├── tutor └── archive-course.php ├── functions.php ├── 500.php ├── offline.php ├── comments.php └── header.php /assets/css/rankmath.min.css: -------------------------------------------------------------------------------- 1 | .rank-math-list-item{margin-bottom:2em} -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/screenshot.png -------------------------------------------------------------------------------- /languages/de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/languages/de_DE.mo -------------------------------------------------------------------------------- /languages/es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/languages/es_ES.mo -------------------------------------------------------------------------------- /languages/fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/languages/fr_FR.mo -------------------------------------------------------------------------------- /languages/ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/languages/ru_RU.mo -------------------------------------------------------------------------------- /assets/fonts/star.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/fonts/star.ttf -------------------------------------------------------------------------------- /assets/fonts/star.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/fonts/star.woff -------------------------------------------------------------------------------- /assets/fonts/star.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/fonts/star.woff2 -------------------------------------------------------------------------------- /assets/images/placeholder.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/fonts/lora.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/lora.jpg -------------------------------------------------------------------------------- /assets/images/avanam-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/avanam-logo.png -------------------------------------------------------------------------------- /assets/images/fonts/antic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/antic.jpg -------------------------------------------------------------------------------- /assets/images/fonts/gilda.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/gilda.jpg -------------------------------------------------------------------------------- /assets/images/fonts/libre.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/libre.jpg -------------------------------------------------------------------------------- /assets/images/fonts/nunito.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/nunito.jpg -------------------------------------------------------------------------------- /assets/images/fonts/oswald.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/oswald.jpg -------------------------------------------------------------------------------- /assets/images/fonts/proza.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/proza.jpg -------------------------------------------------------------------------------- /assets/images/fonts/rubik.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/rubik.jpg -------------------------------------------------------------------------------- /assets/images/fonts/cormorant.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/cormorant.jpg -------------------------------------------------------------------------------- /assets/images/fonts/josefin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/josefin.jpg -------------------------------------------------------------------------------- /assets/images/fonts/playfair.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/playfair.jpg -------------------------------------------------------------------------------- /assets/images/fonts/worksans.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/worksans.jpg -------------------------------------------------------------------------------- /assets/images/fonts/montserrat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/fonts/montserrat.jpg -------------------------------------------------------------------------------- /assets/images/icons/cursor-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/icons/cursor-close.png -------------------------------------------------------------------------------- /assets/images/getting-started-video.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/getting-started-video.jpg -------------------------------------------------------------------------------- /assets/images/icons/credit-cards/jcb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/icons/credit-cards/jcb.png -------------------------------------------------------------------------------- /assets/images/icons/credit-cards/amex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/icons/credit-cards/amex.png -------------------------------------------------------------------------------- /assets/images/icons/credit-cards/diners.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/icons/credit-cards/diners.png -------------------------------------------------------------------------------- /assets/images/icons/credit-cards/laser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/icons/credit-cards/laser.png -------------------------------------------------------------------------------- /assets/images/icons/credit-cards/visa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/icons/credit-cards/visa.png -------------------------------------------------------------------------------- /assets/images/starter-templates-banner.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/starter-templates-banner.jpeg -------------------------------------------------------------------------------- /assets/images/icons/credit-cards/discover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/icons/credit-cards/discover.png -------------------------------------------------------------------------------- /assets/images/icons/credit-cards/maestro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/icons/credit-cards/maestro.png -------------------------------------------------------------------------------- /assets/js/cart-update.min.js: -------------------------------------------------------------------------------- 1 | jQuery(function(o){o(document.body).on("removed_from_cart",function(){o(document).trigger("wc_update_cart")})}); -------------------------------------------------------------------------------- /inc/customizer/react/src/background/custom-gradient-picker/style.native.scss: -------------------------------------------------------------------------------- 1 | .angleControl { 2 | padding-top: $grid-unit-20 / 2; 3 | } 4 | -------------------------------------------------------------------------------- /assets/images/icons/credit-cards/mastercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AvanamOrg/avanam/HEAD/assets/images/icons/credit-cards/mastercard.png -------------------------------------------------------------------------------- /assets/js/admin/dashboard.asset.php: -------------------------------------------------------------------------------- 1 | array('wp-components', 'wp-element', 'wp-i18n'), 'version' => 'd3efdb7f8c5faf40df11'); 2 | -------------------------------------------------------------------------------- /assets/css/src/rankmath.scss: -------------------------------------------------------------------------------- 1 | @import "_custom-properties.scss"; 2 | // Styles for rankmath faq schema block. 3 | .rank-math-list-item { 4 | margin-bottom: 2em; 5 | } 6 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Declare files that will always have CRLF line endings on checkout. 5 | changelog.txt text eol=crlf -------------------------------------------------------------------------------- /assets/images/icons/loader_org.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/src/cart-update.js: -------------------------------------------------------------------------------- 1 | jQuery( function( $ ) { 2 | // Update from mini 3 | $( document.body ).on( 'removed_from_cart', function() { 4 | $( document ).trigger( 'wc_update_cart' ); 5 | } ); 6 | }); -------------------------------------------------------------------------------- /assets/js/admin/meta.asset.php: -------------------------------------------------------------------------------- 1 | array('wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => 'c5ccaf49cc2f97d91bb4'); 2 | -------------------------------------------------------------------------------- /template-parts/title/info.php: -------------------------------------------------------------------------------- 1 | array('lodash', 'react', 'react-dom', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'aff9d74ca124a8ee5f6a'); 2 | -------------------------------------------------------------------------------- /assets/js/product-cls.min.js: -------------------------------------------------------------------------------- 1 | jQuery(function(t){t(".woocommerce-product-gallery.gallery-has-thumbnails").each(function(){var e=t(this);e.height(e.height()),e.on("wc-product-gallery-after-init",function(t){setTimeout(function(){e.height("")},500)})})}); -------------------------------------------------------------------------------- /assets/css/src/all.scss: -------------------------------------------------------------------------------- 1 | @import "global.scss"; 2 | @import "header.scss"; 3 | @import "content.scss"; 4 | @import "sidebar.scss"; 5 | @import "author-box.scss"; 6 | @import "slider.scss"; 7 | @import "sidebar.scss"; 8 | @import "comments.scss"; 9 | @import "footer.scss"; -------------------------------------------------------------------------------- /inc/customizer/react/src/variables.scss: -------------------------------------------------------------------------------- 1 | $color-primary: #007cba; 2 | $color-gray-200: #EDF2F7; 3 | $color-gray-300: #E2E8F0; 4 | $color-gray-400: #CBD5E0; 5 | $color-gray-500: #A0AEC0; 6 | $color-gray-600: #718096; 7 | $color-gray-700: #4A5568; 8 | $color-gray-800: #2D3748; 9 | -------------------------------------------------------------------------------- /template-parts/title/excerpt.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 13 |
14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .DS_Store 3 | *.DS_Store 4 | **/.DS_Store 5 | Thumbs.db 6 | **/Thumbs.db 7 | node_modules/ 8 | vendor/ 9 | prepros.config 10 | package-lock.json 11 | composer.lock 12 | .vscode/ 13 | ~/ 14 | .idea/ 15 | *.sublime-project 16 | *.sublime-workspace 17 | *.map 18 | *.log 19 | 20 | -------------------------------------------------------------------------------- /assets/css/src/woocommerce-account.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * woocommerce.scss 3 | * Governs the general look and feel of WooCommerce sections of stores using themes that do not 4 | * integrate with WooCommerce specifically. 5 | */ 6 | 7 | /** 8 | * Imports 9 | */ 10 | @import "woo/_account.scss"; 11 | -------------------------------------------------------------------------------- /template-parts/title/search.php: -------------------------------------------------------------------------------- 1 | ', '' ); 12 | do_action( 'base_single_after_entry_title' ); 13 | -------------------------------------------------------------------------------- /inc/meta/react/src/capitalize-first.js: -------------------------------------------------------------------------------- 1 | /** 2 | * function to return string with capital letter. 3 | * @param {string} string the word string. 4 | * @returns {string} with capital letter. 5 | */ 6 | export default function capitalizeFirstLetter( string ) { 7 | return string.charAt( 0 ).toUpperCase() + string.slice( 1 ); 8 | } 9 | -------------------------------------------------------------------------------- /template-parts/archive-title/search.php: -------------------------------------------------------------------------------- 1 | ', '' ); 12 | do_action( 'base_single_after_entry_title' ); 13 | -------------------------------------------------------------------------------- /inc/customizer/react/src/common/capitalize-first.js: -------------------------------------------------------------------------------- 1 | /** 2 | * function to return string with capital letter. 3 | * @param {string} string the word string. 4 | * @returns {string} with capital letter. 5 | */ 6 | export default function capitalizeFirstLetter( string ) { 7 | return string.charAt( 0 ).toUpperCase() + string.slice( 1 ); 8 | } 9 | -------------------------------------------------------------------------------- /languages/readme.txt: -------------------------------------------------------------------------------- 1 | Place your theme language files in this directory. 2 | 3 | Please visit the following links to learn more about translating WordPress themes: 4 | 5 | https://make.wordpress.org/polyglots/teams/ 6 | https://developer.wordpress.org/themes/functionality/localization/ 7 | https://developer.wordpress.org/reference/functions/load_theme_textdomain/ 8 | -------------------------------------------------------------------------------- /template-parts/content/entry_loop_footer.php: -------------------------------------------------------------------------------- 1 | 11 | 16 | -------------------------------------------------------------------------------- /assets/js/welcome-notice.min.js: -------------------------------------------------------------------------------- 1 | !function(n){n(function(){n("#base-notice-welcome-plugin .notice-dismiss").on("click",function(e){var a;(a=new FormData).append("action","base_dismiss_welcome_notice"),a.append("security",baseWelcomeDeactivate.ajax_nonce),n.ajax({url:baseWelcomeDeactivate.ajax_url,method:"POST",data:a,contentType:!1,processData:!1})})})}(jQuery,(window,document)); -------------------------------------------------------------------------------- /assets/js/gutenberg-notice.min.js: -------------------------------------------------------------------------------- 1 | !function(a){a(function(){a("#base-notice-gutenberg-plugin .notice-dismiss").on("click",function(e){var n;(n=new FormData).append("action","base_dismiss_gutenberg_notice"),n.append("security",baseGutenbergDeactivate.ajax_nonce),a.ajax({url:baseGutenbergDeactivate.ajax_url,method:"POST",data:n,contentType:!1,processData:!1})})})}(jQuery,(window,document)); -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | print_styles( 'base-content' ); 17 | /** 18 | * Hook for main archive content. 19 | */ 20 | do_action( 'base_archive' ); 21 | 22 | get_footer(); 23 | -------------------------------------------------------------------------------- /inc/dashboard/react/src/recomended.js: -------------------------------------------------------------------------------- 1 | /** 2 | * WordPress dependencies 3 | */ 4 | import { __ } from '@wordpress/i18n'; 5 | const { Fragment } = wp.element; 6 | 7 | export const RecommendedTab = () => { 8 | return ( 9 | 10 |

{ __( 'This area is for Recommended Plugins.', 'avanam' ) }

11 |
12 | ); 13 | }; 14 | 15 | export default RecommendedTab; -------------------------------------------------------------------------------- /assets/css/polylang.min.css: -------------------------------------------------------------------------------- 1 | .widget_polylang ul li a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.site-header .widget_polylang ul{margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;list-style:none}.site-header .widget_polylang ul li{margin-left:.5em}.site-header .widget_polylang ul li:first-child{margin-left:0} -------------------------------------------------------------------------------- /assets/css/src/_icons.scss: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------------------------- 2 | # Icons 3 | --------------------------------------------------------------*/ 4 | .base-svg-iconset { 5 | display: inline-flex; 6 | align-self: center; 7 | } 8 | .base-svg-iconset svg { 9 | height:1em; 10 | width:1em; 11 | } 12 | .base-svg-iconset.svg-baseline svg { 13 | top: .125em; 14 | position: relative; 15 | } -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | print_styles( 'base-content' ); 17 | /** 18 | * Hook for everything, makes for better elementor theming support. 19 | */ 20 | do_action( 'base_single' ); 21 | 22 | get_footer(); 23 | -------------------------------------------------------------------------------- /single.php: -------------------------------------------------------------------------------- 1 | print_styles( 'base-content' ); 17 | /** 18 | * Hook for everything, makes for better elementor theming support. 19 | */ 20 | do_action( 'base_single' ); 21 | 22 | get_footer(); 23 | -------------------------------------------------------------------------------- /template-parts/content/entry_footer.php: -------------------------------------------------------------------------------- 1 | 11 | 18 | -------------------------------------------------------------------------------- /template-parts/archive-title/description.php: -------------------------------------------------------------------------------- 1 | ', '' ); 12 | } 13 | -------------------------------------------------------------------------------- /template-parts/header/cart.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /assets/css/elementor.min.css: -------------------------------------------------------------------------------- 1 | :root body[class*=" elementor-kit-"]{--e-global-color-base1:var(--global-palette1);--e-global-color-base2:var(--global-palette2);--e-global-color-base3:var(--global-palette3);--e-global-color-base4:var(--global-palette4);--e-global-color-base5:var(--global-palette5);--e-global-color-base6:var(--global-palette6);--e-global-color-base7:var(--global-palette7);--e-global-color-base8:var(--global-palette8);--e-global-color-base9:var(--global-palette9)} -------------------------------------------------------------------------------- /assets/css/src/polylang.scss: -------------------------------------------------------------------------------- 1 | @import "_custom-properties.scss"; 2 | // Styles for Polylang Widget. 3 | .widget_polylang ul { 4 | li { 5 | a { 6 | display: flex; 7 | align-items: center; 8 | } 9 | } 10 | } 11 | // Header. 12 | .site-header .widget_polylang ul { 13 | margin: 0; 14 | padding: 0; 15 | display: flex; 16 | list-style: none; 17 | li { 18 | margin-left: 0.5em; 19 | } 20 | li:first-child { 21 | margin-left: 0; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /template-parts/header/html.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /template-parts/header/logo.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /template-parts/header/button.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /template-parts/header/mobile-cart.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /template-parts/header/search.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /template-parts/header/social.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /template-parts/header/mobile-html.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /template-parts/header/mobile-logo.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /404.php: -------------------------------------------------------------------------------- 1 | print_styles( 'base-content' ); 19 | /** 20 | * Hook for everything, makes for better elementor theming support. 21 | */ 22 | do_action( 'base_single' ); 23 | 24 | get_footer(); 25 | -------------------------------------------------------------------------------- /inc/customizer/react/src/text/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import TextComponent from './text-component.js'; 3 | 4 | export const TextControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( , control.container[0] ); 10 | } 11 | } ); 12 | -------------------------------------------------------------------------------- /template-parts/header/mobile-social.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /template-parts/header/mobile-button.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | const defaultConfig = require("@wordpress/scripts/config/webpack.config"); 2 | module.exports = { 3 | ...defaultConfig, 4 | entry: { 5 | 'customizer': './inc/customizer/react/src/index.js', // 'name' : 'path/file.ext'. 6 | 'meta': './inc/meta/react/src/index.js', // 'name' : 'path/file.ext'. 7 | 'dashboard': './inc/dashboard/react/src/index.js', // 'name' : 'path/file.ext'. 8 | }, 9 | output: { 10 | filename: '[name].js', 11 | path: __dirname + '/assets/js/admin' 12 | }, 13 | }; -------------------------------------------------------------------------------- /inc/customizer/react/src/social/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import SocialComponent from './social-component.js'; 3 | 4 | export const SocialControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( , control.container[0] ); 10 | } 11 | } ); 12 | -------------------------------------------------------------------------------- /template-parts/title/description.php: -------------------------------------------------------------------------------- 1 | '; 12 | bbp_forum_content(); 13 | echo ''; 14 | } else { 15 | echo '
'; 16 | the_excerpt(); 17 | echo '
'; 18 | } 19 | -------------------------------------------------------------------------------- /inc/customizer/react/src/contact/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import ContactComponent from './contact-component.js'; 3 | 4 | export const ContactControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( , control.container[0] ); 10 | } 11 | } ); 12 | -------------------------------------------------------------------------------- /template-parts/content/entry_loop_header.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 13 | 23 |
24 | -------------------------------------------------------------------------------- /inc/customizer/react/src/textarea/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import TextareaComponent from './textarea-component.js'; 3 | 4 | export const TextareaControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( , control.container[0] ); 10 | } 11 | } ); 12 | -------------------------------------------------------------------------------- /assets/js/ie.min.js: -------------------------------------------------------------------------------- 1 | window.baseIE={initAll:function(e){cssVars({rootElement:document,shadowDOM:!1,include:"link[rel=stylesheet],style",exclude:"",variables:{},onlyLegacy:!0,preserveStatic:!0,preserveVars:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:!1})},init:function(){var e;"function"==typeof cssVars?window.baseIE.initAll():e=setInterval(function(){"function"==typeof cssVars&&(window.baseIE.initAll(),clearInterval(e))},200)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.baseIE.init):window.baseIE.init(); -------------------------------------------------------------------------------- /inc/customizer/react/src/range/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import RangeComponent from './range-component.js'; 3 | 4 | export const RangeControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /inc/customizer/react/src/title/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import TitleComponent from './title-component.js'; 3 | 4 | export const TitleControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /template-parts/title/above_title.php: -------------------------------------------------------------------------------- 1 | option( 'product_content_element_title' ); 13 | if ( isset( $title_element ) && is_array( $title_element ) && false === $title_element['enabled'] ) { 14 | $html_tag = 'h1'; 15 | } 16 | } 17 | the_title( '<' . $html_tag . ' class="extra-title">', '' ); 18 | -------------------------------------------------------------------------------- /inc/customizer/react/src/gradient-control/gradient-bar/constants.js: -------------------------------------------------------------------------------- 1 | export const GRADIENT_MARKERS_WIDTH = 16; 2 | export const INSERT_POINT_WIDTH = 16; 3 | export const MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT = 10; 4 | export const MINIMUM_DISTANCE_BETWEEN_POINTS = 0; 5 | export const MINIMUM_SIGNIFICANT_MOVE = 5; 6 | 7 | export const KEYBOARD_CONTROL_POINT_VARIATION = 8 | MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT; 9 | export const MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_MARKER = 10 | ( INSERT_POINT_WIDTH + GRADIENT_MARKERS_WIDTH ) / 2; 11 | -------------------------------------------------------------------------------- /inc/customizer/react/src/measure/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import MeasureComponent from './measure-component'; 3 | 4 | export const MeasureControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /inc/customizer/react/src/select/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import SelectComponent from './select-component.js'; 3 | 4 | export const SelectControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /inc/customizer/react/src/switch/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import SwitchComponent from './switch-component.js'; 3 | 4 | export const SwitchControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /assets/css/elementor-admin.min.css: -------------------------------------------------------------------------------- 1 | .elementor-control.elementor-control-custom_colors .elementor-repeater-fields-wrapper .elementor-repeater-fields:nth-child(-n+9){display:none}.e-global__preview-item.e-global__color[data-global-id^=avanam]{border:2px solid rgba(0,0,0,.2);padding-top:8px;padding-bottom:8px;border-bottom:0;border-top:0;margin-top:0;margin-bottom:0}.e-global__preview-item.e-global__color[data-global-id=avanam1]{border-top:2px solid rgba(0,0,0,.2)}.e-global__preview-item.e-global__color[data-global-id=avanam9]{border-bottom:2px solid rgba(0,0,0,.2)} -------------------------------------------------------------------------------- /inc/customizer/react/src/palette/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import PaletteComponent from './palette-component.js'; 3 | 4 | export const PaletteControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /template-parts/title/breadcrumb.php: -------------------------------------------------------------------------------- 1 | option( $item_type . '_title_element_breadcrumb' ); 12 | $args = array( 'show_title' => true ); 13 | if ( isset( $elements ) && is_array( $elements ) ) { 14 | if ( isset( $elements['show_title'] ) && ! $elements['show_title'] ) { 15 | $args['show_title'] = false; 16 | } 17 | } 18 | webapp()->print_breadcrumb( $args ); -------------------------------------------------------------------------------- /inc/customizer/react/src/tabs/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import TabsComponent from './tabs-component'; 3 | 4 | export const TabsControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( , control.container[0] ); 10 | } 11 | } ); 12 | -------------------------------------------------------------------------------- /inc/customizer/react/src/check-icon/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import CheckIconComponent from './check-icon-component.js'; 3 | 4 | export const CheckIconControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /inc/customizer/react/src/radio-icon/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import RadioIconComponent from './radio-icon-component.js'; 3 | 4 | export const RadioIconControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /template-parts/archive-title/breadcrumb.php: -------------------------------------------------------------------------------- 1 | option( $item_type . '_archive_title_element_breadcrumb' ); 12 | $args = array( 'show_title' => true ); 13 | if ( isset( $elements ) && is_array( $elements ) ) { 14 | if ( isset( $elements['show_title'] ) && ! $elements['show_title'] ) { 15 | $args['show_title'] = false; 16 | } 17 | } 18 | webapp()->print_breadcrumb( $args ); 19 | -------------------------------------------------------------------------------- /inc/components/component_interface.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /inc/customizer/react/src/sorter/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import SorterComponent from './setting-sorter-component.js'; 3 | 4 | export const SorterControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( , control.container[0] ); 10 | } 11 | } ); 12 | -------------------------------------------------------------------------------- /assets/css/src/elementor.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Custom vars 3 | */ 4 | :root body[class*=" elementor-kit-"] { 5 | --e-global-color-base1: var(--global-palette1); 6 | --e-global-color-base2: var(--global-palette2); 7 | --e-global-color-base3: var(--global-palette3); 8 | --e-global-color-base4: var(--global-palette4); 9 | --e-global-color-base5: var(--global-palette5); 10 | --e-global-color-base6: var(--global-palette6); 11 | --e-global-color-base7: var(--global-palette7); 12 | --e-global-color-base8: var(--global-palette8); 13 | --e-global-color-base9: var(--global-palette9); 14 | } -------------------------------------------------------------------------------- /inc/customizer/react/src/layout-builder/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import BuilderComponent from './builder-component.js'; 3 | 4 | export const BuilderControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( , control.container[0] ); 10 | } 11 | } ); 12 | -------------------------------------------------------------------------------- /inc/customizer/react/src/available/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import AvailableComponent from './available-component.js'; 3 | 4 | export const AvailableControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( , control.container[0] ); 10 | } 11 | } ); 12 | -------------------------------------------------------------------------------- /inc/customizer/react/src/color/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import ColorComponent from './color-component.js'; 3 | 4 | export const ColorControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /template-parts/title/back_link.php: -------------------------------------------------------------------------------- 1 | 16 |

17 | 18 | « 19 | 20 |

21 | -------------------------------------------------------------------------------- /inc/customizer/react/src/border/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import BorderComponent from './border-component.js'; 3 | 4 | export const BorderControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /inc/customizer/react/src/editor/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import EditorComponent from './editor-component.js'; 3 | 4 | export const EditorControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /inc/customizer/react/src/focus-button/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import FocusButtonComponent from './focus-button-component'; 3 | 4 | export const FocusButtonControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( , control.container[0] ); 10 | } 11 | } ); 12 | -------------------------------------------------------------------------------- /inc/customizer/react/src/multi-radio-icon/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | 3 | import MultiRadioIconComponent from './multi-radio-icon-component.js'; 4 | 5 | export const MultiRadioIconControl = wp.customize.BaseControl.extend( { 6 | renderContent: function renderContent() { 7 | let control = this; 8 | let root = createRoot( control.container[0] ); 9 | root.render( ); 10 | // ReactDOM.render( 11 | // , 12 | // control.container[0] 13 | // ); 14 | } 15 | } ); 16 | -------------------------------------------------------------------------------- /inc/customizer/react/src/borders/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import BordersComponent from './borders-component.js'; 3 | 4 | export const BordersControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /inc/customizer/react/src/row-layout/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import RowLayoutComponent from './row-layout-component'; 3 | 4 | export const RowControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /inc/customizer/react/src/boxshadow/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import BoxShadowComponent from './boxshadow-component.js'; 3 | 4 | export const BoxShadowControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /inc/customizer/react/src/color-link/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import ColorLinkComponent from './color-link-component.js'; 3 | 4 | export const ColorLinkControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /assets/js/src/product-cls.js: -------------------------------------------------------------------------------- 1 | /** 2 | * File product-cls.js. 3 | * Sets a fixed height while loading the product image slider to fix an issue with CLS. This should ultimately be fixed by wooocommerce/flexslider 4 | */ 5 | 6 | jQuery( function( $ ) { 7 | $( '.woocommerce-product-gallery.gallery-has-thumbnails' ).each( function() { 8 | var gallery_wrap = $( this ); 9 | gallery_wrap.height( gallery_wrap.height() ); 10 | gallery_wrap.on( 'wc-product-gallery-after-init', function (event) { 11 | setTimeout( function() { 12 | gallery_wrap.height( '' ); 13 | }, 500 ); 14 | } ); 15 | } ); 16 | } ); 17 | 18 | -------------------------------------------------------------------------------- /inc/customizer/react/src/typography/control.js: -------------------------------------------------------------------------------- 1 | import { createRoot } from '@wordpress/element'; 2 | import TypographyComponent from './typography-component.js'; 3 | 4 | export const TypographyControl = wp.customize.BaseControl.extend( { 5 | renderContent: function renderContent() { 6 | let control = this; 7 | let root = createRoot( control.container[0] ); 8 | root.render( ); 9 | // ReactDOM.render( 10 | // , 11 | // control.container[0] 12 | // ); 13 | } 14 | } ); 15 | -------------------------------------------------------------------------------- /inc/wordpress-shims.php: -------------------------------------------------------------------------------- 1 | 10 | select( 'core/notices' ) 11 | .getNotices() 12 | .filter( ( notice ) => notice.type === 'snackbar' ), 13 | [] 14 | ); 15 | const { removeNotice } = useDispatch( 'core/notices' ); 16 | return ( 17 | 22 | ); 23 | } 24 | -------------------------------------------------------------------------------- /bbpress/pagination-replies.php: -------------------------------------------------------------------------------- 1 | 16 |
17 |
18 | 19 |
20 | 21 | 16 |
17 |
18 | 19 |
20 | 21 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /assets/css/elementor-cart.min.css: -------------------------------------------------------------------------------- 1 | .elementor-widget-woocommerce-cart .woocommerce table.shop_table.cart .actions .button{height:auto}@media screen and (min-width:1025px){.woocommerce-cart .e-cart__container .cart-collaterals,.woocommerce-cart .e-cart__container .woocommerce-cart-form{width:100%}}.woocommerce-cart .e-cart__container .cart-collaterals .cart_totals_summary{background-color:var(--global-palette9);color:var(--global-palette3);border-radius:0;padding:0}.elementor-widget-woocommerce-cart .woocommerce-page .cart_totals table.shop_table_responsive tr td:before,.elementor-widget-woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr td:before{float:none!important} -------------------------------------------------------------------------------- /tribe/events/v2/default-template.php: -------------------------------------------------------------------------------- 1 | get_view_html(); 23 | do_action( 'base_tribe_events_after_main_tag' ); 24 | get_footer(); 25 | -------------------------------------------------------------------------------- /assets/css/src/elementor-admin.scss: -------------------------------------------------------------------------------- 1 | .elementor-control.elementor-control-custom_colors .elementor-repeater-fields-wrapper .elementor-repeater-fields:nth-child(-n+9) { 2 | display: none; 3 | } 4 | .e-global__preview-item.e-global__color[data-global-id^="avanam"] { 5 | border: 2px solid rgba(0,0,0,0.2); 6 | padding-top: 8px; 7 | padding-bottom: 8px; 8 | border-bottom:0; 9 | border-top:0; 10 | margin-top:0; 11 | margin-bottom:0; 12 | } 13 | .e-global__preview-item.e-global__color[data-global-id="avanam1"] { 14 | border-top: 2px solid rgba(0,0,0,0.2); 15 | } 16 | .e-global__preview-item.e-global__color[data-global-id="avanam9"] { 17 | border-bottom: 2px solid rgba(0,0,0,0.2); 18 | } -------------------------------------------------------------------------------- /template-parts/content/error-offline.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 17 | 18 |
19 | 24 |
25 |
26 | -------------------------------------------------------------------------------- /assets/css/sidebar.min.css: -------------------------------------------------------------------------------- 1 | .primary-sidebar{padding-top:1.5rem;padding-bottom:1.5rem;margin-left:auto;margin-right:auto}@media screen and (min-width:768px){.primary-sidebar{padding-left:0;padding-right:0}}@media screen and (min-width:1025px){.primary-sidebar{padding:0;margin:0}.has-sticky-sidebar #wrapper,.has-sticky-sidebar-widget #wrapper{overflow:visible}.has-sticky-sidebar-widget .primary-sidebar .widget:last-child,.has-sticky-sidebar .sidebar-inner-wrap{position:sticky;top:20px;overflow-y:auto}.has-sticky-sidebar-widget .sidebar-inner-wrap{height:100%}}@media screen and (max-width:1024px){.has-sticky-sidebar-widget .primary-sidebar .widget:last-child,.has-sticky-sidebar .sidebar-inner-wrap{max-height:none!important;overflow-y:auto}} -------------------------------------------------------------------------------- /assets/js/src/welcome-notice.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Ajax Welcome the Theme Plugin 3 | * 4 | */ 5 | (function($, window, document, undefined){ 6 | "use strict"; 7 | $(function(){ 8 | $( '#base-notice-welcome-plugin .notice-dismiss' ).on( 'click', function( event ) { 9 | base_dismissWelcomeNotice(); 10 | } ); 11 | function base_dismissWelcomeNotice(){ 12 | var data = new FormData(); 13 | data.append( 'action', 'base_dismiss_welcome_notice' ); 14 | data.append( 'security', baseWelcomeDeactivate.ajax_nonce ); 15 | $.ajax({ 16 | url : baseWelcomeDeactivate.ajax_url, 17 | method: 'POST', 18 | data: data, 19 | contentType: false, 20 | processData: false, 21 | }); 22 | } 23 | }); 24 | })(jQuery, window, document); -------------------------------------------------------------------------------- /template-parts/content/entry.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
> 13 | 21 |
22 | 32 |
33 |
34 | -------------------------------------------------------------------------------- /assets/js/src/gutenberg-notice.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Ajax install the Theme Plugin 3 | * 4 | */ 5 | (function($, window, document, undefined){ 6 | "use strict"; 7 | $(function(){ 8 | $( '#base-notice-gutenberg-plugin .notice-dismiss' ).on( 'click', function( event ) { 9 | base_dismissGutenbergNotice(); 10 | } ); 11 | function base_dismissGutenbergNotice(){ 12 | var data = new FormData(); 13 | data.append( 'action', 'base_dismiss_gutenberg_notice' ); 14 | data.append( 'security', baseGutenbergDeactivate.ajax_nonce ); 15 | $.ajax({ 16 | url : baseGutenbergDeactivate.ajax_url, 17 | method: 'POST', 18 | data: data, 19 | contentType: false, 20 | processData: false, 21 | }); 22 | } 23 | }); 24 | })(jQuery, window, document); -------------------------------------------------------------------------------- /assets/images/icons/loader.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /template-parts/content/entry_loop_title.php: -------------------------------------------------------------------------------- 1 | option( $slug . '_archive_element_title', array( 12 | 'enabled' => true, 13 | ) ); 14 | if ( isset( $title_element ) && is_array( $title_element ) && true === $title_element['enabled'] ) { 15 | if ( is_search() || is_archive() || is_home() ) { 16 | the_title( '

', '

' ); 17 | } else { 18 | the_title( '

', '

' ); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /template-parts/header/navigation.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /template-parts/content/pagination.php: -------------------------------------------------------------------------------- 1 | 2, 15 | 'prev_text' => '' . __( 'Previous Page', 'avanam' ) . '' . webapp()->get_icon( 'arrow-left', _x( 'Previous', 'previous set of archive results', 'avanam' ) ), 16 | 'next_text' => '' . __( 'Next Page', 'avanam' ) . '' . webapp()->get_icon( 'arrow-right', _x( 'Next', 'next set of archive results', 'avanam' ) ), 17 | 'screen_reader_text' => __( 'Page navigation', 'avanam' ), 18 | ) 19 | ) 20 | ); 21 | -------------------------------------------------------------------------------- /template-parts/header/navigation-2.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 20 |
21 | -------------------------------------------------------------------------------- /template-parts/content/error-404.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 13 |
14 | 15 |
16 | 17 | 21 |

22 | 23 |

24 | 25 | 30 |
31 |
32 |
33 | -------------------------------------------------------------------------------- /assets/images/icons/credit-cards/diners.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/components/templating_component_interface.php: -------------------------------------------------------------------------------- 1 | $callback_info pairs. Each $callback_info must either be 19 | * a callable or an array with key 'callable'. This approach is used to reserve the possibility of 20 | * adding support for further arguments in the future. 21 | */ 22 | public function template_tags() : array; 23 | } 24 | -------------------------------------------------------------------------------- /bbpress/content-archive-forum.php: -------------------------------------------------------------------------------- 1 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |
37 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-title.php: -------------------------------------------------------------------------------- 1 | register_control_type( 'Base_Control_Title' ); 39 | -------------------------------------------------------------------------------- /assets/fonts/star.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /template-parts/content/entry_tags.php: -------------------------------------------------------------------------------- 1 | 15 | 28 | -------------------------------------------------------------------------------- /inc/dashboard/react/src/sidebar.js: -------------------------------------------------------------------------------- 1 | /** 2 | * WordPress dependencies 3 | */ 4 | import { __ } from '@wordpress/i18n'; 5 | const { Fragment } = wp.element; 6 | const { withFilters, TabPanel, Panel, PanelBody, PanelRow, Button } = wp.components; 7 | export const Sidebar = () => { 8 | return ( 9 | 10 | 11 | 14 |

{ __( 'Support', 'avanam' ) }

15 |

{ __( 'Have a question, we are happy to help! Get in touch with our support team.', 'avanam' ) }

16 | { __( 'Submit a Ticket', 'avanam' ) } 17 |
18 |
19 |
20 | ); 21 | }; 22 | 23 | export default withFilters( 'base_theme_sidebar' )( Sidebar ); -------------------------------------------------------------------------------- /bbpress/form-reply-search.php: -------------------------------------------------------------------------------- 1 | 13 | 14 |
15 |
16 | 20 | 21 | 22 |
23 |
24 | 25 | 13 | 14 |
15 |
16 | 20 | 21 | 22 |
23 |
24 | 25 | 23 | 24 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /template-parts/footer/base.php: -------------------------------------------------------------------------------- 1 | has_content() ) { 11 | webapp()->print_styles( 'base-content' ); 12 | } 13 | webapp()->print_styles( 'base-footer' ); 14 | 15 | ?> 16 |
17 | 39 |
40 | 41 | -------------------------------------------------------------------------------- /bbpress/form-search.php: -------------------------------------------------------------------------------- 1 | 13 | 14 |
15 |
16 | 20 | 21 | 22 | 23 |
24 |
25 | 26 | 11 |
12 | 13 |
14 | 15 |
16 | 21 | 22 | 30 |
31 |
32 |
33 | -------------------------------------------------------------------------------- /inc/customizer/react/src/title/title-component.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | 3 | import { __ } from '@wordpress/i18n'; 4 | const { Component } = wp.element; 5 | const { ToggleControl } = wp.components; 6 | 7 | class TitleComponent extends Component { 8 | constructor(props) { 9 | super( props ); 10 | } 11 | 12 | render() { 13 | return ( 14 |
15 | { this.props.control.params.label && ( 16 | 17 | { this.props.control.params.label } 18 | 19 | ) } 20 | { this.props.control.params.description && ( 21 | 22 | { this.props.control.params.description } 23 | 24 | ) } 25 |
26 | ); 27 | } 28 | } 29 | 30 | TitleComponent.propTypes = { 31 | control: PropTypes.object.isRequired 32 | }; 33 | 34 | export default TitleComponent; 35 | -------------------------------------------------------------------------------- /sidebar.php: -------------------------------------------------------------------------------- 1 | has_sidebar() ) { 17 | return; 18 | } 19 | webapp()->print_styles( 'base-sidebar' ); 20 | 21 | ?> 22 | 38 | -------------------------------------------------------------------------------- /inc/components/rankmath/component.php: -------------------------------------------------------------------------------- 1 | json['default'] = $this->default; 39 | } 40 | /** 41 | * Empty Render Function to prevent errors. 42 | */ 43 | public function render_content() { 44 | } 45 | } 46 | $wp_customize->register_control_type( 'Base_Control_Text' ); 47 | -------------------------------------------------------------------------------- /template-parts/content/entry_content.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 | "%s"', 'avanam' ), 21 | array( 22 | 'span' => array( 23 | 'class' => array(), 24 | ), 25 | ) 26 | ), 27 | get_the_title() 28 | ) 29 | ); 30 | 31 | wp_link_pages( 32 | array( 33 | 'before' => '', 35 | ) 36 | ); 37 | do_action( 'base_single_after_entry_content' ); 38 | ?> 39 |
40 | -------------------------------------------------------------------------------- /inc/customizer/react/src/background/custom-gradient-picker/constants.js: -------------------------------------------------------------------------------- 1 | export const INSERT_POINT_WIDTH = 23; 2 | export const GRADIENT_MARKERS_WIDTH = 18; 3 | export const MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_MARKER = 4 | ( INSERT_POINT_WIDTH + GRADIENT_MARKERS_WIDTH ) / 2; 5 | export const MINIMUM_ABSOLUTE_LEFT_POSITION = 5; 6 | export const MINIMUM_DISTANCE_BETWEEN_POINTS = 0; 7 | export const MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT = 10; 8 | export const KEYBOARD_CONTROL_POINT_VARIATION = MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT; 9 | export const MINIMUM_SIGNIFICANT_MOVE = 5; 10 | export const DEFAULT_GRADIENT = 11 | 'linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)'; 12 | export const COLOR_POPOVER_PROPS = { 13 | className: 'components-custom-gradient-picker__color-picker-popover base-popover-color', 14 | position: 'top', 15 | }; 16 | export const DEFAULT_LINEAR_GRADIENT_ANGLE = 180; 17 | export const HORIZONTAL_GRADIENT_ORIENTATION = { 18 | type: 'angular', 19 | value: 90, 20 | }; 21 | -------------------------------------------------------------------------------- /assets/css/related-posts.min.css: -------------------------------------------------------------------------------- 1 | .entry-related{margin-top:var(--global-lg-spacing);margin-bottom:var(--global-lg-spacing);background:var(--global-palette7)}.content-wrap .entry-related:last-child{margin-bottom:0}.entry-related-carousel .entry-footer,.entry-related-carousel .entry-summary,.entry-related-carousel .entry-taxonomies{display:none}.entry-related-carousel h3.entry-title{font-size:20px}h2.entry-related-title{margin-bottom:1.5rem}.wp-site-blocks .entry-related-inner{display:block}.has-sidebar .wp-site-blocks .entry-related-inner{padding:0}.entry-related-inner-content{padding:var(--global-xl-spacing) var(--global-sm-spacing)}@media screen and (max-width:540px){.entry-related-inner-content{padding:var(--global-sm-spacing) var(--global-xs-spacing)}}@media screen and (min-width:1025px){.content-width-narrow .entry-related-inner-content{padding-left:0;padding-right:0}}.entry-related-inner-content .grid-cols{display:grid}.splide.splide-initial .splide__list.grid-cols{display:-webkit-box;display:-ms-flexbox;display:flex;grid-gap:0;gap:0} -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-textarea.php: -------------------------------------------------------------------------------- 1 | json['default'] = $this->default; 39 | } 40 | /** 41 | * Empty Render Function to prevent errors. 42 | */ 43 | public function render_content() { 44 | } 45 | } 46 | $wp_customize->register_control_type( 'Base_Control_Textarea' ); 47 | -------------------------------------------------------------------------------- /tutor/archive-course.php: -------------------------------------------------------------------------------- 1 | tutor_custom_header(); 14 | 15 | do_action('tutor_course/archive/before/wrap'); 16 | 17 | if ( isset( $_GET['course_filter'] ) ) { 18 | $filter = (new \Tutor\Course_Filter(false))->load_listing( $_GET, true ); 19 | query_posts( $filter ); 20 | } 21 | 22 | // Load the 23 | tutor_load_template('archive-course-init', array_merge($_GET, array( 24 | 'course_filter' => (bool) tutor_utils()->get_option('course_archive_filter', false), 25 | 'supported_filters' => tutor_utils()->get_option('supported_course_filters', array()), 26 | 'loop_content_only' => false 27 | ))); 28 | 29 | do_action('tutor_course/archive/after/wrap'); 30 | 31 | tutor_utils()->tutor_custom_footer(); 32 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-focus-button.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 39 | } 40 | /** 41 | * Empty Render Function to prevent errors. 42 | */ 43 | public function render_content() { 44 | } 45 | } 46 | $wp_customize->register_control_type( 'Base_Control_Focus_Button' ); 47 | -------------------------------------------------------------------------------- /inc/dashboard/react/src/help.js: -------------------------------------------------------------------------------- 1 | /** 2 | * WordPress dependencies 3 | */ 4 | import { __ } from '@wordpress/i18n'; 5 | const { Fragment } = wp.element; 6 | const { withFilters } = wp.components; 7 | 8 | export const HelpTab = () => { 9 | return ( 10 |
11 |

{ __( 'Welcome to Avanam!', 'avanam' ) }

12 |

{ __( 'You are going to love working with this theme! View the video below to get started with our video tutorials or click the view knowledge base button below to see all the documentation.', 'avanam' ) }

13 |
14 | 15 |
16 | { __( 'Video Tutorials', 'avanam' ) }{ __( 'View Knowledge Base', 'avanam' ) } 17 |
18 | ); 19 | }; 20 | 21 | export default withFilters( 'base_theme_help' )( HelpTab ); -------------------------------------------------------------------------------- /functions.php: -------------------------------------------------------------------------------- 1 | array( 16 | 'control_type' => 'base_switch_control', 17 | 'sanitize' => 'base_sanitize_toggle', 18 | 'section' => 'general_comments', 19 | 'default' => webapp()->default( 'comment_form_before_list' ), 20 | 'label' => esc_html__( 'Move Comments input above comment list.', 'avanam' ), 21 | 'transport' => 'refresh', 22 | ), 23 | 'comment_form_remove_web' => array( 24 | 'control_type' => 'base_switch_control', 25 | 'sanitize' => 'base_sanitize_toggle', 26 | 'section' => 'general_comments', 27 | 'default' => webapp()->default( 'comment_form_remove_web' ), 28 | 'label' => esc_html__( 'Remove Comments Website field.', 'avanam' ), 29 | 'transport' => 'refresh', 30 | ), 31 | ) 32 | ); 33 | -------------------------------------------------------------------------------- /inc/customizer/custom-controls/class-base-control-blank.php: -------------------------------------------------------------------------------- 1 | label ) ) : 31 | ?> 32 | label); // phpcs:ignore ?> 33 | description ) ) : 36 | ?> 37 | description); // phpcs:ignore ?> 38 | 41 | json['input_attrs'] = $this->input_attrs; 39 | } 40 | /** 41 | * Empty Render Function to prevent errors. 42 | */ 43 | public function render_content() { 44 | } 45 | } 46 | $wp_customize->register_control_type( 'Base_Control_Available' ); 47 | -------------------------------------------------------------------------------- /500.php: -------------------------------------------------------------------------------- 1 | print_styles( 'base-content' ); 19 | /** 20 | * Hook for Hero Section 21 | */ 22 | do_action( 'base_hero_header' ); 23 | 24 | ?> 25 |
26 |
27 |
28 | 40 |
41 | 44 |
45 |
46 | json['input_attrs'] = $this->input_attrs; 46 | } 47 | /** 48 | * Empty Render Function to prevent errors. 49 | */ 50 | public function render_content() { 51 | } 52 | } 53 | $wp_customize->register_control_type( 'Base_Control_Tab' ); 54 | -------------------------------------------------------------------------------- /inc/dashboard/react/src/changelog-item.js: -------------------------------------------------------------------------------- 1 | /** 2 | * WordPress dependencies 3 | */ 4 | import { __ } from '@wordpress/i18n'; 5 | const { Fragment } = wp.element; 6 | const { withFilters } = wp.components; 7 | 8 | export const ChangelogItem = ( version ) => { 9 | return ( 10 |
11 |

{ version.item.head }

12 | { version.item.add && ( 13 | 14 | { version.item.add.map( ( adds, index ) => { 15 | return
{ adds }
; 16 | } ) } 17 |
18 | ) } 19 | { version.item.update && ( 20 | 21 | { version.item.update.map( ( updates, index ) => { 22 | return
{ updates }
; 23 | } ) } 24 |
25 | ) } 26 | { version.item.fix && ( 27 | 28 | { version.item.fix.map( ( fixes, index ) => { 29 | return
{ fixes }
; 30 | } ) } 31 |
32 | ) } 33 |
34 | ); 35 | }; 36 | 37 | export default withFilters( 'base_theme_changelog' )( ChangelogItem ); -------------------------------------------------------------------------------- /assets/js/lightbox-init.min.js: -------------------------------------------------------------------------------- 1 | !function(){var i={checkImage:function(e){return/(png|jpg|jpeg|gif|tiff|bmp|webp)$/.test(e.getAttribute("href").toLowerCase().split("?")[0].split("#")[0])},findImages:function(){var e=document.querySelectorAll("a[href]:not(.bt-no-lightbox):not(.custom-link):not(.kb-gallery-item-link):not(.bt-core-gallery-lightbox)");if(e.length&&e)for(var t=0;t 12 |

13 | 14 |

15 | 18 |

19 | 20 |

21 | 24 |

25 | 26 |

27 | 30 |

31 | ' . get_search_query() . '' 36 | ); 37 | ?> 38 |

39 | ', '' ); 42 | } 43 | -------------------------------------------------------------------------------- /template-parts/content/archive_header.php: -------------------------------------------------------------------------------- 1 | taxonomy ); 15 | if ( is_object( $current_tax ) && property_exists( $current_tax, 'object_type' ) ) { 16 | $post_types = $current_tax->object_type; 17 | $slug = $post_types[0]; 18 | } 19 | } 20 | } 21 | ?> 22 |
23 | 34 |
35 | -------------------------------------------------------------------------------- /offline.php: -------------------------------------------------------------------------------- 1 | print_styles( 'base-content' ); 21 | /** 22 | * Hook for Hero Section 23 | */ 24 | do_action( 'base_hero_header' ); 25 | 26 | ?> 27 |
28 |
29 |
30 | 42 |
43 | 46 |
47 |
48 | 21 | { 25 | this.updateValues( value ); 26 | } } 27 | /> 28 | 29 | ); 30 | } 31 | 32 | updateValues(value) { 33 | this.setState( { value: value } ); 34 | this.props.control.setting.set( value ); 35 | } 36 | } 37 | 38 | TextComponent.propTypes = { 39 | control: PropTypes.object.isRequired 40 | }; 41 | 42 | export default TextComponent; 43 | -------------------------------------------------------------------------------- /comments.php: -------------------------------------------------------------------------------- 1 | print_styles( 'base-comments' ); 28 | ?> 29 |
30 | 43 |
44 | -------------------------------------------------------------------------------- /inc/template-functions/title-functions.php: -------------------------------------------------------------------------------- 1 | show_hero_title() ) { 19 | if ( is_singular( get_post_type() ) ) { 20 | get_template_part( 'template-parts/content/entry_hero' ); 21 | } else { 22 | get_template_part( 'template-parts/content/archive_hero' ); 23 | } 24 | } 25 | } 26 | /** 27 | * Page Title area 28 | * 29 | * @param string $item_type the single post type. 30 | * @param string $area the title area. 31 | */ 32 | function base_entry_header( $item_type = 'post', $area = 'normal' ) { 33 | webapp()->render_title( $item_type, $area ); 34 | } 35 | 36 | /** 37 | * Archive Title area 38 | * 39 | * @param string $item_type the single post type. 40 | * @param string $area the title area. 41 | */ 42 | function base_entry_archive_header( $item_type = 'post_archive', $area = 'normal' ) { 43 | webapp()->render_archive_title( $item_type, $area ); 44 | } 45 | -------------------------------------------------------------------------------- /bbpress/loop-topics.php: -------------------------------------------------------------------------------- 1 | 14 | 15 |
    16 |
  • 17 |
      18 |
    • 19 |
    • 20 |
    21 |
  • 22 | 23 |
  • 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
  • 32 | 33 | 40 |
41 | 42 | json['default'] = $this->default; 46 | $this->json['input_attrs'] = $this->input_attrs; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Color' ); -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-row.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Row' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-range.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Range' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/src/textarea/textarea-component.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | 3 | import { __ } from '@wordpress/i18n'; 4 | const { Component } = wp.element; 5 | const { TextareaControl } = wp.components; 6 | 7 | class TextareaComponent extends Component { 8 | constructor(props) { 9 | super( props ); 10 | let value = props.control.setting.get(); 11 | this.state = { 12 | value 13 | }; 14 | this.defaultValue = props.control.params.default || ''; 15 | this.updateValues = this.updateValues.bind( this ); 16 | } 17 | 18 | render() { 19 | return ( 20 |
21 | { 25 | this.updateValues( value ); 26 | } } 27 | /> 28 |
29 | ); 30 | } 31 | 32 | updateValues(value) { 33 | this.setState( { value: value } ); 34 | this.props.control.setting.set( value ); 35 | } 36 | } 37 | 38 | TextareaComponent.propTypes = { 39 | control: PropTypes.object.isRequired 40 | }; 41 | 42 | export default TextareaComponent; 43 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-border.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Border' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-select.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Select' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-shadow.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Shadow' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-social.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Social' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-sorter.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Sorter' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-switch.php: -------------------------------------------------------------------------------- 1 | json['default'] = $this->default; 46 | $this->json['input_attrs'] = $this->input_attrs; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Switch' ); 55 | -------------------------------------------------------------------------------- /assets/js/shop-spinner.min.js: -------------------------------------------------------------------------------- 1 | jQuery(function(p){p('div.quantity:not(.spinners-added):has(input[type="number"])').addClass("spinners-added").append('').prepend(''),p(document).on("updated_cart_totals",function(){p('div.quantity:not(.spinners-added):has(input[type="number"])').addClass("spinners-added").append('').prepend('')}),p("body").on("quick-view-displayed",function(){p('div.quantity:not(.spinners-added):has(input[type="number"])').addClass("spinners-added").append('').prepend('')}),p(document).on("click",".plus, .minus",function(){var t=p(this).closest(".quantity").find(".qty"),a=parseFloat(t.val()),n=parseFloat(t.attr("max")),s=parseFloat(t.attr("min")),e=t.attr("step");a&&""!==a&&"NaN"!==a||(a=0),""!==n&&"NaN"!==n||(n=""),""!==s&&"NaN"!==s||(s=0),"any"!==e&&""!==e&&void 0!==e&&"NaN"!==parseFloat(e)||(e=1),p(this).is(".plus")?n&&(n==a||n .base-builder-item-icon { 11 | margin-right: 0; 12 | margin-left: -10px; } 13 | 14 | .rtl .base-builder-item > .base-builder-item-icon.base-move-icon { 15 | margin-right: -10px; 16 | margin-left: 0; } 17 | 18 | .rtl .base-builder-item > .base-builder-item-icon svg.dashicons-arrow-right-alt2 { 19 | transform: rotate(180deg); } 20 | 21 | .rtl .base-builder-areas.popup-vertical-group { 22 | padding-left: 20px; 23 | padding-right: 0; } 24 | 25 | .rtl #customize-theme-controls .add-new-menu-item, #customize-theme-controls .add-new-widget { 26 | float: right; } 27 | 28 | .rtl .footer-column-row .base-builder-area:last-child { 29 | border-right: 1px dashed #A0AEC0; } 30 | 31 | .rtl .footer-column-row .base-builder-area:first-child { 32 | border-right: 0; } 33 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-borders.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Borders' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-contact.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Contact' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-measure.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Measure' ); 55 | -------------------------------------------------------------------------------- /template-parts/content/entry_summary.php: -------------------------------------------------------------------------------- 1 | option( $slug . '_archive_element_excerpt' ); 15 | if ( isset( $excerpt_element ) && is_array( $excerpt_element ) && true === $excerpt_element['enabled'] ) { 16 | ?> 17 |
18 | sub_option( $slug . '_archive_element_excerpt', 'fullContent' ) ) { 20 | global $more; $more = 0; 21 | the_content( 22 | sprintf( 23 | wp_kses( 24 | /* translators: %s: Name of current post. Only visible to screen readers */ 25 | __( 'Read More "%s"', 'avanam' ), 26 | array( 27 | 'span' => array( 28 | 'class' => array(), 29 | ), 30 | ) 31 | ), 32 | get_the_title() 33 | ) 34 | ); 35 | } else { 36 | the_excerpt(); 37 | } 38 | ?> 39 |
40 | json['default'] = $this->default; 46 | $this->json['input_attrs'] = $this->input_attrs; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Color_Link' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/css/rtl-base-customizer.scss: -------------------------------------------------------------------------------- 1 | // Builder. 2 | @media (min-width: 1660px) { 3 | .rtl #customize-theme-controls #sub-accordion-section-base_customizer_header_builder, .rtl #customize-theme-controls #sub-accordion-section-base_customizer_footer_builder { 4 | right: 18%; 5 | left: 0; 6 | } 7 | } 8 | .rtl .customize-control-base_blank_control .base-builder-tab-toggle { 9 | left:10px; 10 | right:auto; 11 | } 12 | .rtl .base-builder-item>.base-builder-item-icon { 13 | margin-right: 0; 14 | margin-left: -10px; 15 | } 16 | .rtl .base-builder-item>.base-builder-item-icon.base-move-icon { 17 | margin-right: -10px; 18 | margin-left: 0; 19 | } 20 | .rtl .base-builder-item>.base-builder-item-icon svg.dashicons-arrow-right-alt2 { 21 | transform: rotate(180deg); 22 | } 23 | .rtl .base-builder-areas.popup-vertical-group { 24 | padding-left: 20px; 25 | padding-right: 0; 26 | } 27 | .rtl #customize-theme-controls .add-new-menu-item, #customize-theme-controls .add-new-widget { 28 | float: right; 29 | } 30 | .rtl .footer-column-row .base-builder-area:last-child { 31 | border-right: 1px dashed #A0AEC0; 32 | } 33 | .rtl .footer-column-row .base-builder-area:first-child { 34 | border-right: 0; 35 | } -------------------------------------------------------------------------------- /template-parts/content/entry_actions.php: -------------------------------------------------------------------------------- 1 | option( $slug . '_archive_element_readmore', array( 12 | 'enabled' => true, 13 | 'label' => esc_html__( 'Read More', 'avanam' ), 14 | ) ); 15 | if ( isset( $readmore_element ) && is_array( $readmore_element ) && true === $readmore_element['enabled'] ) { 16 | ?> 17 |
18 | 34 |
35 | json['default'] = $this->default; 46 | $this->json['input_attrs'] = $this->input_attrs; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Color_Palette' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-radio-icon.php: -------------------------------------------------------------------------------- 1 | json['default'] = $this->default; 46 | $this->json['input_attrs'] = $this->input_attrs; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Radio_Icon' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-typography.php: -------------------------------------------------------------------------------- 1 | json['input_attrs'] = $this->input_attrs; 46 | $this->json['default'] = $this->default; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Typography' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-check-icon.php: -------------------------------------------------------------------------------- 1 | json['default'] = $this->default; 46 | $this->json['input_attrs'] = $this->input_attrs; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Check_Icon' ); 55 | -------------------------------------------------------------------------------- /template-parts/content/comments-list.php: -------------------------------------------------------------------------------- 1 | 11 | '; 16 | $comment_count = (int) get_comments_number(); 17 | if ( 1 === $comment_count ) { 18 | $title_output .= esc_html__( 'One Comment', 'avanam' ); 19 | } else { 20 | $title_output .= sprintf( 21 | /* translators: 1: comment count number */ 22 | esc_html( _nx( '%1$s Comment', '%1$s Comments', $comment_count, 'comments title', 'avanam' ) ), 23 | // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 24 | number_format_i18n( $comment_count ) 25 | ); 26 | } 27 | $title_output .= ''; 28 | echo wp_kses_post( apply_filters( 'base_single_post_comments_title', $title_output ) ); 29 | 30 | the_comments_navigation(); 31 | 32 | webapp()->the_comments(); 33 | 34 | if ( ! comments_open() ) { 35 | ?> 36 |

37 | json['default'] = $this->default; 46 | $this->json['input_attrs'] = $this->input_attrs; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Editor' ); 55 | -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-builder.php: -------------------------------------------------------------------------------- 1 | json['default'] = $this->default; 46 | $this->json['input_attrs'] = $this->input_attrs; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Builder' ); 55 | -------------------------------------------------------------------------------- /assets/css/src/sidebar.scss: -------------------------------------------------------------------------------- 1 | @import "_custom-properties.scss"; 2 | /*-------------------------------------------------------------- 3 | # Sidebar 4 | --------------------------------------------------------------*/ 5 | 6 | .primary-sidebar { 7 | padding-top: 1.5rem; 8 | padding-bottom: 1.5rem; 9 | margin-left: auto; 10 | margin-right: auto; 11 | } 12 | @media screen and (min-width: $tablet-plus-query) { 13 | 14 | .primary-sidebar { 15 | padding-left: 0; 16 | padding-right: 0; 17 | } 18 | 19 | } 20 | 21 | @media screen and (min-width: $laptop-plus-query) { 22 | 23 | .primary-sidebar { 24 | padding: 0; 25 | margin: 0; 26 | } 27 | .has-sticky-sidebar #wrapper, .has-sticky-sidebar-widget #wrapper { 28 | overflow:visible; 29 | } 30 | .has-sticky-sidebar .sidebar-inner-wrap, .has-sticky-sidebar-widget .primary-sidebar .widget:last-child { 31 | position:sticky; 32 | top:20px; 33 | overflow-y: auto; 34 | } 35 | .has-sticky-sidebar-widget .sidebar-inner-wrap { 36 | height: 100%; 37 | } 38 | } 39 | @media screen and (max-width: $tablet-minus-query) { 40 | 41 | .has-sticky-sidebar .sidebar-inner-wrap, .has-sticky-sidebar-widget .primary-sidebar .widget:last-child { 42 | max-height: none !important; 43 | overflow-y: auto; 44 | } 45 | } -------------------------------------------------------------------------------- /inc/customizer/react/class-base-control-multi-radio-icon.php: -------------------------------------------------------------------------------- 1 | json['default'] = $this->default; 46 | $this->json['input_attrs'] = $this->input_attrs; 47 | } 48 | /** 49 | * Empty Render Function to prevent errors. 50 | */ 51 | public function render_content() { 52 | } 53 | } 54 | $wp_customize->register_control_type( 'Base_Control_Multi_Radio_Icon' ); 55 | -------------------------------------------------------------------------------- /inc/components/restrict_content_pro/component.php: -------------------------------------------------------------------------------- 1 | 15 |
16 |
17 |
18 | 24 |
25 | 40 |
41 | 47 |
48 | 51 |
52 |
53 | -------------------------------------------------------------------------------- /template-parts/content/entry_header.php: -------------------------------------------------------------------------------- 1 | sub_option( get_post_type() . '_title_align', 'desktop' ) ? webapp()->sub_option( get_post_type() . '_title_align', 'desktop' ) : 'inherit' ); 15 | $classes[] = 'title-tablet-align-' . ( webapp()->sub_option( get_post_type() . '_title_align', 'tablet' ) ? webapp()->sub_option( get_post_type() . '_title_align', 'tablet' ) : 'inherit' ); 16 | $classes[] = 'title-mobile-align-' . ( webapp()->sub_option( get_post_type() . '_title_align', 'mobile' ) ? webapp()->sub_option( get_post_type() . '_title_align', 'mobile' ) : 'inherit' ); 17 | } 18 | ?> 19 |
20 | 31 |
32 | -------------------------------------------------------------------------------- /template-parts/content/error.php: -------------------------------------------------------------------------------- 1 | 11 |
12 |
13 | 16 |

17 | Get started here.', 'avanam' ), 22 | array( 23 | 'a' => array( 24 | 'href' => array(), 25 | ), 26 | ) 27 | ), 28 | esc_url( admin_url( 'post-new.php' ) ) 29 | ); 30 | ?> 31 |

32 | 35 |

36 | 37 |

38 | 41 |

42 | 43 |

44 | 49 |
50 |
51 | -------------------------------------------------------------------------------- /template-parts/content/archive_hero.php: -------------------------------------------------------------------------------- 1 | taxonomy ); 15 | if ( property_exists( $current_tax, 'object_type' ) ) { 16 | $post_types = $current_tax->object_type; 17 | $slug = $post_types[0]; 18 | } 19 | } 20 | } 21 | ?> 22 | 39 | -------------------------------------------------------------------------------- /assets/css/author-box.min.css: -------------------------------------------------------------------------------- 1 | .entry-author-profile{position:relative;padding-left:100px}.entry-author{margin:var(--global-lg-spacing) auto}.entry-author-avatar{position:absolute;left:0}.entry-author-name{font-size:120%}.entry-author-name a{color:inherit;text-decoration:none}.entry-author-profile p{margin:1em 0}.entry-author-profile p.entry-author-occupation{margin:0;font-size:90%}.entry-author-follow{margin-top:1em}.entry-author-style-center{padding-bottom:var(--global-md-spacing);border-bottom:1px solid var(--global-gray-500)}.entry-author-style-center .entry-author-profile{text-align:center;padding-left:0}.entry-author-style-center .entry-author-avatar{position:relative;margin-bottom:.5em}.entry-author-style-center .entry-author-avatar img{margin:0 auto;border-radius:50%;z-index:2;position:relative;-webkit-box-sizing:content-box;box-sizing:content-box}.entry-author-style-center .entry-author-avatar:before{left:0}.entry-author-style-center .entry-author-avatar:after,.entry-author-style-center .entry-author-avatar:before{content:"";position:absolute;width:calc(50% - 60px);top:50%;margin-top:-1px;height:1px;background:var(--global-gray-500)}.entry-author-style-center .entry-author-avatar:after{right:0}@media screen and (min-width:767px){.entry-author-style-center .entry-author-profile .entry-author-description{max-width:70%;margin-left:auto;margin-right:auto}} -------------------------------------------------------------------------------- /assets/css/givewp.min.css: -------------------------------------------------------------------------------- 1 | .single-give_forms #primary .give_forms{margin:0;max-width:none}.single-give_forms #primary .give_forms .entry-content-wrap:after{clear:both;display:table;content:""}#primary form[id*=give-form] .give-donation-amount #give-amount,#primary form[id*=give-form] .give-donation-amount #give-amount-text{background-color:var(--global-palette9);border-color:var(--global-gray-400)}#primary form[id*=give-form] .give-donation-amount .give-currency-symbol{background-color:var(--global-palette8);border-color:var(--global-gray-400);color:var(--global-palette4)}#primary #give-donation-level-button-wrap .give-btn{background:var(--global-palette7);border:1px solid var(--global-gray-400);color:var(--global-palette4)}#primary #give-recurring-form>.give-btn,#primary form.give-form>.give-btn,#primary form[id*=give-form]>.give-btn{background:var(--global-palette-btn-bg);color:var(--global-palette-btn);padding:.4em 1em;border:0;line-height:1.6}#primary #give-recurring-form>.give-btn:hover,#primary form.give-form>.give-btn:hover,#primary form[id*=give-form]>.give-btn:hover{color:var(--global-palette-btn-hover);background:var(--global-palette-btn-bg-hover)}#primary .give-wrap .give-card{background-color:var(--global-palette9);border-color:var(--global-gray-400)}#primary .give-donor__name,#primary .give-donor__timestamp{color:var(--global-palette4)!important} -------------------------------------------------------------------------------- /inc/components/custom_logo/component.php: -------------------------------------------------------------------------------- 1 | 80, 48 | 'width' => 200, 49 | 'flex-width' => true, 50 | 'flex-height' => true, 51 | ) 52 | ) 53 | ); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /inc/components/beaver/component.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/customizer/react/src/switch/switch-component.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | 3 | import { __ } from '@wordpress/i18n'; 4 | const { Component } = wp.element; 5 | const { ToggleControl } = wp.components; 6 | 7 | class SwitchComponent extends Component { 8 | constructor(props) { 9 | super( props ); 10 | let value = props.control.setting.get(); 11 | this.state = { 12 | value 13 | }; 14 | this.defaultValue = props.control.params.default || ''; 15 | this.updateValues = this.updateValues.bind( this ); 16 | } 17 | 18 | render() { 19 | //console.log( this.props.control.params ); 20 | return ( 21 |
22 | { 27 | this.updateValues( value ); 28 | } } 29 | /> 30 |
31 | ); 32 | } 33 | 34 | updateValues(value) { 35 | this.setState( { value: value } ); 36 | this.props.control.setting.set( value ); 37 | } 38 | } 39 | 40 | SwitchComponent.propTypes = { 41 | control: PropTypes.object.isRequired 42 | }; 43 | 44 | export default SwitchComponent; 45 | -------------------------------------------------------------------------------- /assets/js/src/ie.js: -------------------------------------------------------------------------------- 1 | /* global cssVars */ 2 | /** 3 | * File ie.js. 4 | * 5 | * Handles running the css var ponyfill 6 | */ 7 | (function() { 8 | 'use strict'; 9 | window.baseIE = { 10 | /** 11 | * Initiate the script to process all 12 | */ 13 | initAll: function( element ) { 14 | cssVars({ 15 | // Targets 16 | rootElement : document, 17 | shadowDOM : false, 18 | 19 | // Sources 20 | include : 'link[rel=stylesheet],style', 21 | exclude : '', 22 | variables : {}, 23 | 24 | // Options 25 | onlyLegacy : true, 26 | preserveStatic: true, 27 | preserveVars : false, 28 | silent : false, 29 | updateDOM : true, 30 | updateURLs : true, 31 | watch : false, 32 | }); 33 | }, 34 | // Initiate the menus when the DOM loads. 35 | init: function() { 36 | if ( typeof cssVars == 'function' ) { 37 | window.baseIE.initAll(); 38 | } else { 39 | var initLoadDelay = setInterval( function(){ if ( typeof cssVars == 'function' ) { window.baseIE.initAll(); clearInterval(initLoadDelay); } }, 200 ); 40 | } 41 | } 42 | } 43 | if ( 'loading' === document.readyState ) { 44 | // The DOM has not yet been loaded. 45 | document.addEventListener( 'DOMContentLoaded', window.baseIE.init ); 46 | } else { 47 | // The DOM has already been loaded. 48 | window.baseIE.init(); 49 | } 50 | })(); -------------------------------------------------------------------------------- /inc/customizer/options/general-image-options.php: -------------------------------------------------------------------------------- 1 | array( 16 | 'control_type' => 'base_range_control', 17 | 'section' => 'general_image', 18 | 'label' => esc_html__( 'Border Radius', 'avanam' ), 19 | 'live_method' => array( 20 | array( 21 | 'type' => 'css', 22 | 'selector' => '.entry-content :where(.wp-block-image) img, .entry-content :where(.wp-block-base-image) img', 23 | 'property' => 'border-radius', 24 | 'pattern' => '$', 25 | 'key' => 'size', 26 | ), 27 | ), 28 | 'default' => webapp()->default( 'image_border_radius' ), 29 | 'input_attrs' => array( 30 | 'min' => array( 31 | 'px' => 0, 32 | 'em' => 0, 33 | 'rem' => 0, 34 | '%' => 0, 35 | ), 36 | 'max' => array( 37 | 'px' => 100, 38 | 'em' => 12, 39 | 'rem' => 12, 40 | '%' => 100, 41 | ), 42 | 'step' => array( 43 | 'px' => 1, 44 | 'em' => 0.01, 45 | 'rem' => 0.01, 46 | '%' => 1, 47 | ), 48 | 'units' => array( 'px', 'em', 'rem', '%' ), 49 | 'responsive' => true, 50 | ), 51 | ), 52 | ) 53 | ); 54 | 55 | -------------------------------------------------------------------------------- /template-parts/archive-title/hkb-searchbox.php: -------------------------------------------------------------------------------- 1 | 16 | 26 | -------------------------------------------------------------------------------- /assets/css/src/_elements.scss: -------------------------------------------------------------------------------- 1 | @import "_custom-properties.scss"; 2 | 3 | /*-------------------------------------------------------------- 4 | # Elements 5 | --------------------------------------------------------------*/ 6 | html { 7 | box-sizing: border-box; 8 | } 9 | 10 | /** 11 | * Inherit box-sizing to make it easier to change the property for 12 | * components that leverage other behavior; see 13 | * http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ 14 | */ 15 | *, 16 | *::before, 17 | *::after { 18 | box-sizing: inherit; 19 | } 20 | 21 | hr { 22 | height: 0; 23 | border: 0; 24 | border-bottom: 2px solid var(--global-gray-400); 25 | } 26 | 27 | ul, 28 | ol { 29 | margin: 0 0 1.5em 1.5em; 30 | padding: 0; 31 | &.aligncenter { 32 | list-style: none; 33 | } 34 | } 35 | ul { 36 | list-style: disc; 37 | } 38 | 39 | ol { 40 | list-style: decimal; 41 | } 42 | 43 | li > ul, 44 | li > ol { 45 | margin-bottom: 0; 46 | margin-left: 1.5em; 47 | } 48 | 49 | dt { 50 | font-weight: 700; 51 | } 52 | 53 | dd { 54 | margin: 0 1.5em 1.5em; 55 | } 56 | 57 | /* stylelint-disable */ 58 | img { 59 | display: block; 60 | height: auto; 61 | max-width: 100%; 62 | } 63 | /* stylelint-enable */ 64 | 65 | /* Extra wide images within figure tags don't overflow the content area. */ 66 | figure { 67 | margin: 0.5em 0; 68 | } 69 | 70 | table { 71 | margin: 0 0 1.5em; 72 | width: 100%; 73 | } -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | section and everything up until
6 | * 7 | * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials 8 | * 9 | * @package Base 10 | */ 11 | 12 | namespace Base; 13 | 14 | if ( ! defined( 'ABSPATH' ) ) { 15 | exit; 16 | } 17 | 18 | ?> 19 | 20 | class="no-js" print_microdata( 'html' ); ?>> 21 | 22 | 23 | 24 | 25 | 26 | 27 | > 28 | 29 | 35 |
36 | 53 | 54 |
55 | 61 | -------------------------------------------------------------------------------- /assets/css/elementor-checkout.min.css: -------------------------------------------------------------------------------- 1 | .elementor-widget-woocommerce-checkout-page .woocommerce-checkout .col2-set{float:none;width:100%;padding:0}.elementor-widget-woocommerce-checkout-page .woocommerce-checkout #order_review_heading{float:none;width:auto;padding:0;margin-bottom:30px;margin-bottom:var(--sections-title-spacing,30px)}.elementor-widget-woocommerce-checkout-page .woocommerce-checkout .woocommerce-checkout-review-order{float:none;width:auto;padding:0}@media (min-width:1025px){form.woocommerce-checkout .e-checkout__container .checkout-order-review,form.woocommerce-checkout .e-checkout__container .col2-set,form.woocommerce-checkout .e-checkout__container .woocommerce-checkout-review-order{position:static;top:20px;width:100%;float:none}}.woocommerce-checkout form.checkout .e-checkout__container .woocommerce-account-fields div.create-account,.woocommerce-checkout form.checkout .e-checkout__container .woocommerce-billing-fields__field-wrapper{padding:0;margin-bottom:0;border:none;border-radius:0}form.woocommerce-checkout .e-checkout__order_review .checkout-order-review .woocommerce-checkout-review-order{padding:0;border:none;background:transparent;border-radius:0;margin-bottom:30px}.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout #payment{border:none!important;padding:0!important}.elementor-widget-woocommerce-checkout-page .woocommerce-shipping-totals td,.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table .cart_item td.product-name{max-width:100%!important} -------------------------------------------------------------------------------- /assets/css/src/related-posts.scss: -------------------------------------------------------------------------------- 1 | @import "_custom-properties.scss"; 2 | .entry-related { 3 | margin-top: var(--global-lg-spacing); 4 | margin-bottom: var(--global-lg-spacing); 5 | background: var(--global-palette7); 6 | } 7 | .content-wrap .entry-related:last-child { 8 | margin-bottom: 0; 9 | } 10 | .entry-related-carousel { 11 | .entry-summary,.entry-footer,.entry-taxonomies { 12 | display: none; 13 | } 14 | h3.entry-title { 15 | font-size: 20px; 16 | } 17 | } 18 | h2.entry-related-title { 19 | margin-bottom: 1.5rem; 20 | } 21 | .wp-site-blocks .entry-related-inner { 22 | display: block; 23 | } 24 | 25 | .has-sidebar .wp-site-blocks .entry-related-inner { 26 | padding: 0; 27 | } 28 | .entry-related-inner-content { 29 | padding-top: var(--global-xl-spacing); 30 | padding-bottom: var(--global-xl-spacing); 31 | padding-left: var(--global-sm-spacing); 32 | padding-right: var(--global-sm-spacing); 33 | @media screen and (max-width: $landscape-phone-minus-query) { 34 | padding-top: var(--global-sm-spacing); 35 | padding-bottom: var(--global-sm-spacing); 36 | padding-left: var(--global-xs-spacing); 37 | padding-right: var(--global-xs-spacing); 38 | } 39 | } 40 | @media screen and (min-width: $laptop-plus-query) { 41 | .content-width-narrow .entry-related-inner-content { 42 | padding-left: 0; 43 | padding-right: 0; 44 | } 45 | } 46 | .entry-related-inner-content .grid-cols { 47 | display: grid; 48 | } 49 | .splide.splide-initial .splide__list.grid-cols { 50 | display: flex; 51 | gap:0; 52 | } -------------------------------------------------------------------------------- /assets/css/src/givewp.scss: -------------------------------------------------------------------------------- 1 | @import "_custom-properties.scss"; 2 | .single-give_forms #primary { 3 | .give_forms { 4 | margin:0; 5 | max-width: none; 6 | .entry-content-wrap:after { 7 | clear: both; 8 | display: table; 9 | content: ''; 10 | } 11 | } 12 | } 13 | #primary { 14 | form[id*=give-form] .give-donation-amount #give-amount, form[id*=give-form] .give-donation-amount #give-amount-text { 15 | background-color: var(--global-palette9); 16 | border-color: var(--global-gray-400); 17 | } 18 | form[id*=give-form] .give-donation-amount .give-currency-symbol { 19 | background-color: var(--global-palette8); 20 | border-color: var(--global-gray-400); 21 | color: var(--global-palette4); 22 | } 23 | #give-donation-level-button-wrap .give-btn { 24 | background: var(--global-palette7); 25 | border: 1px solid var(--global-gray-400); 26 | color: var(--global-palette4); 27 | } 28 | #give-recurring-form, form.give-form, form[id*=give-form] { 29 | > .give-btn { 30 | background: var(--global-palette-btn-bg); 31 | color: var(--global-palette-btn); 32 | padding: 0.4em 1em; 33 | border: 0; 34 | line-height: 1.6; 35 | &:hover { 36 | color: var(--global-palette-btn-hover); 37 | background: var(--global-palette-btn-bg-hover); 38 | } 39 | } 40 | } 41 | .give-wrap .give-card { 42 | background-color: var(--global-palette9); 43 | border-color: var(--global-gray-400); 44 | } 45 | .give-donor__name, .give-donor__timestamp { 46 | color: var(--global-palette4) !important; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /tribe/events/single-event-blocks.php: -------------------------------------------------------------------------------- 1 | get( 'post_id' ); 19 | 20 | $is_recurring = ''; 21 | 22 | if ( ! empty( $event_id ) && function_exists( 'tribe_is_recurring_event' ) ) { 23 | $is_recurring = tribe_is_recurring_event( $event_id ); 24 | } 25 | $classes = apply_filters( 'tribe_default_events_block_single_classes', array( 'tribe-events-single', 'tribe-blocks-editor' ) ); 26 | ?> 27 | 28 |
29 |
30 | template( 'single-event/notices' ); ?> 31 | 32 | template( 'single-event/back-link' ); ?> 33 | template( 'single-event/title' ); ?> 34 | 35 | template( 'single-event/recurring-description' ); ?> 36 | 37 | template( 'single-event/content' ); ?> 38 | template( 'single-event/comments' ); ?> 39 | template( 'single-event/footer' ); ?> 40 |
41 |
42 | -------------------------------------------------------------------------------- /template-parts/content/page_header.php: -------------------------------------------------------------------------------- 1 | 12 | 17 | 20 | 25 | 28 | 33 | 36 | 47 | 50 | 56 | 7 | 8 | 9 | 10 | 11 | ; 12 | /** 13 | * Internal block libraries 14 | */ 15 | import map from 'lodash/map'; 16 | 17 | export const ProModules = () => { 18 | const proLinks = []; 19 | return ( 20 | <> 21 | {/*

{ __( 'Do more with the Avanam Pro Addon', 'avanam' ) }

22 |
23 | { map( proLinks, ( link ) => { 24 | return ( 25 |
26 | { lockIcon } 27 |

{ link.title }

28 |

{ link.description }

29 | 34 |
35 | ); 36 | } ) } 37 |
*/} 38 | 39 | ); 40 | }; 41 | 42 | export default withFilters( 'base_theme_pro_modules' )( ProModules ); -------------------------------------------------------------------------------- /inc/customizer/js/generate-google-font-variants.js: -------------------------------------------------------------------------------- 1 | /** 2 | * manually run this file to generate array for google fonts inc/customizer/google-font-variants.php file) 3 | * run the script on a page with a div with class .google-fonts class. 4 | * you'll also need to put in a google webfonts api key. 5 | */ 6 | $.getJSON('https://www.googleapis.com/webfonts/v1/webfonts?key={{API_KEY}}', function(data) { 7 | $.each( data.items, function( index, font ) { 8 | var category = []; 9 | category.push( font.category ); 10 | var variants = font.variants; 11 | var weights = font.variants.slice(); 12 | var styles = ['normal']; 13 | for( var i = 0; i < weights.length; i++){ 14 | if ( weights[i].includes('italic') ) { 15 | weights.splice(i, 1); 16 | } 17 | }; 18 | if ( variants.includes('italic') ) { 19 | styles.push('italic'); 20 | } 21 | $('.google-fonts').append("'" + font.family + "' => array( 'v' => array("); 22 | for(var i = 0; i < variants.length; i++) { 23 | if( 0 === i ) { 24 | $('.google-fonts').append("'" + variants[i] + "'"); 25 | } else { 26 | $('.google-fonts').append(",'" + variants[i] + "'"); 27 | } 28 | } 29 | $('.google-fonts').append(")" + ",'c' => array("); 30 | for(var i = 0; i < category.length; i++) { 31 | if( 0 === i ) { 32 | $('.google-fonts').append("'" + category[i] + "'"); 33 | } else { 34 | $('.google-fonts').append(",'" + category[i] + "'"); 35 | } 36 | } 37 | $('.google-fonts').append(")" + "),"); 38 | }); 39 | }); -------------------------------------------------------------------------------- /template-parts/content/archive.php: -------------------------------------------------------------------------------- 1 | 15 |
16 |
17 |
18 | show_in_content_title() ) { 24 | get_template_part( 'template-parts/content/archive_header' ); 25 | } 26 | if ( have_posts() ) { 27 | ?> 28 |
> 29 | 38 |
39 | 49 |
50 | 53 |
54 |
55 | -------------------------------------------------------------------------------- /inc/components/zoom_recipe_card/component.php: -------------------------------------------------------------------------------- 1 | sub_option( get_post_type() . '_title_align', 'desktop' ) ? webapp()->sub_option( get_post_type() . '_title_align', 'desktop' ) : 'inherit' ); 15 | $classes[] = 'title-tablet-align-' . ( webapp()->sub_option( get_post_type() . '_title_align', 'tablet' ) ? webapp()->sub_option( get_post_type() . '_title_align', 'tablet' ) : 'inherit' ); 16 | $classes[] = 'title-mobile-align-' . ( webapp()->sub_option( get_post_type() . '_title_align', 'mobile' ) ? webapp()->sub_option( get_post_type() . '_title_align', 'mobile' ) : 'inherit' ); 17 | } 18 | ?> 19 | 36 | -------------------------------------------------------------------------------- /assets/css/src/_typography.scss: -------------------------------------------------------------------------------- 1 | @import "_custom-properties.scss"; 2 | 3 | /*-------------------------------------------------------------- 4 | # Typography 5 | --------------------------------------------------------------*/ 6 | h1, 7 | h2, 8 | h3, 9 | h4, 10 | h5, 11 | h6 { 12 | padding:0; 13 | margin: 0; 14 | a { 15 | color: inherit; 16 | text-decoration: none; 17 | } 18 | } 19 | 20 | dfn, 21 | cite, 22 | em, 23 | i { 24 | font-style: italic; 25 | } 26 | 27 | blockquote, 28 | q { 29 | quotes: '“' '”'; 30 | } 31 | 32 | blockquote { 33 | padding-left: 1em; 34 | border-left: 4px solid var( --global-palette4 ); 35 | } 36 | 37 | .entry-content blockquote { 38 | margin: 0 0 var(--global-md-spacing); 39 | } 40 | 41 | blockquote cite, blockquote .wp-block-pullquote__citation { 42 | color: var(--global-palette5); 43 | font-size: 13px; 44 | margin-top: 1em; 45 | position: relative; 46 | font-style: normal; 47 | display: block; 48 | } 49 | 50 | address { 51 | margin: 0 0 1.5em; 52 | } 53 | 54 | pre { 55 | background: var(--global-palette7); 56 | font-family: "Courier 10 Pitch", Courier, monospace; 57 | font-size: 0.9375rem; 58 | line-height: 1.6; 59 | max-width: 100%; 60 | overflow: auto; 61 | padding: 1.5em; 62 | white-space: pre-wrap; 63 | } 64 | 65 | code, 66 | kbd, 67 | tt, 68 | var { 69 | font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 70 | font-size: 0.8rem; 71 | } 72 | 73 | abbr, 74 | acronym { 75 | border-bottom: 1px dotted var(--global-palette4); 76 | cursor: help; 77 | } 78 | 79 | mark, 80 | ins { 81 | text-decoration: none; 82 | } 83 | 84 | big { 85 | font-size: 125%; 86 | } 87 | -------------------------------------------------------------------------------- /inc/customizer/react/src/background/custom-gradient-picker/serializer.js: -------------------------------------------------------------------------------- 1 | /** 2 | * External dependencies 3 | */ 4 | import { compact, get } from 'lodash'; 5 | 6 | export function serializeGradientColor( { type, value } ) { 7 | if ( type === 'literal' || type === 'hex' ) { 8 | return value; 9 | } 10 | return `${ type }(${ value.join( ',' ) })`; 11 | } 12 | 13 | export function serializeGradientPosition( { type, value } ) { 14 | return `${ value }${ type }`; 15 | } 16 | 17 | export function serializeGradientColorStop( { type, value, length } ) { 18 | return `${ serializeGradientColor( { 19 | type, 20 | value, 21 | } ) } ${ serializeGradientPosition( length ) }`; 22 | } 23 | 24 | export function serializeGradientOrientation( orientation ) { 25 | if ( ! orientation || orientation.type !== 'angular' ) { 26 | return; 27 | } 28 | return `${ orientation.value }deg`; 29 | } 30 | 31 | export function serializeGradient( { type, orientation, colorStops } ) { 32 | const serializedOrientation = serializeGradientOrientation( orientation ); 33 | //console.log( colorStops ); 34 | const serializedColorStops = colorStops 35 | .sort( ( colorStop1, colorStop2 ) => { 36 | return ( 37 | get( colorStop1, [ 'length', 'value' ], 0 ) - 38 | get( colorStop2, [ 'length', 'value' ], 0 ) 39 | ); 40 | } ) 41 | .map( serializeGradientColorStop ); 42 | 43 | // console.log(`${ type }(${ compact( [ 44 | // serializedOrientation, 45 | // ...serializedColorStops, 46 | // ] ).join( ',' ) })`); 47 | 48 | 49 | return `${ type }(${ compact( [ 50 | serializedOrientation, 51 | ...serializedColorStops, 52 | ] ).join( ',' ) })`; 53 | } 54 | -------------------------------------------------------------------------------- /template-parts/title/category.php: -------------------------------------------------------------------------------- 1 | ID ); 16 | $wpseo_term = $wpseo_term->get_primary_term(); 17 | $wpseo_term = get_term( $wpseo_term ); 18 | if ( is_wp_error( $wpseo_term ) ) { 19 | $main_term = false; 20 | } else { 21 | $main_term = $wpseo_term; 22 | } 23 | } elseif ( class_exists( 'RankMath' ) ) { 24 | $wpseo_term = get_post_meta( $post->ID, 'rank_math_primary_product_cat', true ); 25 | if ( $wpseo_term ) { 26 | $wpseo_term = get_term( $wpseo_term ); 27 | if ( is_wp_error( $wpseo_term ) ) { 28 | $main_term = false; 29 | } else { 30 | $main_term = $wpseo_term; 31 | } 32 | } else { 33 | $main_term = false; 34 | } 35 | } 36 | if ( false === $main_term ) { 37 | $main_term = ''; 38 | $terms = wp_get_post_terms( 39 | $post->ID, 40 | 'product_cat', 41 | array( 42 | 'orderby' => 'parent', 43 | 'order' => 'DESC', 44 | ) 45 | ); 46 | if ( $terms && ! is_wp_error( $terms ) ) { 47 | if ( is_array( $terms ) ) { 48 | $main_term = $terms[0]; 49 | } 50 | } 51 | } 52 | if ( $main_term ) { 53 | $term_title = $main_term->name; 54 | echo '
'; 55 | echo ''; 56 | echo esc_html( $term_title ); 57 | echo ''; 58 | echo '
'; 59 | } 60 | -------------------------------------------------------------------------------- /inc/customizer/options/general-breadcrumb-options.php: -------------------------------------------------------------------------------- 1 | array( 16 | 'control_type' => 'base_select_control', 17 | 'section' => 'breadcrumbs', 18 | 'transport' => 'refresh', 19 | 'default' => webapp()->default( 'breadcrumb_engine' ), 20 | 'label' => esc_html__( 'Breadcrumb Engine', 'avanam' ), 21 | 'input_attrs' => array( 22 | 'options' => array( 23 | '' => array( 24 | 'name' => __( 'Default', 'avanam' ), 25 | ), 26 | 'rankmath' => array( 27 | 'name' => __( 'RankMath (must have activated in plugin)', 'avanam' ), 28 | ), 29 | 'yoast' => array( 30 | 'name' => __( 'Yoast (must have activated in plugin)', 'avanam' ), 31 | ), 32 | 'seopress' => array( 33 | 'name' => __( 'SEOPress (must have activated in plugin)', 'avanam' ), 34 | ), 35 | ), 36 | ), 37 | ), 38 | 'breadcrumb_home_icon' => array( 39 | 'control_type' => 'base_switch_control', 40 | 'sanitize' => 'base_sanitize_toggle', 41 | 'section' => 'breadcrumbs', 42 | 'default' => webapp()->default( 'breadcrumb_home_icon' ), 43 | 'label' => esc_html__( 'Use icon for home?', 'avanam' ), 44 | 'transport' => 'refresh', 45 | 'context' => array( 46 | array( 47 | 'setting' => 'breadcrumb_engine', 48 | 'operator' => '=', 49 | 'value' => '', 50 | ), 51 | ), 52 | ), 53 | ) 54 | ); 55 | -------------------------------------------------------------------------------- /bbpress/loop-single-reply.php: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 |
> 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
32 | 33 | 34 |
35 | 36 |
' ', 'show_role' => false, 'type' => 'name' ) ); ?>
37 | 38 |
39 | 40 | 41 | 42 | # 43 | 44 |
45 |
46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |
56 |
57 | -------------------------------------------------------------------------------- /template-parts/footer/footer-widget1.php: -------------------------------------------------------------------------------- 1 | sub_option( 'footer_widget1_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget1_align', 'desktop' ) : 'default' ); 11 | $tablet_align = ( webapp()->sub_option( 'footer_widget1_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget1_align', 'tablet' ) : 'default' ); 12 | $mobile_align = ( webapp()->sub_option( 'footer_widget1_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget1_align', 'mobile' ) : 'default' ); 13 | 14 | $valign = ( webapp()->sub_option( 'footer_widget1_vertical_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget1_vertical_align', 'desktop' ) : 'default' ); 15 | $tablet_valign = ( webapp()->sub_option( 'footer_widget1_vertical_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget1_vertical_align', 'tablet' ) : 'default' ); 16 | $mobile_valign = ( webapp()->sub_option( 'footer_widget1_vertical_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget1_vertical_align', 'mobile' ) : 'default' ); 17 | 18 | ?> 19 | 26 | -------------------------------------------------------------------------------- /template-parts/footer/footer-widget2.php: -------------------------------------------------------------------------------- 1 | sub_option( 'footer_widget2_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget2_align', 'desktop' ) : 'default' ); 11 | $tablet_align = ( webapp()->sub_option( 'footer_widget2_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget2_align', 'tablet' ) : 'default' ); 12 | $mobile_align = ( webapp()->sub_option( 'footer_widget2_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget2_align', 'mobile' ) : 'default' ); 13 | 14 | $valign = ( webapp()->sub_option( 'footer_widget2_vertical_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget2_vertical_align', 'desktop' ) : 'default' ); 15 | $tablet_valign = ( webapp()->sub_option( 'footer_widget2_vertical_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget2_vertical_align', 'tablet' ) : 'default' ); 16 | $mobile_valign = ( webapp()->sub_option( 'footer_widget2_vertical_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget2_vertical_align', 'mobile' ) : 'default' ); 17 | 18 | ?> 19 | 26 | -------------------------------------------------------------------------------- /template-parts/footer/footer-widget3.php: -------------------------------------------------------------------------------- 1 | sub_option( 'footer_widget3_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget3_align', 'desktop' ) : 'default' ); 11 | $tablet_align = ( webapp()->sub_option( 'footer_widget3_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget3_align', 'tablet' ) : 'default' ); 12 | $mobile_align = ( webapp()->sub_option( 'footer_widget3_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget3_align', 'mobile' ) : 'default' ); 13 | 14 | $valign = ( webapp()->sub_option( 'footer_widget3_vertical_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget3_vertical_align', 'desktop' ) : 'default' ); 15 | $tablet_valign = ( webapp()->sub_option( 'footer_widget3_vertical_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget3_vertical_align', 'tablet' ) : 'default' ); 16 | $mobile_valign = ( webapp()->sub_option( 'footer_widget3_vertical_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget3_vertical_align', 'mobile' ) : 'default' ); 17 | 18 | ?> 19 | 26 | -------------------------------------------------------------------------------- /template-parts/footer/footer-widget4.php: -------------------------------------------------------------------------------- 1 | sub_option( 'footer_widget4_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget4_align', 'desktop' ) : 'default' ); 11 | $tablet_align = ( webapp()->sub_option( 'footer_widget4_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget4_align', 'tablet' ) : 'default' ); 12 | $mobile_align = ( webapp()->sub_option( 'footer_widget4_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget4_align', 'mobile' ) : 'default' ); 13 | 14 | $valign = ( webapp()->sub_option( 'footer_widget4_vertical_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget4_vertical_align', 'desktop' ) : 'default' ); 15 | $tablet_valign = ( webapp()->sub_option( 'footer_widget4_vertical_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget4_vertical_align', 'tablet' ) : 'default' ); 16 | $mobile_valign = ( webapp()->sub_option( 'footer_widget4_vertical_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget4_vertical_align', 'mobile' ) : 'default' ); 17 | 18 | ?> 19 | 26 | -------------------------------------------------------------------------------- /template-parts/footer/footer-widget5.php: -------------------------------------------------------------------------------- 1 | sub_option( 'footer_widget5_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget5_align', 'desktop' ) : 'default' ); 11 | $tablet_align = ( webapp()->sub_option( 'footer_widget5_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget5_align', 'tablet' ) : 'default' ); 12 | $mobile_align = ( webapp()->sub_option( 'footer_widget5_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget5_align', 'mobile' ) : 'default' ); 13 | 14 | $valign = ( webapp()->sub_option( 'footer_widget5_vertical_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget5_vertical_align', 'desktop' ) : 'default' ); 15 | $tablet_valign = ( webapp()->sub_option( 'footer_widget5_vertical_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget5_vertical_align', 'tablet' ) : 'default' ); 16 | $mobile_valign = ( webapp()->sub_option( 'footer_widget5_vertical_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget5_vertical_align', 'mobile' ) : 'default' ); 17 | 18 | ?> 19 | 26 | -------------------------------------------------------------------------------- /template-parts/footer/footer-widget6.php: -------------------------------------------------------------------------------- 1 | sub_option( 'footer_widget6_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget6_align', 'desktop' ) : 'default' ); 11 | $tablet_align = ( webapp()->sub_option( 'footer_widget6_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget6_align', 'tablet' ) : 'default' ); 12 | $mobile_align = ( webapp()->sub_option( 'footer_widget6_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget6_align', 'mobile' ) : 'default' ); 13 | 14 | $valign = ( webapp()->sub_option( 'footer_widget6_vertical_align', 'desktop' ) ? webapp()->sub_option( 'footer_widget6_vertical_align', 'desktop' ) : 'default' ); 15 | $tablet_valign = ( webapp()->sub_option( 'footer_widget6_vertical_align', 'tablet' ) ? webapp()->sub_option( 'footer_widget6_vertical_align', 'tablet' ) : 'default' ); 16 | $mobile_valign = ( webapp()->sub_option( 'footer_widget6_vertical_align', 'mobile' ) ? webapp()->sub_option( 'footer_widget6_vertical_align', 'mobile' ) : 'default' ); 17 | 18 | ?> 19 | 26 | -------------------------------------------------------------------------------- /assets/css/src/author-box.scss: -------------------------------------------------------------------------------- 1 | @import "_custom-properties.scss"; 2 | .entry-author-profile { 3 | position: relative; 4 | padding-left: 100px; 5 | } 6 | .entry-author { 7 | margin: var(--global-lg-spacing) auto; 8 | } 9 | .entry-author-avatar { 10 | position: absolute; 11 | left: 0; 12 | } 13 | 14 | .entry-author-name { 15 | font-size: 120%; 16 | a { 17 | color: inherit; 18 | text-decoration: none; 19 | } 20 | } 21 | 22 | .entry-author-profile p { 23 | margin: 1em 0; 24 | &.entry-author-occupation { 25 | margin: 0; 26 | font-size: 90%; 27 | } 28 | } 29 | 30 | .entry-author-follow { 31 | margin-top: 1em; 32 | } 33 | .entry-author-style-center { 34 | padding-bottom: var(--global-md-spacing); 35 | border-bottom: 1px solid var(--global-gray-500); 36 | .entry-author-profile { 37 | text-align: center; 38 | padding-left: 0; 39 | } 40 | .entry-author-avatar { 41 | position: relative; 42 | margin-bottom: 0.5em; 43 | img { 44 | margin: 0 auto; 45 | border-radius:50%; 46 | z-index:2; 47 | position:relative; 48 | box-sizing:content-box; 49 | } 50 | &:before{ 51 | content:''; 52 | position:absolute; 53 | left:0; 54 | width:calc(50% - 60px);; 55 | top:50%; 56 | margin-top:-1px; 57 | height:1px; 58 | background:var(--global-gray-500); 59 | } 60 | &:after{ 61 | content:''; 62 | position:absolute; 63 | right:0; 64 | width:calc(50% - 60px);; 65 | top:50%; 66 | margin-top:-1px; 67 | height:1px; 68 | background:var(--global-gray-500); 69 | } 70 | } 71 | } 72 | @media screen and (min-width: $before-tablet-query) { 73 | .entry-author-style-center .entry-author-profile .entry-author-description { 74 | max-width: 70%; 75 | margin-left: auto; 76 | margin-right: auto; 77 | } 78 | } -------------------------------------------------------------------------------- /template-parts/title/categories.php: -------------------------------------------------------------------------------- 1 | option( get_post_type() . '_title_element_categories' ); 11 | if ( isset( $elements ) && is_array( $elements ) && true === $elements['enabled'] ) { 12 | $tax_slug = ( isset( $elements['taxonomy'] ) && ! empty( $elements['taxonomy'] ) ? $elements['taxonomy'] : 'category' ); 13 | if ( has_term( '', $tax_slug ) ) { 14 | $divider = ( isset( $elements['divider'] ) && ! empty( $elements['divider'] ) ? $elements['divider'] : 'vline' ); 15 | $style = ( isset( $elements['style'] ) && ! empty( $elements['style'] ) ? $elements['style'] : 'normal' ); 16 | switch ( $divider ) { 17 | case 'dot': 18 | $separator = ' · '; 19 | break; 20 | case 'slash': 21 | /* translators: separator between taxonomy terms */ 22 | $separator = _x( ' / ', 'list item separator', 'avanam' ); 23 | break; 24 | case 'dash': 25 | /* translators: separator between taxonomy terms */ 26 | $separator = _x( ' - ', 'list item separator', 'avanam' ); 27 | break; 28 | default: 29 | /* translators: separator between taxonomy terms */ 30 | $separator = _x( ' | ', 'list item separator', 'avanam' ); 31 | break; 32 | } 33 | if ( 'pill' === $style ) { 34 | $separator = ' '; 35 | } 36 | ?> 37 |
38 | 39 | 40 | 41 |
42 |