HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Display the Latest Sticky Posts in WordPress

6,548 views November 5, 2015 1:20

Watch on YouTube
ChannelWPBeginner - WordPress Tutorials

Description from the creator

WordPress has the ability to add sticky posts to feature them on your site. When you make a post sticky it shows above your new posts only if your theme permits it. In this video, we will show you how to display the latest sticky posts in WordPress.

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Text version of this tutorial:
wpbeginner.com/wp-tutorials/how-to-display-the-…

Check us out on Facebook:
facebook.com/wpbeginner

Follow us on Twitter:
twitter.com/wpbeginner

Join our circle on Google+:
plus.google.com/+wpbeginner/

Checkout our website for more WordPress Tutorials
wpbeginner.com/

Summary of this Tutorial:

To make this happen you will need to add some code to your functions.php file or as a site specific plugin.

This tutorial is for intermediate level and will require some html/css and WordPress theme knowledge.

Start by copying and pasting our code in your functions.php file.

The code gets the latest 5 sticky posts and displays them with the title and link.

We have also added shortcode functionality so you can display these on a post page or widget on your site.

You will need to add an extra line of code if you want to put in in a text widget.

Related Links:

Site Specific Plugin

wpbeginner.com/beginners-guide/what-why-and-how…

About this tutorial

WPBeginner - WordPress Tutorials published this 1:20 video tutorial on November 5, 2015. It has been watched 6,548 times on YouTube.

Duration
1:20
Published
November 5, 2015
Views
6,548
Likes
10

Tags

Share

This tutorial in other languages