Lamborghini Huracán LP 610-4 t

p _ x
Bookmark Weezywap
JarApkBmkOpera
(GMT+1)
Friday April 19th 2024
+
Always Post weezywap.xtgem.com on your facebook, twitter, 2go, whatsapp and instagram status! If you love WEEZYWAP and enjoy unlimited services here!
»WEEZYWAP Forum
Forum Rules | Smilies | BB Codes | Back
* Weezy The scripts read all the tags in a blog post
it then displays a set number of random posts linked to those tags


Note: the __xtblog_block_id variable is required as multiple blog functions are used

First the twig files
Rename xtblog.twig to xtblog_1.twig
Create a new xtblog.twig file with this code
it uses one of the blogs translation variables to decide which twig file to use

Insert this line into xtblog_1.twig in the view=='entry' area to provide the tag data to the xtscript {% elseif view == 'entry' %} <div class="xt_blog"> {% block entry_tags %} {% if not data.entry.in_comments_thread %} {% if data.hide_tags == false and data.post.tags %} insert this line here
before the <div class="xt_tags">....... Create a new xtblog_2.twig file with this code it creates a data string of the post urls using custom blog functions in the xtscript another blog variable is used to filter the current post out of the results
Then we have the xtscript that will output the blog and related post links it will insert the links just under the 'back to posts' button The main blog function in the script is set up with dummy tags so that you can still use the blog in the building tool to manage the blog Just don't edit the lines just above and below the blog function using the building tool only use the code editor or the script may be broken
2018-02-26 16:00 · (0)

Online: Guests: 1

Translate
Pages
Copyright © 2024 WEEZYWAP
facebook twitter whatsapp google plus
Home | About Us | Advertise | Frequently Asked Question | Contact Us | Partners | Disclaimer | Terms of Services | Invite Friends | Credits



Online: 1 , Today: 538, Hits: 7583149
Last modified: 27-08-2018 11:42:51 pm