Resolved

Date posted

Puro Theme started by skornstein Jan 15, 2018 5 replies
skornstein Jan 15, 2018 · 2:29 pm #8574

Hi 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;

Andrew Misplon Puro Jan 15, 2018 · 5:55 pm #8579

Hi 🙂

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: Administrator

Lastly, 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.

skornstein Feb 19, 2018 · 8:10 pm #8812

Hi Andrew,

Can you confirm you got the username and PW? Set as private reply for obvious reasons. Thanks!

Sam

Andrew Misplon Puro Feb 20, 2018 · 9:50 am #8813

Hey Sam, no, sorry, I don’t see it here when logged in. Do you?

skornstein Feb 20, 2018 · 4:18 pm #8823

I 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!

Andrew Misplon Puro Feb 20, 2018 · 4:26 pm #8824

This reply has been marked as private.

6 posts