kennethhede
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Have both a display and a publish date?Thank you so much bcworks, you have been a huge help.
Have a great 2022.
Forum: Fixing WordPress
In reply to: Have both a display and a publish date?Thank you so much.
I will try this.
Do you have simple fix to pre-create the custom field on all new posts, so I do not have to create it at every new post? Like the ones in the red area here: https://i.postimg.cc/m2Tbm0Sb/screenshot.jpg
Forum: Fixing WordPress
In reply to: Have both a display and a publish date?Thank you so much bcworkz, it works!
I am very grateful for your help.
The only downside is that the frontend do not use the “new” date from the custom field to sort newest to oldest in the archives. Do you think it would be hard and expensive to have a WordPress developer to create a private plugin for this as well?
One last thing – is there any way to pre-create the custom field on all new posts, so I do not have to create it at every new post? Like the ones in the red area here: https://i.postimg.cc/m2Tbm0Sb/screenshot.jpg
Thank you again!
Forum: Fixing WordPress
In reply to: Have both a display and a publish date?In the Theme Editor at single posts and archives I found this code for showing the date in the theme:
<time class="entry-date updated td-module-date" datetime="<?php echo esc_html(date(DATE_W3C, get_the_time('U'))) ?>" ><?php the_time(get_option('date_format')) ?></time>
Can you use that for anything?
Forum: Fixing WordPress
In reply to: Have both a display and a publish date?bcworks:
It does not work with my current theme Newspaper by tagDiv, but works fine with WordPress default Twenty-One.
Is it just because the Newspaper theme maybe use another parameter than “the_date()”, and I just need to find that parameter it is using? Or is it more difficult than that?
Forum: Fixing WordPress
In reply to: Have both a display and a publish date?Hi bcworks.
That works, really amazing!
I set up a test WordPress site, and it works there. Now I will test it on the real website, hope it works too.
Is there a simple way to check if my theme uses “the_date()”?
Thank you so much!
Happy new year.
Forum: Fixing WordPress
In reply to: Have both a display and a publish date?Ok thank you bcworkz.
You don’t know any plugins with this feature?