mirror of
https://github.com/KevinMidboe/rohnenedre.git
synced 2026-02-13 04:49:18 +00:00
Initial commit. State 04.2021.
This commit is contained in:
24
wp-content/themes/professional/content-page.php
Normal file
24
wp-content/themes/professional/content-page.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* The template used for displaying page content in page.php
|
||||
*
|
||||
* @package Professional
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class('page'); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><span><?php the_title(); ?></span></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages( array(
|
||||
'before' => '<div class="page-links">' . __( 'Pages:', 'professional' ),
|
||||
'after' => '</div>',
|
||||
) );
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php edit_post_link( __( '<i class="fa fa-edit"></i> Edit', 'professional' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer>' ); ?>
|
||||
</article><!-- #post-## -->
|
||||
Reference in New Issue
Block a user