How to Display the Latest Sticky Posts in WordPress

Опубликовано: 03 Апрель 2015
на канале: WPBeginner - WordPress Tutorials
6,519
10

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:
http://www.wpbeginner.com/wp-tutorial...

Check us out on Facebook:
  / wpbeginner  

Follow us on Twitter:
  / wpbeginner  

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

Checkout our website for more WordPress Tutorials
http://www.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

http://www.wpbeginner.com/beginners-g...


Смотрите видео How to Display the Latest Sticky Posts in WordPress онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь WPBeginner - WordPress Tutorials 03 Апрель 2015, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,519 раз и оно понравилось 10 людям.