FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
generic-theme/entry.php at main · webguyio/generic-theme · GitHub
webguyio
/
generic-theme
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
0
Star
20
Code
Issues
1
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
generic-theme
/
entry.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (11 loc) · 737 Bytes
Breadcrumbs
generic-theme
/
entry.php
Copy path
File metadata and controls
11 lines (11 loc) · 737 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
<article id="post-
<?php
the_ID
();
?>
"
<?php
post_class
();
?>
>
<header>
<?php
if
(
is_singular
() ) {
echo
'
<h1 class="entry-title" itemprop="headline">
'
; }
else
{
echo
'
<h2 class="entry-title">
'
; }
?>
<a href="
<?php
the_permalink
();
?>
" title="
<?php
the_title_attribute
();
?>
" rel="bookmark">
<?php
the_title
();
?>
</a>
<?php
if
(
is_singular
() ) {
echo
'
</h1>
'
; }
else
{
echo
'
</h2>
'
; }
?>
<?php
edit_post_link
();
?>
<?php
if
( !
is_search
() ) {
get_template_part
(
'
entry
'
,
'
meta
'
); }
?>
</header>
<?php
get_template_part
(
'
entry
'
, (
is_front_page
() ||
is_home
() ||
is_front_page
() &&
is_home
() ||
is_archive
() ||
is_search
() ?
'
summary
'
:
'
content
'
) );
?>
<?php
if
(
is_singular
() ) {
get_template_part
(
'
entry-footer
'
); }
?>
</article>
Back
|
FazBrowse Home
|
New Git URL