=If you are managing your own WordPress website or blog, there are a few helpful HTML code snippets that can be put directly into your post or page!
How to display none, or part of, your post in your blog feed
Option 1: Change the default WordPress settings
By default, you can tell WordPress to display the full article, or just an excerpt of your article. Go to Settings -> Reading -> Click “For each article in feed, show”. Here you can choose to “Full text” or “summary”.
Once you choose Summary, you can specify in each blog post what you want the excerpt to be. Or leave it blank to automatically display just the first few sentences of your post.
To specify an excerpt, scroll to the bottom of your post and you’ll see a box that says “Excerpt”.
If you don’t see the “Excerpt” box at the bottom of your post, go to the top of the screen and click “Screen Options”.
After it’s expanded, make sure “Excerpt is checked.
Option 2: Use the “More” code
Sometimes changing the settings to “summary” in the WP settings doesn’t work. If your full articles are still showing up in your feed after setting the reading settings to “summary”, and specifying your excerpt content, you can manually add a “more” code.
While you are editing your post, switch to the “text editor”. Place your curser before the content you want hidden from the feed and press the “more” button. You can also manually copy and paste the following code.
Update your post, now everything after the code will have a “read more” or “continue reading” link.
Making long posts display on two pages
Just like the “more” code, you can use a short piece of HTML in your text editor to split up long pages.
Place the following code in your “text editor” where you want the page to split.
Once the page has been published, the content following the code will be viewable with a “next” link.
What is a shortcode?
A shortcode is a piece of code that you can wrap “around” your text to create different visual effects. These can be placed in your page or post without any code.
Some examples might be colored boxes, dividing the page into columns, buttons, toggles, price boxes, image sliders, or social media buttons.
For example, if you wanted a button (like pictured above), your shortcode text might look like [button]Join Our Email List[/button] in the post.
In order to use shortcodes, you have to be using a self-hosted website with a shortcode plugin installed. I would recommend Shortcodes by Elegant Themes [affiliate]. It’s easy to use, looks beautiful, and has an extensive range of shortcodes to choose from.