• Resolved bolczan

    (@bolczan)


    Hello

    Is it possible to view history of all actions visible to public? On dedicated page? So everyone can view history, without logging

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author P?r Thernstr?m

    (@eskapism)

    Not at the moment. You could create a shortcode or similar and pull out the history yourself and show on your page.

    To get the events you use the class SimpleHistoryLogQuery. Something like this should get you started. Good luck!

    
    	$query = new SimpleHistoryLogQuery();
    
    	$query_args = array(
    		'paged' => 1,
    		'posts_per_page' => 3000,
    	);
    
    	$events = $query->query( $query_args );
    	

    Hi, I am also interested in doing this. The code you mentioned? Where would I put that?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘History visible on page’ is closed to new replies.