Support » Plugin: Archives Calendar Widget » Selecting by post_status

  • My archived posts have the post_status “archive”, but the plugin shows only posts with status “publish”.
    Is there a possibility to expand the selection / query of the posts to the post_status “archive” or to change it from “publish” to “archive” ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author alek

    (@alekart)

    Hi,
    it seems that you have a custom post_status because by default “archive” is not a status:
    https://codex.wordpress.org/Post_Status#Default_Statuses.

    Btw there is no way to do it without modifying some code: arw-widget.php on line 162, 191 and 395
    AND post_status IN ('publish') should be changed in AND post_status IN ('publish', 'archive')

    I will note it as a feature for the next version but I don’t know when it will be released as I’ve got not much time for it :/.

    • This reply was modified 1 year, 2 months ago by  alek.

    Thanks for the quick reply !

    The display in the calendar view is so correct (logged in, not logged in);
    The presentation of the post with selection unfortunately only when I am logged in as admin, otherwise I get the message “The page could not be found”.

    But I am now satisfied and do not want to bother you with my problem.
    I hope that there will be this feature once in a future version.

    Thank you very much !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Selecting by post_status’ is closed to new replies.