Thank you for your time. Recently, on our website, all of the published dates for our posts were altered simultaneously. For some reason, they all present the same published date. However, every time I attempt to edit the published date (via quick edit), it updates to the day I edited the post rather than the date I chose. I am not sure how to fix this. Thank you again.
]]>If someone finds my website and clicks on the Category, in the sidebar widget, for “Bhutan and India” he gets send to the last post in the series, or December 10. If he wants to read the series from the start, he has to click on “older posts” over and over until he lands on the first post. This is cumbersome.
I would like to change this so that when the Category is clicked, it will take a reader to the first post of the series. For the “Bhutan and India” example, this would be August 10.
Is there any way to do this? (I am not a coder, but could handle simple changes.)
Thank you!
]]>I have a history website with hundreds of transcribed documents – so when I write a post about something that happened on Jan 15, 1893 I just custom date the post to Jan 15, 1893 at 12:00. If there is a second event on the same day, I can date it at 1:00 and so on.
Even though there was no internet in 1893, WordPress does not seem to mind.
Also all my posts fall neatly into order and my timelines work.
Do any of you advanced users and programmers know why this is MIGHT NOT BE a good idea? I never saw any tutorial to do this, I just started doing it and it has worked so far.
Best regards,
Marga
I want to make my blog show ‘Last Update’ date instead of ‘Published’ date for my blog posts, as I found publish date of blog posts is shown on Google search result pages, this may not good for posts that are published years ago, as people don’t want to read old articles.
So I want to change the text “published on …” under the blog title to “updated on…”, and whenever I update a post, the date of the post will get updated.
And I want the date to be shown on both blog post and search engine result page.
A perfect example is the site Lifewire.com, all of its blog posts only show update date, and the update date is also shown on Google search result page instead of showing published date.
I tried to directly change the date at a dedicated section in the right sidebar of the post edit panel, and replace the code for the text ‘published on’ with ‘updated on’, but in that way my old post will be moved to the first row of the blog loop when I update it, I don’t want that, I just want the date be updated but let it remain in the original position in the blog loop.
So can anybody help me figure out a way to achieve this? Thanks in advance!
Below is the related code I found in content-single.php and template-tags.php, I’m a beginner on coding, so I don’t know how to tweak these code to achieve what I want.
<div class="entry-meta">
<?php puresimple_posted_on(); ?>
</div><!-- .entry-meta -->
function puresimple_posted_on() {
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string .= '<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(
__( 'Published on %s', 'pure-simple' ),
'<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>'
);
$byline = sprintf(
_x( 'by %s', 'post author', 'pure-simple' ),
'<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>'
);
echo '<span class="posted-on">' . $posted_on . '</span><span class="byline"> ' . $byline . '</span>';
]]>It would be super-useful if it was possible to apply only to specific post categories.
I’m not rich, but I could chip in 50 USD if it would at least inspire to develop this feature
]]>I’m using Spicepress theme and my site is completely in French. I’m trying to change the date format of the articles on the main page, but it does not seem to want to change. Ive tried playing the format settings and still nothing. Is there a way to play with the format of the dates for that theme or within the php files.
Regards,
]]>