Look somewhere after the “Loop” starts (it starts with <?php while( have_posts() ): the_post(); ?>
) in your index.php
file.
Find <?php the_content(); ?>
and change it to <?php the_excerpt(); ?>
. If you don’t want any content, just remove the_content()
all together.
If you’re using a theme from wordpress.org, it would best to do this in a child theme, so you can keep the original theme up to date.
Related Posts:
- How to get home page ID?
- Dynamic homepage according to user role
- How can I make the “Preview Post” button save and preview in the same window?
- Image resizing on home page (product category) [closed]
- New to wordpress: would like to have pluggable main page sections [closed]
- How do I display only the latest post on my home page, while maintaining proper plugin hooks?
- Customizing a blog page layout
- how to add a comment button to be displayed only for the posts in the home page [closed]
- Change website directory safely to add a static page on startup
- Trying to use shortcode for a plugin on custom homepage of Responsive theme
- How to remove automatic generated tag in Home page
- is_front_page breaks with url parameters generated by a plugin
- Summary and Comments on Main landing Page
- WordPress search shows protected content
- how to display recent post by category on home page
- Ability to change homepage on WordPress using API
- Writing SEO for Homepage when homepage is set to display latest posts
- how to do Thematic like this website using wordpress?
- How can I write code in a plugin for my child theme that will allow me to use remove_action() based on if the current page is the home page?
- Set plugin page as homepage
- Issue with custom plugin
- Add meta tags with a plugin?
- How to wrap image logo in Homepage with H1 tag
- Custom gutenberg block image preview not working
- A splash page on landing page
- Preview for revision?
- Help with comments.php
- How to execute plugin and theme updates from a web hook / endpoint?
- WordPress Plugin Insert Html Code with Shortcode
- Content-Security-Policy Headers are there and showing the correct settings, but still getting a refused connection
- Set WordPress Transient Expiration via Variable Value
- Vulnerability Concern From the Plugin or From Not Updating the Plugin?
- PHP Warning: Declaration of aec_contributor_list::form() should be compatible with WP_Widget::form($instance)
- How to remove index meta tag
- don’t call ajax if not plugin page
- How to use the pre_option filter before a plugin loads?
- How I can change the required capability for an admin menu without editing the plugin file?
- Why WP_Screeen doesn’t show all options with admin_body_class
- I changed font of wordpress dashboard but it is slow!
- wp_dequeue_script for a Plugin
- Location dependent rendering of locations? [closed]
- Creating a widget and missing jQuery
- SMTP Error: Could not authenticate [closed]
- How to add support for caching plugins for my own plugin?
- My custom php file keeps 404’ing in WordPress when I call it. What am I missing?
- Use $variable from file1.php in file2.php (different file paths)
- How to import WordPress site to new WordPress site?
- How can I automatically download all images from all imported posts, place them on my new host, and replace all the links
- Need to replace Currency Shortforms
- Looking for a free quiz plugin which saves the candidates answers for review [closed]
- wp_enqueue_scripts
- Why Does The `auto_update_plugin` Hook Disable Management?
- Return multiple values in a shortcode attribute
- Allowing .rfa Files In Media Upload [duplicate]
- Sanitizing file & directory form input
- What’s my optimal choice for remote access to my localhost sites?
- Some WordPress Posts are automatically becoming comments on other Posts
- List category posts displaying limited posts
- Get Every Key & Value from Array then Display All in New Line
- What are admin hooks
- disabling ftp on wordpress
- Woocommerce Coupon Menu and Marketing Menu missing After “Coupons can now be managed from Marketing > Coupons.” [closed]
- Is there a way to add custom endpoint to specific page only
- “uagb/section and uagb/columns block”
- IF condition based on wp_remote_get output
- shortcode not return any thing in Gutnburg
- Fatal error on some pages after cancelling WPSTAGING cloning process
- Always get creating a new table with foreign key
- Progmatically adding menu links to the default (Top) or Footer menu
- Add text to variable
- Where is my google maps on my page? [closed]
- standard custom page template hierarchy for plugins
- get specific value of a array | PHP
- How do I add $_SESSION[”] to my wordpress page?
- How to get specific string/value from an array? php [closed]
- coding a WordPress AJAX Form using PHP to check if User is Logged Out and Show error
- How do i show different group of images below a button when the button is clicked on the same page in wordpress? [closed]
- plugin wraps the entire content
- React error #231with Custom Blocks after upgrade to WP 5.5
- Add User Role: Pre-saved in User-Meta [SOLVED]
- There has been a critical error on your website – won’t fix no matter what
- Adding custom meta boxes to specified custom post type
- WordPress Console Application (ability to excecute a custom function via crontab only)
- Get orders of a specific customer woocommerce
- What am is missing? (API CORS)
- How to do database for download stats?
- Shortcode Attributes to Return different $_POST
- How to find out which plugin create captcha after login?
- Comment IP Plugin – Fixing onfocus=’this.select()’
- How do I make reusable content blocks for header and footer when using WordPress headless with another front-end?
- WordPress 5.4 – How to prevent to enter only certain values in custom field
- What form should the $query media query array have for an Elementor page builder function? [closed]
- Private Page View Counter
- WooCommerce: Force coupon for existing/registered customers [closed]
- Plugin Activation Error – The plugin generated 22 characters of unexpected output during activation
- Plugin Admin Menu Boiler Plate
- How can I add IP address to my post?
- REST API can’t get the response manually
- Super slow plugin page (lots of error 500)
- How to make a dynamic css class whose name changes every visit to confuse scraper