- This topic has 5 replies, 2 voices, and was last updated 6 years, 9 months ago by Andrew Misplon.
- AuthorPosts
- January 15, 2018 at 2:29 pm #8574
skornsteinParticipantHi Andrew,
Thanks for all your previous help. New issue, related to some of my previous one. For some reason I’m having a new issue where the date posted is missing for most posts (but not all).
Any thoughts?
Site here: http://www.somethingsbrewing.com/
And custom CSS/JS:
/* CSS for Byline */
.entry-header .entry-meta span {
display: inline-block;
margin-right: 5px;
}
.entry-header .entry-meta span:before,
.entry-header .entry-meta a:before {
content: none !important;
}
.single .entry-header .entry-meta .entry-date:before {
content: none;
}if ( ! function_exists( ‘puro_posted_on’ ) ) :
/**
* Prints HTML with meta information for the current post-date/time and author.
*/
function puro_posted_on() {
$time_string = ‘<time class=”entry-date published updated” datetime=”%1$s”>%2$s</time>’;
if ( get_the_time( ‘U’ ) !== get_the_modified_time( ‘U’ ) ) {
$time_string = ‘<time class=”entry-date published” datetime=”%1$s”>%2$s</time><time class=”updated” datetime=”%3$s”>%4$s</time>’;
}
$time_string = sprintf( $time_string,
esc_attr( get_the_date( ‘c’ ) ),
esc_html( get_the_date() ),
esc_attr( get_the_modified_date( ‘c’ ) ),
esc_html( get_the_modified_date() )
);
$posted_on = sprintf(
esc_html_x( ‘Posted on %s’, ‘post date’, ‘puro’ ),
‘‘ . $time_string . ‘‘
);
$byline = sprintf(
esc_html_x( ‘by %s’, ‘post author’, ‘puro’ ),
‘<span class=”author vcard”>‘ . esc_html( get_the_author() ) . ‘</span>’
);
$cats = sprintf(
esc_html_x( ‘in %s’, ‘categories in’, ‘puro’ ),
get_the_category_list( __( ‘, ‘, ‘puro’ ) )
);
echo ‘<span class=”posted-on”>’ . $posted_on . ‘</span><span class=”byline”> ‘ . $byline . ‘</span><span class=”cat-links”>’. $cats .'</span>’; // WPCS: XSS OK.
}
endif;January 15, 2018 at 5:55 pm #8579
Andrew MisplonKeymasterHi 🙂
Would it be possible for you to create a temporary user account so we can login and take a look? You can create a new user account from Users > Add New in WordPress. Below you’ll find the information to enter and actions to take:
Username: puro
Email: [email protected]
Password: Click Show Password and copy the provided password to your clipboard (ctrl + c).
Send User Notification: Disable this checkbox
Role: AdministratorLastly, click Add New User. Once that’s done, please, reply to this email and send us your site’s URL (web address) and the password for our new user account.
Once we’re done with this support ticket you can delete our user account.
February 19, 2018 at 8:10 pm #8812
skornsteinParticipantHi Andrew,
Can you confirm you got the username and PW? Set as private reply for obvious reasons. Thanks!
Sam
February 20, 2018 at 9:50 am #8813
Andrew MisplonKeymasterHey Sam, no, sorry, I don’t see it here when logged in. Do you?
February 20, 2018 at 4:18 pm #8823
skornsteinParticipantI don’t think the private reply works. I just tried again and its not showing. I don’t love the idea of posting an admin account for my site to a forum. Could I email you the credentials?
Thanks!
February 20, 2018 at 4:26 pm #8824
Andrew MisplonKeymasterThis reply has been marked as private. - AuthorPosts
You must be logged in to reply to this topic.