Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2014-08-13 20:58:17
- feliperijo
- New Member
- Registered: 2014-08-13
- Posts: 2
Removing extra information from article display
Hi everyone!!
Right now, my ‘single article’ page shows the article content through the markup ( txp:article pgonly=“0” searchall=“1” searchsticky=“0” status=“4” ). However, this format shows the publish date, posted by, comments, and so on.
I know that in the default form, I can delete the txp:comments_count , txp:author , and so on. Is there any way to do this in the single txp:article markup ?
Or, if this is not possible, what would be a simple markup combination that could show in a single article page just the title and the content?
Best regards,
Felipe
Offline
Re: Removing extra information from article display
feliperijo wrote #282896:
I know that in the default form, I can delete the txp:comments_count , txp:author , and so on. Is there any way to do this in the single txp:article markup ?
You can create multiple article forms and then invoke them by specifying the form.
<txp:article form="singlearticle" pgonly=“0” searchall=“1” searchsticky=“0” status=“4">
Offline
#3 2014-08-13 22:11:45
- feliperijo
- New Member
- Registered: 2014-08-13
- Posts: 2
Re: Removing extra information from article display
Thanks a lot! I’ll look into this tomorrow, but I think it’ll do the trick!!
Offline