heisel
Forum Replies Created
-
For this instance, I am using the classic editor (have opted for that one to make a more consistent editorial flow for the editors). Have not tested with gutenberg.
Thanks for the positive response. Very happy to hear!
One solution I looked into was creating a meta box and populate it with the PHP code. This almost works, but you can’t post any messages as i think the submit button clashes with the ‘core’ submit button, so it submits the actual page rather than the message.
I used this code to test:
function add_custom_meta_box()
{
add_meta_box(“demo-meta-box”, “Custom Meta Box”, “custom_meta_box_markup”, “post”, “side”, “high”, null);
}add_action(“add_meta_boxes”, “add_custom_meta_box”);
function custom_meta_box_markup($object)
{
wp_nonce_field(basename(__FILE__), “meta-box-nonce”);?>
<?php if (function_exists(‘simple_ajax_chat’)) simple_ajax_chat(); ?>
<?php
}Forum: Plugins
In reply to: [Posts On This Day] Randomize results on the same dayThanks for the snippet and your help. I have inserted it now and will check out in the coming days 🙂
Forum: Plugins
In reply to: [Posts On This Day] Randomize results on the same dayit always shows the latest first, so it would always show 2020. I do not see any settings on how to change the order.
On my website I have over 30,000 articles written over 18 years, so have several articles written on the same day throughout they years, but only shows the “newest” articles written on the day. Would be great if you are able to click randomize.