How To Installing Multi Recent Posts on Static Pages | Dn123

Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

Welcome to our blog This time Droidnur123 will share a widget that is quite interesting, to be specifically "Installing Multi Recent Posts on a Static Page" which will display a list of the latest posts from the blog that you can specify based on the selected label.

How To Installing Multi Recent Posts on Static Pages | Dn123


I got this widget from a blog www.dte.web.idthat has been slightly modified to make it cooler... Ok, let's go straight to how to apply it:


Before applying this widget, it's a good idea to have a fontawesome link in the template that you use, if it doesn't exist, please apply the link below before the closing tag </head>

ioseifuwo

The application is very easy, you just need to add the code below to the static page post (HTML Mode)

<style scoped="scoped" type="text/css">
/* Multi Recent Post droidnur*/
.post-body *,.post-body *:after,.post-body *:before{box-sizing:initial;-webkit-box-sizing:initial;-moz-box-sizing:initial;}
.list-entries{display:table;background:#fdfdfd;margin:1.5% 1%;width:31.3%;float:left;font-size:80%;}
.list-entries ul,.list-entries li{margin:0;list-style:none}
#feed-list-container ul li{background:#fdfdfd;padding:15px;line-height:normal;border:1px solid #eee;border-top:0;transition:all .3s;}
#feed-list-container ul li:hover{background:#fff;}
#feed-list-container ul li:last-child{border-bottom:0;}
.list-entries .main-title{padding:0;overflow:hidden;}
.list-entries .main-title h4{position:relative;display:block;font:inherit;font-weight:700;padding:1em 1.5em;background-color:#4f93c5;color:#fff;margin:0;line-height:normal;font-size:120%;margin-top:0!important}
.list-entries .main-title h4:after{display:inline-block;content:"\f02c";font-family:fontAwesome;font-size:17.4px;font-style:normal;background-color:#4384b3;color:#fff;top:0;right:0;padding:1em 1.25em;position:absolute;font-weight:400}
.list-entries .title a{font-size:13px;text-decoration:none;line-height:.5em;color:#333;font-weight:700;transition:all .3s;}
.list-entries .title a:hover{color:#4f93c5}
.list-entries img,.list-entries .fake-img{border:none;background-color:#333;margin:0 1em 0 0;padding:0;float:left}
.list-entries .summary{overflow:hidden;color:#999}
.list-entries .more-link{border-bottom:none;}
.list-entries .more-link a{display:block;line-height:2em;height:2em;overflow:hidden;text-decoration:none;background-color:#444;padding:1em 1.5em;position:relative;font-weight:400;color:#fff;transition:all .3s;}
.list-entries .more-link a:hover{background-color:#f97e76;color:#fff;}
.list-entries .more-link a:after{display:inline-block;content:"\f054";font-family:fontAwesome;font-size:16.4px;font-style:normal;background-color:#333;color:#ccc;top:0;right:0;padding:1em 1.25em;position:absolute;font-weight:400;transition:all .3s;}
.list-entries .more-link a:hover:after{background-color:#ea726a;color:#fff;}
.widget .post-body ul, .widget .post-body ol {position:relative;}
@media (max-width:640px){
.list-entries {width:100%;}
.list-entries{margin:2.5% 1%;}}
</style>
<div id="feed-list-container">
</div>
<div style="clear:both;">
</div>
<script type="text/javascript">
var multiFeed = {
feedsUri: [
{
name: "JUDUL LABEL",
url: "URL-BLOG",
tag: "NAMA LABEL"
},
{
name: "JUDUL LABEL",
url: "URL-BLOG",
tag: "NAMA LABEL"
},
{
name: "JUDUL LABEL",
url: "URL-BLOG",
tag: "NAMA LABEL"
}
],
numPost: 4,
showThumbnail: true,
showSummary: false,
summaryLength: 0,
titleLength: "auto",
thumbSize: 72,
containerId: "feed-list-container",
readMore: {
text: "Selengkapnya",
endParam: "?max-results=5"
}
};
</script>
<script src="https://cdn.jsdelivr.net/gh/Arlina-Design/redvision@master/multi-feed.js" type="text/javascript"></script>

Please Save the page and see the results.


Notes: 


numPost : Specifies the number of posts to display

showThumbnail : Change the value to false to hide the image

showSummary : Change the value to true to display post summary

summaryLength : Specifies the number of characters in the summary

thumbSize : Shows the displayed thumbnail size

text : Replace the text "More"

endParam : Specifies the number of posts to be displayed when pressing the read more button.


For more information please visit the source page.


Go to Link

About the Author

Droidnur is the Founder & CEO of droidnur.eu.org & Publisher with an Entrepreneur. He is Also a Collage Student & Full Time Passionate Blogger.

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.