Meshwa Bhavsar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Sorted By Alphabetical Order, ALWAYSHi,
If you specifically want your posts to always be displayed alphabetically by title, there are plugins in the WordPress.org Plugin Directory that provide alphabetical/post-order functionality.
For example, GR Order Category Post supports changing the post order to alphabetical (A–Z), and AtoZ Sorting is another plugin specifically designed to sort posts alphabetically.
SS: https://prnt.sc/9JQ1ti6Lj1DIHowever, if you need the main homepage/blog page to always use A–Z ordering automatically, rather than manually rearranging the posts, you should check the plugin’s description and settings to make sure it supports the exact archive/homepage behavior you need.
WordPress itself also supports alphabetical ordering through the main query, so a small
pre_get_postscustomization is another option if you cannot find a plugin that handles your particular theme’s homepage.I hope this helps.
Forum: Fixing WordPress
In reply to: Show last post editorHi,
Yes, this can be added with a small custom code snippet. WordPress stores the user ID of the last editor in the
_edit_lastpost meta.You can add a custom Last Editor column to the Posts and Pages admin lists using the
manage_posts_columns/manage_pages_columnsfilters and their corresponding custom-column hooks.For example, for Posts:
add_filter( 'manage_posts_columns', function ( $columns ) { $columns['last_editor'] = __( 'Last Editor', 'textdomain' ); return $columns; } ); add_action( 'manage_posts_custom_column', function ( $column, $post_id ) { if ( 'last_editor' === $column ) { $editor_id = get_post_meta( $post_id, '_edit_last', true ); if ( $editor_id ) { $editor = get_userdata( $editor_id ); if ( $editor ) { echo esc_html( $editor->display_name ); } } } }, 10, 2 );A similar approach can be used for Pages with
manage_pages_columnsandmanage_pages_custom_column.This would show the latest editor alongside the original post author in the WordPress admin list. The
_edit_lastvalue is updated when a post is edited, so it is suitable for identifying who last modified the post.
SS: https://prnt.sc/6QMY5F7Y12FLI hope this helps.
Forum: Fixing WordPress
In reply to: Max 15 postsHi Mr. Jacobsen,
You are not limited to a maximum of 15 posts in WordPress itself. The number of posts displayed on the front page is usually controlled by the theme’s query or the Settings → Reading → Blog pages show at most setting.
If the theme is using a custom
WP_Query, you may also need to check theposts_per_pagevalue in the theme’s front-page/home template.So I would first check Settings → Reading and then the theme’s front-page/home template for a
posts_per_pagevalue of 15.I hope this helps.