How to promote content to the front page in Drupal 8
As you create content nodes in Drupal 8 each node is saved and can be accessed individually. If you wish, you can have content display on the first page of your Drupal site. This is done via the Drupal 9 admin interface. Promoting content to the first page will display the node title and the first portion of the content. Below are the instructions for promoting a node to display on the front page of your Drupal 8 site.
Promoting exiting nodes to the front page
- Log into your Drupal 8 interface.
- Look to the upper menu bar and click on the Menu option.
- Now, locate and click on the Content option from the new menu that appears below the topmost.
- This will open up the list of current nodes in your site. Find the node you want to promote to the front page and click on the Edit option found under the Operations column. For example, we decided to promote the Introduction page.
- You are now on the content edit screen for your selected node. Look to the right sidebar and click on the Promotion Options selection. You will see two checkbox options regarding the promotion.
Promoted to front page Select this option to display an excerpt on the front page. Sticky at top of lists Select this option to keep this node on top of the list. If more than one node have this selected, they will be displayed in the chronological order of creation.
- Once you have selected your options for promotion, click on the Save and keep published button. You can now visit your site and see that the node you selected is displaying on the front page. Our example below shows the front page before and after selecting the Introduction node to be promoted.
›Section 2: How to change the content preview length in Drupal 8
Working with your Drupal 8 homepage
|1.||How to promote content to the front page in Drupal 8|
|2.||How to change the content preview length in Drupal 8|
|3.||Changing the content of your homepage in Drupal 8|
2014-10-03 3:13 pm
The ugly the is the "read more" link. There is nothing more. I think this link should be displayed only if there really is more content.
2014-10-03 3:22 pm
Thank you for your feedback. I'm happy to review the article, but I am not sure which "read more" link is not working.
Could you please provide some additional information.