I’m currently using the Yuki News Magazine theme and am loving the flexibility and clean design! I’d like to suggest an enhancement that could be helpful for a wide range of users.
Feature Request:
Please add an option to display the “Last Updated” date for posts instead of the initial “Publish” date. Many news and content-heavy sites regularly update posts, and displaying the most recent update date helps provide readers with the most current information, adding to the credibility and accuracy of our content.
Why This Matters:
Ideal Implementation:
An option in the theme settings to select between “Publish Date” and “Last Updated Date” for post timestamps would be ideal. It would also be helpful if this setting could be applied globally across posts or toggled individually per post.
Thank you for considering this!
]]>Here’s the exported form if that helps acfe-export-form-photo-add2-2024-10-17.json
Regards
Pete
]]>Any help would be greatly appreciated!!! Please let me know if you’d like to see anything else.
]]>$donor = new WP_Query( $args );
$found = $donor->post_count;
if ( $found >= 1 ) {
$weight = 188;
$age = 22;
while ( $donor->have_posts() ) {
$donor->the_post();
$update_post = array(
'ID' => get_the_id(),
'weight' => $weight,
'age' => $age,
);
$ustatus = wp_update_post( $update_post, true );
if (is_wp_error($ustatus)) {
echo 'Error '. $ustatus->get_error_code() .': '. $ustatus->get_error_message();
}
}
}
Thank you for any help!
]]>I have an issue when I use the update_post_meta() function. The data are saved in the backoffice but not showing in the front office. I need to update the post to get the data up-to-date in the front office.
Any idea ?
Best regards,
]]>we would like to inform certain users, if an published post gets updated. Actually its a custom post type.
I tried with previous status “published” and new status “published” to check if that might work, but, kind of expected, it didn′t work.
Is there any hook to tackle that programmatically?
I searched this forum and on google, but couldn′t find anything.
Any help or reference for a starting point is appreciated.
Thanks
Hendrik
It is started 2 years ago when I noticed that every time I was publishing one post this post was, in reality, published 4 times with of course the same title, same content everything the same but the link different. Example. www.bombagiu.it/bug and www.bombagiu.it/bug-1 …
After a while the bug disappeared I think just updating the Theme or some plugin.
But now when it happens that I update one of these old posts I realize that when I press update WordPress create 298 posts of the same article. It is horrible because then I have to delete and create a redirect.
Do you know if there is a way to solve this issue?
Thanks a lot
Antonio
Since around october, we are having an issue with our User Page (or Member Portal, as we call it). One of our webmasters made a message on the User Page and we never were able to get the actual member options back.
– When we put in the UMP code for the user page, either we put text or not, we get this error : Updating failed. Error message: The response is not a valid JSON response.
You can see it on these pictures :
https://drive.google.com/file/d/1gA2pz7snbU-fyJGZPOCF6yS3CdQwT-aX/view?usp=sharing
and https://drive.google.com/file/d/1bSp_Dz4CbudLyKVUHhk9h5c_sJyN0Lye/view?usp=sharing
And when that happens, this is what we see on the User Page (notice how the WP menu doesn’t even show up) : https://drive.google.com/file/d/1dOitTMBpS5LjaSfRdGGa4vETZ6oQXHrR/view?usp=sharing
– However, if we only input text, it does update without issue.
https://drive.google.com/file/d/1PGdMBlyw0Gw4CwZPvUWYBaSBv0h_Mfr4/view?usp=sharing
And when we do that, we get this result : https://drive.google.com/file/d/1YZ6SzoGzAcq3y1aXew6St-4_EiTKrU20/view?usp=sharing
– The page IS set up has User Page and always was. I also tried changing it to another page I had just created, with the same results.
– Also, all the other UMP pages are working without any issue.
– We use the Classic Editor plugin. We don’t get the error message but it ends up with the same result. It’s by using the actual editor (or block editor as called by the plugin) that I got the error and realised it might not come from Ultimate Membership Pro, but from WordPress.
– All plugins are up-to-date, and so is WordPress. Only thing that is not up-to-date is our PHP version, which is at 7.2.23. I asked my fellow webmasters to contact our hosting company so they can update it, but I doubt it has anything to do with it.
– I tried running Health Check & Troubleshot but it didn’t give me anything relevant.
All I found about this error is that it usually happens when people try to upload a picture, but that’s not our case here.
]]>