Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Formatting inside article tags
At http://dev3.newscriptorium.com/library/ I am trying to reformat the heading and use code that keeps the single entry data from being broken across the columns, but nothing I put inside the article tag in the codes seems to be recognized.
<txp:article section="articles" category="39-articles" sort="title asc"/>
<div class="together">
<h4>
<txp:title />
</h4>
<p>
<txp:body />
</p>
</div>
<txp:article />
Edit by gaekwad: made code look pretty ‘n stuff.
Last edited by gaekwad (2019-12-04 19:07:58)
Offline
Re: Formatting inside article tags
You put nothing inside the article tag indeed :-) It should be
<txp:article section="articles" category="39-articles" sort="title asc">
<div class="together">
<h4>
<txp:title />
</h4>
<p>
<txp:body />
</p>
</div>
</txp:article>
Offline
Re: Formatting inside article tags
gaekwad: Thanks for the pretty.
etc: That code still does not allow the formatting to work.
Offline
Re: Formatting inside article tags
Where exactly have you put this block? Try to replace <txp:article />
with <txp:article_custom />
.
Offline
Re: Formatting inside article tags
I was dealing with the wrong tag set, that helps.
Thanks,
Offline
Pages: 1