• Resolved Tiago Souza

    (@tiagoxpl)


    Hi! How are you?

    First of all, I take the opportunity to congratulate you for the work carried out with the theme, it is exceptional, simple, light and functional.

    I would like to ask for help with a small adjustment. Currently, the theme displays posts by year and on the right it reports the month and day of publication. However, I’d like to display it exactly as on your blog (andersnoren.se/blog), ie list the posts on the homepage and the month in the far right, and not display the year as a title as it currently is.

    I noticed that the “index.php” file has the functions, but I couldn’t do it.

    Can you help me by providing some guidance?

    Thank you very much in advance, and again, congratulations on the great work.

    Best regards,

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @tiagoxpl,

    Glad you like it!

    Go to Settings → Reading in the administration panel. Change “Posts Per Page” to a very high number, like 99999, and it should look like the demo site. You can change the date formatting at Settings → General.

    Thread Starter Tiago Souza

    (@tiagoxpl)

    Hi @anlino,

    Thank you for the answer provided.

    Perhaps, even because my native language is not English, I was not able to express my question in the first message, I apologize for that. Now, I’m rephrasing my question and I preferred to add an image so you can see it – I believe it will be easier for you to visualize and understand.

    My question is these below:

    1) Remove the year (which I highlighted in yellow). Thus, all publications would be listed one below the other, only there would be no year number as highlighted in yellow.

    2) In the highlight I made in blue, I would just like the year to be added. For example, instead of being “20 jun”, it would be “20 jun 22”, and so with all the other highlighted ones I made in blue (in my WordPress > Config > General, the date is already in the format ‘d/m/ y’)

    Thank you in advance for your attention and help.

    Best regards,

    Theme Author Anders Norén

    (@anlino)

    Hi @tiagoxpl,

    Ah, I see. You can’t hide the year without modifying the theme through a child theme, so it’s possible but pretty complicated. The same goes for changing the date format you’ve highlighted in blue. Both changes would require you to create a child theme, copy over the files that output the post archive and then modify the output.

    — Anders

    Thread Starter Tiago Souza

    (@tiagoxpl)

    Hi @anlino

    Ok! Thank you for your answer and clarification. I will keep it the default way then. Thank you.

    Best regards,

    • This reply was modified 2 years, 4 months ago by Tiago Souza.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help to modify display of posts (year) in index’ is closed to new replies.