├── .gitignore ├── languages ├── hy.mo ├── cs_CZ.mo ├── de_DE.mo ├── default.mo ├── es_ES.mo ├── fr_FR.mo ├── id_ID.mo ├── it_IT.mo ├── mn_MN.mo ├── nl_NL.mo ├── pt_BR.mo ├── ru_RU.mo ├── tr_TR.mo └── zh_CN.mo ├── screenshot.png ├── fonts └── genericons-neue │ ├── Genericons-Neue.eot │ ├── Genericons-Neue.ttf │ └── Genericons-Neue.woff2 ├── css ├── customizer.css.php ├── jetpack-infinite-scroll-dark-overlay-fix.css ├── wp-fullscreen-title.css ├── wp-pagenavi.css └── nprogress.css ├── js ├── keyboard-image-navigation.js ├── skip-link-focus-fix.js ├── fade-post-title.js ├── enhanced-comment-form.js └── theme-customizer.js ├── sass ├── ip2 │ ├── navigation │ │ ├── _comment.scss │ │ ├── _posts.scss │ │ ├── _navigation.scss │ │ ├── _mobile-menu.scss │ │ ├── _post.scss │ │ └── _menu.scss │ ├── _accessibility.scss │ ├── _media.scss │ ├── _clearings.scss │ ├── _infinite-scroll.scss │ ├── layout │ │ ├── _hero-header.scss │ │ └── _post-author-card.scss │ ├── _galleries.scss │ ├── _widgets.scss │ ├── _forms.scss │ ├── _typography.scss │ ├── _normalize.scss │ ├── _queries.scss │ └── _comments.scss ├── default │ ├── _navigation.scss │ ├── _widgets.scss │ ├── _accessibility.scss │ ├── _links.scss │ ├── _menu.scss │ ├── _media.scss │ ├── _reset.scss │ ├── _galleries.scss │ ├── _content.scss │ ├── _post-formats.scss │ ├── _global.scss │ ├── _comments.scss │ └── _queries.scss ├── default.scss └── ip2.scss ├── inc ├── jetpack.php ├── custom-logo.php ├── mf2.php └── plugin-support.php ├── template-parts ├── author-bio.php ├── content-none.php ├── content-page.php ├── content.php └── content-single.php ├── searchform.php ├── originalofform.php ├── readme.txt ├── single.php ├── package.json ├── page.php ├── hcard.php ├── footer.php ├── sidebar.php ├── no-results.php ├── style.css ├── composer.json ├── search.php ├── index.php ├── archive.php ├── author.php ├── 404.php ├── Gruntfile.js ├── page_one-column-template.php ├── header.php ├── page_archive-template.php ├── phpcs.xml ├── comments.php ├── image.php ├── editor-style.css └── functions.php /.gitignore: -------------------------------------------------------------------------------- 1 | sass/.sass-cache/* 2 | vendor/* 3 | composer.lock 4 | node_modules/* 5 | -------------------------------------------------------------------------------- /languages/hy.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/hy.mo -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/screenshot.png -------------------------------------------------------------------------------- /languages/cs_CZ.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/cs_CZ.mo -------------------------------------------------------------------------------- /languages/de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/de_DE.mo -------------------------------------------------------------------------------- /languages/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/default.mo -------------------------------------------------------------------------------- /languages/es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/es_ES.mo -------------------------------------------------------------------------------- /languages/fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/fr_FR.mo -------------------------------------------------------------------------------- /languages/id_ID.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/id_ID.mo -------------------------------------------------------------------------------- /languages/it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/it_IT.mo -------------------------------------------------------------------------------- /languages/mn_MN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/mn_MN.mo -------------------------------------------------------------------------------- /languages/nl_NL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/nl_NL.mo -------------------------------------------------------------------------------- /languages/pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/pt_BR.mo -------------------------------------------------------------------------------- /languages/ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/ru_RU.mo -------------------------------------------------------------------------------- /languages/tr_TR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/tr_TR.mo -------------------------------------------------------------------------------- /languages/zh_CN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/languages/zh_CN.mo -------------------------------------------------------------------------------- /fonts/genericons-neue/Genericons-Neue.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/fonts/genericons-neue/Genericons-Neue.eot -------------------------------------------------------------------------------- /fonts/genericons-neue/Genericons-Neue.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/fonts/genericons-neue/Genericons-Neue.ttf -------------------------------------------------------------------------------- /fonts/genericons-neue/Genericons-Neue.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dshanske/indieweb-publisher/HEAD/fonts/genericons-neue/Genericons-Neue.woff2 -------------------------------------------------------------------------------- /css/customizer.css.php: -------------------------------------------------------------------------------- 1 | li.comment:last-child { 11 | padding-bottom: 1.75em; 12 | border-bottom-width: 1px; 13 | } 14 | 15 | .comments-area #comment-nav-above + .comment-list > li.comment:last-child .reply { 16 | margin-bottom: 0; 17 | } 18 | 19 | #comment-nav-below { 20 | padding-top: .21875em; 21 | } 22 | -------------------------------------------------------------------------------- /inc/jetpack.php: -------------------------------------------------------------------------------- 1 | 'main', 18 | 'footer' => 'page', 19 | ) 20 | ); 21 | } 22 | 23 | add_action( 'after_setup_theme', 'indieweb_publisher_jetpack_setup' ); 24 | add_filter( 'infinite_scroll_credit', 'indieweb_publisher_footer_credits' ); 25 | -------------------------------------------------------------------------------- /sass/default/_navigation.scss: -------------------------------------------------------------------------------- 1 | .site-content .posts-navigation { 2 | overflow: hidden; 3 | /* margin: 0 0 1.5em; */ 4 | } 5 | 6 | .site-content .nav-previous, 7 | .site-navigation .previous-image { 8 | float: left; 9 | } 10 | 11 | .site-content .nav-next, 12 | .posts-navigation .next-image { 13 | float: right; 14 | text-align: right; 15 | } 16 | 17 | .single .posts-navigation { 18 | margin-top: 40px; 19 | } 20 | 21 | #nav-below { 22 | margin-top: 3em; 23 | } 24 | 25 | #nav-above { 26 | padding-bottom: 1em; 27 | padding-top: 1em; 28 | margin-top: 0; 29 | border-bottom: none; 30 | } 31 | 32 | #image-navigation { 33 | margin-bottom: 20px; 34 | } 35 | -------------------------------------------------------------------------------- /sass/default/_widgets.scss: -------------------------------------------------------------------------------- 1 | /* =Footer Widget */ 2 | .footer-widget { 3 | margin: 1.75em 0 0; 4 | padding: 1.75em 0 0; 5 | } 6 | 7 | .footer-widget .widget-area { 8 | width: 100%; 9 | margin: 0 auto 3.5em; 10 | } 11 | 12 | .widget, 13 | .widget_twitter ul li, 14 | .widget_rss ul li { 15 | margin: 0 0 4em; 16 | } 17 | 18 | /* Search widget */ 19 | .widget_search .submit, 20 | .original_of_widget .submit { 21 | display: none; 22 | } 23 | 24 | .widget_rss .rss-date, 25 | .widget_rss li > cite, 26 | .widget_twitter .timesince { 27 | color: #b3b3b1; 28 | display: block; 29 | font-size: 12px; 30 | } 31 | 32 | .sloc_weather_widget { 33 | .svg-icon { 34 | float:left; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sass/ip2/navigation/_posts.scss: -------------------------------------------------------------------------------- 1 | .posts-navigation { 2 | margin-top: 1.75em; 3 | padding-top: 1.75em; 4 | border-top: solid 1px #ddd; 5 | } 6 | 7 | .infinite-scroll .posts-navigation { 8 | display: none; 9 | } 10 | 11 | .posts-navigation .nav-links a { 12 | font-size: 15px; 13 | } 14 | 15 | .posts-navigation .nav-links .nav-previous a:before, 16 | .posts-navigation .nav-links .nav-next a:after { 17 | position: relative; 18 | top: 0; 19 | } 20 | 21 | .posts-navigation .nav-links .nav-previous a:before { 22 | margin-right: .4375em; 23 | content: "\2190"; 24 | } 25 | 26 | .posts-navigation .nav-links .nav-next a:after { 27 | margin-left: .4375em; 28 | content: "\2192"; 29 | } 30 | -------------------------------------------------------------------------------- /sass/ip2/_accessibility.scss: -------------------------------------------------------------------------------- 1 | /* Text meant only for screen readers */ 2 | .screen-reader-text { 3 | position: absolute !important; 4 | overflow: hidden; 5 | clip: rect(1px, 1px, 1px, 1px); 6 | width: 1px; 7 | height: 1px; 8 | } 9 | 10 | .screen-reader-text:focus { 11 | z-index: 100000; 12 | top: 7px; 13 | right: auto; 14 | left: 5px; 15 | display: block; 16 | clip: auto !important; 17 | width: auto; 18 | height: auto; 19 | padding: 15px 23px 14px; 20 | font-size: 15px; 21 | font-weight: 700; 22 | line-height: normal; 23 | text-decoration: none; 24 | color: #21759b; 25 | outline: solid 1px; 26 | background-color: #f1f1f1; 27 | box-shadow: 0 0 2px 2px rgba(0, 0, 0, .25); 28 | } 29 | -------------------------------------------------------------------------------- /sass/default/_accessibility.scss: -------------------------------------------------------------------------------- 1 | /* Text meant only for screen readers */ 2 | .screen-reader-text { 3 | clip: rect(1px, 1px, 1px, 1px); 4 | position: absolute !important; 5 | } 6 | 7 | .screen-reader-text:hover, 8 | .screen-reader-text:active, 9 | .screen-reader-text:focus { 10 | background-color: #f1f1f1; 11 | border-radius: 3px; 12 | box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); 13 | clip: auto !important; 14 | color: #21759b; 15 | display: block; 16 | font-size: 14px; 17 | font-weight: bold; 18 | height: auto; 19 | left: 5px; 20 | line-height: normal; 21 | padding: 15px 23px 14px; 22 | text-decoration: none; 23 | top: 5px; 24 | width: auto; 25 | z-index: 100000; /* Above WP toolbar */ 26 | } 27 | -------------------------------------------------------------------------------- /template-parts/author-bio.php: -------------------------------------------------------------------------------- 1 | 9 |
23 | -------------------------------------------------------------------------------- /searchform.php: -------------------------------------------------------------------------------- 1 | 9 | 14 | -------------------------------------------------------------------------------- /originalofform.php: -------------------------------------------------------------------------------- 1 | 8 | 13 | -------------------------------------------------------------------------------- /js/skip-link-focus-fix.js: -------------------------------------------------------------------------------- 1 | ( function() { 2 | var is_webkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1, 3 | is_opera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1, 4 | is_ie = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1; 5 | 6 | if ( ( is_webkit || is_opera || is_ie ) && 'undefined' !== typeof( document.getElementById ) ) { 7 | var eventMethod = ( window.addEventListener ) ? 'addEventListener' : 'attachEvent'; 8 | window[ eventMethod ]( 'hashchange', function() { 9 | var element = document.getElementById( location.hash.substring( 1 ) ); 10 | 11 | if ( element ) { 12 | if ( ! /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) 13 | element.tabIndex = -1; 14 | 15 | element.focus(); 16 | } 17 | }, false ); 18 | } 19 | })(); 20 | -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | Indieweb Publisher is a beautiful reader-focused WordPress theme, for you. 2 | 3 | Changelog 4 | 5 | = 1.0 = 6 | 7 | Initial Release of Fork 8 | 9 | * Remove Social Menu as this should be added by plugin 10 | * Add option to show time 11 | * Add option to hide category display 12 | * Custom header was being used as logo. Switched to custom logo feature as more approrpiate and removed setting that would replace this if not set with admin image 13 | * Add support for displaying Syndication Links and Simple Location data 14 | * Add link in footer to privacy policy if set 15 | * Add support for archive title and description filters added in Core 16 | * Add support for Core title management 17 | * Disable Post Formats if Post Kinds are enabled 18 | * Remove Genericons and Replace with Genericons Neue which removes social icons 19 | * Do not show word count if 0 20 | 21 | -------------------------------------------------------------------------------- /js/fade-post-title.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Fade the title on scroll if post has "Post Cover Title Style" 3 | */ 4 | jQuery(function($) { 5 | var post_title = $('.post-cover-title'), 6 | post_title_wrapper = $('.post-cover-title-wrapper'); 7 | 8 | if($('body').hasClass('post-cover-overlay-post-title')) { 9 | $(window).on('scroll', function() { 10 | var st = $(this).scrollTop(), 11 | post_title_wrapper_height = post_title_wrapper.height(), 12 | post_title_height = post_title.height(), 13 | post_title_padding = ( post_title.innerHeight() - post_title_height) / 2; 14 | 15 | post_title.css({ 16 | 'margin-bottom' : -(st/post_title_wrapper_height) * post_title_padding +"px", 17 | 'opacity' : 1 - st/post_title_wrapper_height 18 | }); 19 | }); 20 | } 21 | }); -------------------------------------------------------------------------------- /sass/default/_links.scss: -------------------------------------------------------------------------------- 1 | a { 2 | color: #57ad68; 3 | text-decoration: none; 4 | } 5 | 6 | a:visited { 7 | color: #57ad68; 8 | text-decoration: none; 9 | } 10 | 11 | a:hover, 12 | a:focus, 13 | a:active { 14 | color: #57ad68; 15 | text-decoration: underline; 16 | } 17 | 18 | /* Alignment */ 19 | .alignleft { 20 | display: inline; 21 | float: left; 22 | margin-right: 1.5em; 23 | } 24 | 25 | .alignright { 26 | display: inline; 27 | float: right; 28 | margin-left: 1.5em; 29 | } 30 | 31 | .aligncenter { 32 | display: block; 33 | clear: both; 34 | margin: 0 auto; 35 | } 36 | 37 | img.alignleft { 38 | margin: 5px 20px 10px 0; 39 | } 40 | 41 | img.alignright { 42 | margin: 5px 0 10px 20px; 43 | } 44 | 45 | img.aligncenter { 46 | margin: 5px auto 10px; 47 | } 48 | 49 | .permalink::before { 50 | font-family: "Genericons-Neue"; 51 | content: '\f107'; 52 | position: relative; 53 | top: 0; 54 | } 55 | -------------------------------------------------------------------------------- /css/wp-pagenavi.css: -------------------------------------------------------------------------------- 1 | /** 2 | * When the WP-PageNavi plugin is active, this CSS improves how the navigation items look. 3 | */ 4 | .wp-pagenavi { 5 | text-align:center; 6 | } 7 | 8 | .wp-pagenavi span.current { 9 | border-color: #C3C3C3; 10 | } 11 | 12 | .wp-pagenavi span { 13 | padding: 7px 5px 7px 5px; 14 | } 15 | 16 | .wp-pagenavi .page, 17 | .wp-pagenavi .current, 18 | .wp-pagenavi .nextpostslink, 19 | .wp-pagenavi .previouspostslink, 20 | .wp-pagenavi .extend, 21 | .wp-pagenavi .last, 22 | .wp-pagenavi .first { 23 | background-color:#FFF; 24 | color : #000; 25 | display: inline-block; 26 | padding:4px 9px; 27 | margin:0 1px; 28 | min-width: 10px; 29 | } 30 | 31 | .wp-pagenavi .current, 32 | .wp-pagenavi a:hover, 33 | .wp-pagenavi a:focus, 34 | .wp-pagenavi a:active { 35 | transition: background-color 0.1s linear; 36 | text-decoration: none; 37 | background-color:#E2E2E2; 38 | border-color: #E2E2E2; 39 | } 40 | -------------------------------------------------------------------------------- /sass/ip2/_media.scss: -------------------------------------------------------------------------------- 1 | .page-content .wp-smiley, 2 | .entry-content .wp-smiley, 3 | .comment-content .wp-smiley { 4 | margin-top: 0; 5 | margin-bottom: 0; 6 | padding: 0; 7 | border: none; 8 | } 9 | 10 | .wp-caption { 11 | max-width: 100%; 12 | margin-bottom: 1.75em; 13 | } 14 | 15 | .wp-caption.aligncenter, 16 | .wp-caption.alignleft, 17 | .wp-caption.alignright { 18 | margin-bottom: 1.75em; 19 | } 20 | 21 | .wp-caption img { 22 | display: block; 23 | max-width: 98%; 24 | margin: 5px auto 0; 25 | } 26 | 27 | .wp-caption-text, 28 | .wp-caption-dd { 29 | clear: both; 30 | font-size: 75%; 31 | font-weight: 400; 32 | font-style: italic; 33 | text-align: center; 34 | color: #939393; 35 | width: 100%; 36 | } 37 | 38 | .wp-caption-text strong, 39 | .wp-caption-dd strong { 40 | color: #454545; 41 | } 42 | 43 | .wp-caption .wp-caption-text, 44 | .wp-caption .wp-caption-dd { 45 | margin: .875em 0; 46 | } 47 | 48 | /* Make sure embeds and iframes fit their containers */ 49 | embed, 50 | iframe, 51 | object { 52 | max-width: 100%; 53 | } 54 | -------------------------------------------------------------------------------- /single.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |