Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2015-12-11 13:10:03
- fam.papp
- New Member
- Registered: 2015-12-11
- Posts: 1
How can I change the author
Hi,
I am using Textpattern for only a couple of hours, and I like it very much. It is something that I was looking for. Is there a way to change the author, even if I am loged in? I mean: I am posting a text from a different author, and I don’t want that my name should be there as the author. Or is there a way to switch off the function, so that at the entries the Author field should not be visible?
Thanks,
Arthur
Offline
Re: How can I change the author
Hi Arthur and welcome to the txp forums!
If you have more than one author and you’d like an article that you’ve written to appear under another name (for example, you’re the webadmin and the author should be the site owner), you can change the author of the article in the Content > Articles pane:
- Place a tick mark in front of the article in the list.
- Scroll down to the bottom of the list and where it says “With selected…”, choose “Change author” and re-assign the article to the respective author.
Note: you need another user already set up or this option won’t be shown.
If you don’t want the author to appear on the output on your site, you’ll need to look in the corresponding article forms in the Presentation > Forms pane. These contain the HTML code and txp-tags for the page output.
If you’re using the default layout, look in article_listing
(see the docs) and in default
(docs) for a tag called txp:author
. That outputs the author name. Remove or comment out that part of the code in the form, and the author will no longer be output on the page. The author is displayed in different contexts, so you may want to check other forms too (do a search on the default forms docs page to find other instances and the forms they are in).
TXP Builders – finely-crafted code, design and txp
Offline
Pages: 1