@@ -46,11 +46,11 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | if (get_comment_pages_count() > 1 && get_option('page_comments')) { // Are there comments to navigate through? ?> |
| 48 | 48 | <nav id="comment-nav-above" class="navigation comment-navigation" role="navigation"> |
| 49 | - <h2 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'podium');?></h2> |
|
| 49 | + <h2 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'podium'); ?></h2> |
|
| 50 | 50 | <div class="nav-links"> |
| 51 | 51 | |
| 52 | - <div class="nav-previous"><?php previous_comments_link(esc_html__('Older Comments', 'podium'));?></div> |
|
| 53 | - <div class="nav-next"><?php next_comments_link(esc_html__('Newer Comments', 'podium'));?></div> |
|
| 52 | + <div class="nav-previous"><?php previous_comments_link(esc_html__('Older Comments', 'podium')); ?></div> |
|
| 53 | + <div class="nav-next"><?php next_comments_link(esc_html__('Newer Comments', 'podium')); ?></div> |
|
| 54 | 54 | |
| 55 | 55 | </div><!-- .nav-links --> |
| 56 | 56 | </nav><!-- #comment-nav-above --> |
@@ -75,11 +75,11 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | ?> |
| 77 | 77 | <nav id="comment-nav-below" class="navigation comment-navigation" role="navigation"> |
| 78 | - <h2 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'podium');?></h2> |
|
| 78 | + <h2 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'podium'); ?></h2> |
|
| 79 | 79 | <div class="nav-links"> |
| 80 | 80 | |
| 81 | - <div class="nav-previous"><?php previous_comments_link(esc_html__('Older Comments', 'podium'));?></div> |
|
| 82 | - <div class="nav-next"><?php next_comments_link(esc_html__('Newer Comments', 'podium'));?></div> |
|
| 81 | + <div class="nav-previous"><?php previous_comments_link(esc_html__('Older Comments', 'podium')); ?></div> |
|
| 82 | + <div class="nav-next"><?php next_comments_link(esc_html__('Newer Comments', 'podium')); ?></div> |
|
| 83 | 83 | |
| 84 | 84 | </div><!-- .nav-links --> |
| 85 | 85 | </nav><!-- #comment-nav-below --> |
@@ -97,11 +97,11 @@ discard block |
||
| 97 | 97 | |
| 98 | 98 | if (!comments_open() && '0' != get_comments_number() && post_type_supports(get_post_type(), 'comments')) { |
| 99 | 99 | ?> |
| 100 | - <p class="no-comments"><?php esc_html_e('Comments are closed.', 'podium');?></p> |
|
| 100 | + <p class="no-comments"><?php esc_html_e('Comments are closed.', 'podium'); ?></p> |
|
| 101 | 101 | <?php } |
| 102 | 102 | |
| 103 | 103 | ?> |
| 104 | 104 | |
| 105 | - <?php comment_form();?> |
|
| 105 | + <?php comment_form(); ?> |
|
| 106 | 106 | |
| 107 | 107 | </div><!-- #comments --> |
@@ -8,23 +8,23 @@ |
||
| 8 | 8 | |
| 9 | 9 | // require array list |
| 10 | 10 | $reqire_files = [ |
| 11 | - '/inc/enqueue-scripts.php', // Enqueue scripts and styles. |
|
| 12 | - '/inc/cleanup.php', // cleanup & setup theme. |
|
| 13 | - '/inc/widgets.php', // Implement Custom widgets. |
|
| 14 | - '/inc/template-tags.php', // Custom template tags for this theme. |
|
| 15 | - '/inc/extras.php', // Custom functions that act independently of the theme templates. |
|
| 16 | - '/inc/customizer.php', // Customizer additions. |
|
| 17 | - '/inc/menu-walkers.php', // TODO -> make comment describing the functionality of the page |
|
| 18 | - '/inc/menu.php', // TODO -> make comment describing the functionality of the page |
|
| 19 | - '/inc/admin.php', // Code for better handaling the admin area |
|
| 20 | - '/inc/custom-fields.php', // Inintialize custom fields (if you prefer to do this without ACF) |
|
| 11 | + '/inc/enqueue-scripts.php', // Enqueue scripts and styles. |
|
| 12 | + '/inc/cleanup.php', // cleanup & setup theme. |
|
| 13 | + '/inc/widgets.php', // Implement Custom widgets. |
|
| 14 | + '/inc/template-tags.php', // Custom template tags for this theme. |
|
| 15 | + '/inc/extras.php', // Custom functions that act independently of the theme templates. |
|
| 16 | + '/inc/customizer.php', // Customizer additions. |
|
| 17 | + '/inc/menu-walkers.php', // TODO -> make comment describing the functionality of the page |
|
| 18 | + '/inc/menu.php', // TODO -> make comment describing the functionality of the page |
|
| 19 | + '/inc/admin.php', // Code for better handaling the admin area |
|
| 20 | + '/inc/custom-fields.php', // Inintialize custom fields (if you prefer to do this without ACF) |
|
| 21 | 21 | '/inc/custom-post-type.php', // Inintialize unique CPT's and taxonomies for this project |
| 22 | - '/inc/pagination.php', // More flexible pagination function |
|
| 23 | - '/inc/clean-filenames.php', // Custom functions to clean filenames from Unicode to ASCII |
|
| 24 | - '/inc/config.php', // get the settings for the wordpress theme. |
|
| 25 | - '/inc/media.php', // Media functions. |
|
| 26 | - '/inc/vendor/autoload.php', // Load Composer packages |
|
| 27 | - '/inc/tgm.php', // Plugin installation and activation for Podium based themes. |
|
| 22 | + '/inc/pagination.php', // More flexible pagination function |
|
| 23 | + '/inc/clean-filenames.php', // Custom functions to clean filenames from Unicode to ASCII |
|
| 24 | + '/inc/config.php', // get the settings for the wordpress theme. |
|
| 25 | + '/inc/media.php', // Media functions. |
|
| 26 | + '/inc/vendor/autoload.php', // Load Composer packages |
|
| 27 | + '/inc/tgm.php', // Plugin installation and activation for Podium based themes. |
|
| 28 | 28 | '/inc/editor-caps.php' // Configure editor role capabilities |
| 29 | 29 | |
| 30 | 30 | // '/inc/disable-feeds.php' // Remove fedds content and links |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | <footer id="colophon" class="site-footer row" role="contentinfo"> |
| 13 | 13 | <div class="site-info small-12 columns"> |
| 14 | 14 | <a href="<?php echo esc_url(__('http://wordpress.org/', 'podium')); ?>"> |
| 15 | - <?php printf(esc_html__('Proudly powered by %s', 'podium'), 'WordPress');?> |
|
| 15 | + <?php printf(esc_html__('Proudly powered by %s', 'podium'), 'WordPress'); ?> |
|
| 16 | 16 | </a> |
| 17 | 17 | <span class="sep"> | </span> |
| 18 | 18 | <?php |
@@ -23,6 +23,6 @@ discard block |
||
| 23 | 23 | </div><!-- .off-canvas-content --> |
| 24 | 24 | </div><!-- #page --> |
| 25 | 25 | |
| 26 | -<?php wp_footer();?> |
|
| 26 | +<?php wp_footer(); ?> |
|
| 27 | 27 | </body> |
| 28 | 28 | </html> |
@@ -20,11 +20,11 @@ |
||
| 20 | 20 | |
| 21 | 21 | <?php wp_head(); |
| 22 | 22 | |
| 23 | - $imagesFolder = get_template_directory_uri() . '/dist/images/'; |
|
| 23 | + $imagesFolder = get_template_directory_uri() . '/dist/images/'; |
|
| 24 | 24 | |
| 25 | 25 | // Please create favicon files with http://iconogen.com/ |
| 26 | 26 | // and put them in assets/images/favicon directory |
| 27 | - ?> |
|
| 27 | + ?> |
|
| 28 | 28 | |
| 29 | 29 | <link rel="shortcut icon" href="<?php echo $imagesFolder; ?>favicon/favicon.ico" type="image/x-icon" /> |
| 30 | 30 | <link rel="apple-touch-icon" sizes="57x57" href="<?php echo $imagesFolder; ?>favicon/apple-touch-icon-57x57.png"> |
@@ -12,9 +12,9 @@ discard block |
||
| 12 | 12 | |
| 13 | 13 | ?> |
| 14 | 14 | <!DOCTYPE html> |
| 15 | -<html <?php language_attributes();?>> |
|
| 15 | +<html <?php language_attributes(); ?>> |
|
| 16 | 16 | <head> |
| 17 | - <meta charset="<?php bloginfo('charset');?>"> |
|
| 17 | + <meta charset="<?php bloginfo('charset'); ?>"> |
|
| 18 | 18 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 19 | 19 | <link rel="profile" href="//gmpg.org/xfn/11"> |
| 20 | 20 | |
@@ -46,11 +46,11 @@ discard block |
||
| 46 | 46 | <meta name="msapplication-square310x310logo" content="<?php echo $imagesFolder; ?>favicon/largetile.png" /> |
| 47 | 47 | </head> |
| 48 | 48 | |
| 49 | -<body <?php body_class();?>> |
|
| 49 | +<body <?php body_class(); ?>> |
|
| 50 | 50 | |
| 51 | 51 | <div id="page" class="hfeed site"> |
| 52 | 52 | <a class="skip-link show-for-sr" href="#content"> |
| 53 | - <?php esc_html_e('Skip to content', 'podium');?> |
|
| 53 | + <?php esc_html_e('Skip to content', 'podium'); ?> |
|
| 54 | 54 | </a> |
| 55 | 55 | |
| 56 | 56 | <header id="masthead" class="site-header" role="banner" data-sticky-container> |
@@ -7,17 +7,17 @@ discard block |
||
| 7 | 7 | |
| 8 | 8 | ?> |
| 9 | 9 | |
| 10 | -<article id="post-<?php the_ID();?>" <?php post_class();?>> |
|
| 10 | +<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
|
| 11 | 11 | <header class="entry-header"> |
| 12 | - <?php the_title('<h1 class="entry-title">', '</h1>');?> |
|
| 12 | + <?php the_title('<h1 class="entry-title">', '</h1>'); ?> |
|
| 13 | 13 | |
| 14 | 14 | <div class="entry-meta"> |
| 15 | - <?php podium_posted_on();?> |
|
| 15 | + <?php podium_posted_on(); ?> |
|
| 16 | 16 | </div><!-- .entry-meta --> |
| 17 | 17 | </header><!-- .entry-header --> |
| 18 | 18 | |
| 19 | 19 | <div class="entry-content"> |
| 20 | - <?php the_content();?> |
|
| 20 | + <?php the_content(); ?> |
|
| 21 | 21 | <?php |
| 22 | 22 | |
| 23 | 23 | wp_link_pages([ |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | </div><!-- .entry-content --> |
| 30 | 30 | |
| 31 | 31 | <footer class="entry-footer"> |
| 32 | - <?php podium_entry_footer();?> |
|
| 32 | + <?php podium_entry_footer(); ?> |
|
| 33 | 33 | </footer><!-- .entry-footer --> |
| 34 | 34 | </article><!-- #post-## --> |
| 35 | 35 | |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | |
| 12 | 12 | <section class="no-results not-found"> |
| 13 | 13 | <header class="page-header"> |
| 14 | - <h1 class="page-title"><?php esc_html_e('Nothing Found', 'podium');?></h1> |
|
| 14 | + <h1 class="page-title"><?php esc_html_e('Nothing Found', 'podium'); ?></h1> |
|
| 15 | 15 | </header><!-- .page-header --> |
| 16 | 16 | |
| 17 | 17 | <div class="page-content"> |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | ?> |
| 48 | 48 | </p> |
| 49 | - <?php get_search_form();?> |
|
| 49 | + <?php get_search_form(); ?> |
|
| 50 | 50 | |
| 51 | 51 | <?php |
| 52 | 52 | |
@@ -54,8 +54,8 @@ discard block |
||
| 54 | 54 | |
| 55 | 55 | ?> |
| 56 | 56 | |
| 57 | - <p><?php esc_html_e('It seems we can’t find what you’re looking for. Perhaps searching can help.', 'podium');?></p> |
|
| 58 | - <?php get_search_form();?> |
|
| 57 | + <p><?php esc_html_e('It seems we can’t find what you’re looking for. Perhaps searching can help.', 'podium'); ?></p> |
|
| 58 | + <?php get_search_form(); ?> |
|
| 59 | 59 | |
| 60 | 60 | <?php } |
| 61 | 61 | |
@@ -7,13 +7,13 @@ discard block |
||
| 7 | 7 | |
| 8 | 8 | ?> |
| 9 | 9 | |
| 10 | -<article id="post-<?php the_ID();?>" <?php post_class();?>> |
|
| 10 | +<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
|
| 11 | 11 | <header class="entry-header"> |
| 12 | - <?php the_title('<h1 class="entry-title">', '</h1>');?> |
|
| 12 | + <?php the_title('<h1 class="entry-title">', '</h1>'); ?> |
|
| 13 | 13 | </header><!-- .entry-header --> |
| 14 | 14 | |
| 15 | 15 | <div class="entry-content"> |
| 16 | - <?php the_content();?> |
|
| 16 | + <?php the_content(); ?> |
|
| 17 | 17 | <?php |
| 18 | 18 | |
| 19 | 19 | wp_link_pages([ |
@@ -25,6 +25,6 @@ discard block |
||
| 25 | 25 | </div><!-- .entry-content --> |
| 26 | 26 | |
| 27 | 27 | <footer class="entry-footer"> |
| 28 | - <?php edit_post_link(esc_html__('Edit', 'podium'), '<span class="edit-link">', '</span>');?> |
|
| 28 | + <?php edit_post_link(esc_html__('Edit', 'podium'), '<span class="edit-link">', '</span>'); ?> |
|
| 29 | 29 | </footer><!-- .entry-footer --> |
| 30 | 30 | </article><!-- #post-## --> |
@@ -2,5 +2,5 @@ |
||
| 2 | 2 | // sidebar page |
| 3 | 3 | ?> |
| 4 | 4 | <aside id="sidebar" class="content-area small-12 medium-4 columns"> |
| 5 | - <?php dynamic_sidebar('sidebar-1');?> |
|
| 5 | + <?php dynamic_sidebar('sidebar-1'); ?> |
|
| 6 | 6 | </aside> |
@@ -9,9 +9,9 @@ discard block |
||
| 9 | 9 | |
| 10 | 10 | ?> |
| 11 | 11 | |
| 12 | -<article id="post-<?php the_ID();?>" <?php post_class();?>> |
|
| 12 | +<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
|
| 13 | 13 | <header class="entry-header"> |
| 14 | - <?php the_title(sprintf('<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h1>');?> |
|
| 14 | + <?php the_title(sprintf('<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h1>'); ?> |
|
| 15 | 15 | |
| 16 | 16 | <?php |
| 17 | 17 | |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | ?> |
| 21 | 21 | <div class="entry-meta"> |
| 22 | - <?php podium_posted_on();?> |
|
| 22 | + <?php podium_posted_on(); ?> |
|
| 23 | 23 | </div><!-- .entry-meta --> |
| 24 | 24 | <?php |
| 25 | 25 | |
@@ -29,10 +29,10 @@ discard block |
||
| 29 | 29 | </header><!-- .entry-header --> |
| 30 | 30 | |
| 31 | 31 | <div class="entry-summary"> |
| 32 | - <?php the_excerpt();?> |
|
| 32 | + <?php the_excerpt(); ?> |
|
| 33 | 33 | </div><!-- .entry-summary --> |
| 34 | 34 | |
| 35 | 35 | <footer class="entry-footer"> |
| 36 | - <?php podium_entry_footer();?> |
|
| 36 | + <?php podium_entry_footer(); ?> |
|
| 37 | 37 | </footer><!-- .entry-footer --> |
| 38 | 38 | </article><!-- #post-## --> |