This repository was archived by the owner on Jan 15, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsingle.php
More file actions
59 lines (58 loc) · 2.05 KB
/
single.php
File metadata and controls
59 lines (58 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
get_header();
the_post();
?>
<section class="main-content">
<header class="single-header">
<div class="container">
<div class="columns is-centered">
<div class="column">
<div class="is-flex-mobile cc-post-parent">
<div class="cc-post-heading is-vcentered column">
<h2><?php the_title(); ?></h2>
<div class="cc-category">
<?php the_category(','); ?>
</div>
<div class="is-flex is-flex-direction-row is-justify-content-space-between pt-3">
<div>
<?php
$show_authors_is_enabled = get_theme_mod( 'cc_base_show_authors' );
get_template_part( 'inc/partials/entry/entry', 'author' );
?>
</div>
<div>
<div class="column is-2">
<div class="share-entry margin-vertical-normal is-flex is-3">
<a href="<?php echo CC_Site::social_share( 'facebook', get_the_ID() ); ?>" class="share facebook column"><i class="icon facebook has-black-color"></i></a>
<a href="<?php echo CC_Site::social_share( 'twitter', get_the_ID() ); ?>" class="share twitter column"><i class="icon twitter has-black-color"></i></a>
<a href="<?php echo CC_Site::social_share( 'whatsapp', get_the_ID() ); ?>" class="share whatsapp column"><i class="icon whatsapp has-black-color"></i></a>
<a href="<?php echo CC_Site::social_share( 'linkedin', get_the_ID() ); ?>" class="share linkedin column"><i class="icon linkedin has-black-color"></i></a>
</div>
</div>
</div>
</div>
</div>
<div class="cc-post-image">
<img src="<?php the_post_thumbnail(); ?>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="container">
<div class="columns is-centered">
<div class="column is-8">
<section class="entry-page-content">
<div class="text-format body-big content">
<?php the_content(); ?>
</div>
<footer class="entry-footer">
<?php get_template_part( 'inc/partials/entry/entry', 'footer' ); ?>
</footer>
</section>
</div>
</div>
</div>
</section>
<?php get_footer(); ?>