Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Commonwell
/
broker-site
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f9bd478c
authored
2024-02-02 13:37:41 -0500
by
Jeremy Groot
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix to post time
1 parent
c00419c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
wp-content/themes/commonwell-broker/inc/shortcodes-resources.php
wp-content/themes/commonwell-broker/inc/shortcodes-resources.php
View file @
f9bd478
...
...
@@ -276,7 +276,7 @@ function resources($id, $taxes, $is_fav = false){
$post_date
=
strtotime
(
get_post_meta
(
$id
,
'searchwp_content_pdf_metadata'
,
true
)[
'CreationDate'
]);
if
(
empty
(
$post_date
))
{
$post_date
=
strtotime
(
$post
->
post_date
);
$post_date
=
get_post_time
(
'U'
,
false
,
$id
);
}
$categories
=
[];
...
...
Please
register
or
sign in
to post a comment