Widget with last added posts, not by date.

  • Unknown's avatar

    Hi. On my blog, I add posts with historical dates. For example, I added a post yesterday with a date in December 1994. I know people who follow me will get a notification. Is there an option to show information about the latest uploaded post on the page and not the latest post when it comes to date? I know there’s a “recent posts” widget, but it shows recent posts by date. I use wordpress by browser.

    Thank you

    The blog I need help with is: (visible only to logged in users)

  • Hi! The latest post when it comes to date is what counts as the latest uploaded post – they’re intrinsically linked, so even though this post is the most recent, because it has a 1994 publication date, your site data records it has having been published in 1994; this is the same as your previous question.

    Because of this, there isn’t really a way to affect the Latest Posts block so that it shows that post despite the publication date. I had a quick look at your blog posts; do I understand correctly that you are using the post publication date to represent the song release date?

    If so, might it be preferable to set up a model (via Reusable Block) which contains the song data as part of the post content instead, so you can keep the current post publication date as normal?

    That way, whenever you publish a new post about a song, you can use the model to maintain a similar layout for each post, and it lets you put the data in quickly. For example, you could set up a Columns block with the song in one column, and the release date in the other column:
    https://en.support.wordpress.com/wordpress-editor/blocks/columns-block/

  • Unknown's avatar

    My English isn’t the best, but you already know that. I need to break your help down into smaller parts to better understand.

    1. It is not possible for a post with an earlier date than publication date to be visible in the side column as the last one added. No way?
    2. Yes. I use the post publication date to represent the song release date
    3. If I understood correctly, you are simply proposing to change my posts to include the release date inside the post.
    4. Your idea is to speed up changes by using Reusable Blocks, right?

    I need to think about it. However, the whole blog was created so that there was no situation where I added 300 posts in one month. Maybe I have to make some changes. It’s not that much, but then the whole archive loses its meaning. Is there a possibility to write some kind of script to achieve what I want in the premium wordpress? Thank You

  • Unknown's avatar

    Hi there!

    I’ll try to answer your questions one by one below the quotes. :)

    It is not possible for a post with an earlier date than publication date to be visible in the side column as the last one added. No way?

    I’d say the only way is to manually create and update a list. All automated ways would order the list by post date, which wouldn’t work since you aren’t using the actual publication date on your posts.

    If I understood correctly, you are simply proposing to change my posts to include the release date inside the post.

    Yes. It might be better (from an organizational standpoint) to keep the post’s publication date as the date on which you published the post (as it was intended). You can then have the song’s release date somewhere within the post body.

    Your idea is to speed up changes by using Reusable Blocks, right?

    Correct. The reusable block lets you set up a template of sorts that you can insert anywhere. That way, you won’t have to type the same thing over and over.

    You can insert the reusable block, convert it into a regular block, and add the song’s original publish date.

     Is there a possibility to write some kind of script to achieve what I want in the premium wordpress?

    It might be possible to use a script that achieves the result you’re going for, but the script won’t be usable on the WordPress.com Premium plan.

    With the WordPress.com Business plan, you can activate hosting features that would allow you to add custom scripts/code. We won’t be able to help with writing the code (you can hire freelance web developers for that), but you will be able to use scripts on the Business plan.

    Hope that helps!

  • Unknown's avatar

    Can you tell me how can I manualy create and update this list?

  • Unknown's avatar

    Hi there!

    The easiest would be the List block, as it allows you to manually edit/update the list whenever you want. You can insert the List block on posts, pages, and even on the sidebar widgets, so it’ll work anywhere.

    The page below has some instructions on using the List block effectively:

    WP
    Blocks » List Block
    4 min read
    The List block allows you to organize content in either numbered or bulleted lists. Add the List BlockBlock ToolbarBlock SettingsColorTypographyOrdered List SettingsConvert Text to a ListIndented ListsMixed ListsList Shorthand Add the List Block To add the List block, click on the + Block Inserter icon and search for “list”. Click it to add the block to the post or page. 💡

    Can you give that a try and let us know if you have further questions?

  • The topic ‘Widget with last added posts, not by date.’ is closed to new replies.