first, create a custom page template and paste the code
<?php
// the query
$wpb_all_query = new WP_Query(array('post_type'=>'post', 'post_status'=>'publish', 'posts_per_page'=>-1)); ?>
<?php if ( $wpb_all_query->have_posts() ) : ?>
<ul>
<!-- the loop -->
<?php while ( $wpb_all_query->have_posts() ) : $wpb_all_query->the_post(); ?>
<li><a href="https://wordpress.stackexchange.com/questions/353211/<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
<!-- end of the loop -->
</ul>
<?php wp_reset_postdata(); ?>
<?php else : ?>
<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
for custom page template visit this link and for WP_Query visit this link
Related Posts:
- Adding a Taxonomy Filter to Admin List for a Custom Post Type?
- I found this in a plugin. What does it do? is it dangerous?
- Disable /wp-admin/plugin-install.php
- How to eliminate weird 404 errors in wp-admin?
- Where are plugins located
- Admin menu as submenu from another plugin
- Is There a WordPress Hook to Filter the Edit Posts View?
- Why does WordPress require a ftp server to be running on the webserver to transfer plugins?
- Reordering themes in admin panel
- Removing an admin page added by a 3rd party plugin. Gravity forms in this example
- Is there any record of installed plugins in the database?
- Custom admin column disappearing when using Quick Edit [duplicate]
- WordPress admin notice in plugin function
- Using tabs for wordpress plugin
- Getting Custom Post Type content from main-site of a Multisite
- Plugin Development: WordPress processes twice on post update. How to skip process on the first?
- how to not show plugin in admin area
- “Are you sure you want to do this?” when deactivating all plugins in WordPress 4.3.1 [closed]
- How to make a WP admin button/menu similar to Jetpack Notifications?
- Getting “Fatal error: Call to undefined function wp_cache_get() in option.php” after updating a cache plugin [closed]
- How Restrict access to admin dashboard by specific static ip?
- Edits to plugin not taking effect
- Making menu link open in new tab?
- Weird problems after recovery from security breach
- How to Sort the Favorite Plugins Screen Alphabetically?
- Hide extra menus from WordPress Dashboard
- ‘wp_login’ action hook not working with wp-login.php file
- 404 Error on Activate / Deactivate Plugin
- Why isn’t admin_notices displaying my text? [Simple Plugin, Beginner]
- WordPress on AWS with ELB
- Edit default comments page in WP Admin
- All Users > User List > Update User Meta Field Inline
- How to hide some section in WordPress under Post
- Default WordPress WP Editor removing style tags and html tag
- Polylang : Interverting languages after development [closed]
- Dynamic admin submenu
- Network activating; if ( !current_user_can( ‘manage_options’ ) ) locks me out…
- Cannot access my wp-admin after installing Gzip compression [closed]
- Plugin settings won’t save changes
- How to make multiple admin pages for one plugin?
- $wpdb update query in plugin only updating one column
- Locked out of admin panel after installing HC Custom WP-Admin URL [closed]
- Odd /wp-admin/admin-ajax.php entries showing in Wassup
- Display Plugin Panels Outside of Admin Areas
- WordPress Site is Broken, Cannot see wp-admin page [closed]
- How to remove a CPT Menu from the Root Admin only
- Redirect Plugins.php to New Plugin Page
- Mowing site to another domain in simplest way
- Cannot access WP admin because plugin returns 204
- Install old version of plugin from admin panel?
- WordPress as heavily personalized content management portal, and somewhat like dropbox [closed]
- I cannot include a file in my plugin settings page
- Error activating certain plugins
- Can’t save changes or modify settings in Dashboard but Pages and Posts are fine
- Change Dashboard URL from wp-admin to wp-admin/index.php
- Trigger jQuery to add events after AJAX-loading table in admin plugin
- Elementor pro page editing gives error There has been a critical error on this website. Please check your site admin email inbox for instructions
- how to move a plugin-block in Edit Post page back to bottom area?
- force logged in user to stay in the dashboard
- wp_post not working, keeps redirecting to posts page
- WordPress fatal error from php protocol codes
- How can we get this dynamically as this folder may not be by the same name always → wp-admin
- How to properly enqueue jQuery knob on WordPress without conflict?
- Failed GET Request From admin.php To Fetch .min.js File From Unminifed Directory
- Add custom WordPress admin page with pretty url via code
- Get full URL of WP plugin admin page
- WordPress Plugin PHP Not Calling Function
- Admin menu hilighting wrong item for CPT
- Is admin section completely customizable in terms of styling?
- Not able to upload Plugins/ Theme from Admin backend
- Admin login substantially slower on production server
- wordpress plugin translation not working
- How can I share my wordpress site with a friend?
- Set plugin page as homepage
- Disable plugin on admin page
- The Commercial tab is missing from the Plugins page when trying to update Types 1.7
- Admin Logged In Notify Globaly
- Ajax return 0 in plugin – ajax only used in wp-admin
- How to add php stylesheet to admin section instead of admin_head hook
- Which filters or actions involve with index page for plugin?
- Ajax in Plugins: returns the whole page
- Gutenberg: Dynamic Block – Show saved data in the editor
- Get post id in Post Page within Wp-admin
- AdBlock blocks my non-advertising sidebar images [closed]
- Combining JS files to one script
- How do I add custom fields to the “Edit page” admin screen?
- Mixed content warning on doctype in admin
- Child Plugin Admin Panel
- Ajax in wordpress [duplicate]
- Notifications Bar on home page only
- plugin translations not reflected in admin dashboard
- How to display content depending on the Woocommerce Product Category
- Allow direct access to files/folders within WordPress to replace wp-admin
- WordPress website is redirecting on some different shopping page
- PHP FATAL ERROR
- Fatal Error in my WP “Call to undefined function get_option()”
- Secure way to add JS Script to WordPress filesystem
- Not applying update field (acf) in my plugin
- search by meta field in the regular WordPress admin panel search
- Force post update with React