Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2014-08-13 22:07:28

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

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

Board footer

Powered by FluxBB