# wpforo/3.1.6/themes/2026/recent.php

wpForo Forum, version 3.1.6. 49 lines.

- Page: https://pluginprobe.com/plugins/wpforo/3.1.6/code/themes/2026/recent.php
- Raw: https://pluginprobe.com/plugins/wpforo/3.1.6/raw/themes/2026/recent.php
- Modified: 2026-09-18T16:11:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpforo/3.1.6/code/themes/2026/recent.php#L10-L20`.

```php
<?php
// Exit if accessed directly
if( ! defined( 'ABSPATH' ) ) exit;
?>
<div class="wpforo-recent-wrap">
    <?php do_action( 'wpforo_recent_list_head', WPF()->current_object['args'], wpfval( WPF()->current_object['args'], 'view' ) ); ?>
    <div class="wpf-head-bar">
        <div class="wpf-head-top">
            <h1 id="wpforo-title"><?php echo wpforo_get_recent_page_title() ?></h1>
            <div class="wpforo-feed" style="float: none;">
				<?php wpforo_mark_all_read_link();
				wpforo_rss_feed_links(); ?>
            </div>
        </div>
        <div class="wpf-head-bottom">
            <div class="wpf-head-prefix">
                <?php do_action( 'wpforo_recent_posts_page_under_head', WPF()->current_object['args'], wpfval( WPF()->current_object['args'], 'view' ) ); ?>
            </div>
            <div class="wpf-head-buttons">
                <div class="wpf-head-filter">
					<?php echo wpforo_get_recent_page_filter_selectbox() ?>
                </div>
                <div class="wpf-snavi">
					<?php wpforo_template_pagenavi( 'wpf-navi-recentpost-top', false ); ?>
                </div>
            </div>
        </div>
    </div>

    <?php do_action( 'wpforo_recent_list_top', WPF()->current_object['args'], wpfval( WPF()->current_object['args'], 'view' ) ); ?>

    <?php
    if( wpfval( WPF()->current_object['args'], 'type' ) === 'topics' ) {
        include( wpftpl( 'recent-topics.php' ) );
    } else {
        include( wpftpl( 'recent-posts.php' ) );
    }
    ?>

    <div class="wpf-snavi">
		<?php wpforo_template_pagenavi( 'wpf-navi-recentpost-bottom', false ); ?>
    </div>

    <?php do_action( 'wpforo_recent_list_footer', WPF()->current_object['args'], wpfval( WPF()->current_object['args'], 'view' ) ); ?>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

```
