Вафельный Хосе 28 Posted May 26, 2018 Report Share Posted May 26, 2018 Всем привет. Хочу изменить вывод новостей у себя на сайте. Изначальный код был такой: :<div class="short-text">{short-story limit="200"}</div><a class="short-img" href="{full-link}"><img src="{image-1}" alt="{title}" /></a> Я изменил его на такой: <div class="short-text">{short-story}</div> и что-то новость стала совсем кривой. Осталась одна картинка, и та выезжает в футер. Quote Link to post Share on other sites
Вафельный Хосе 28 Posted May 26, 2018 Author Report Share Posted May 26, 2018 Quote Link to post Share on other sites
VIP sokolokaa 634 Posted May 26, 2018 VIP Report Share Posted May 26, 2018 :<div class="short-text">{short-story limit="200"}</div> - лимит текста, который выводится в кратком описании<a class="short-img" href="{full-link}"> - если ткнуть в картинку, то она в виде ссылки<img src="{image-1}" alt="{title}" /> - картинка</a> <div class="short-text">{short-story}</div> - просто, короткое описание. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.