Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
How to remove author link?
please help,
how to remove author link in hompage and article post.
removing just author link/url.
but author name still remains.
on here homepage

and here article post

what do I have to do?
thanks so much textpattern
Last edited by retmonando (2024-08-13 14:15:12)
Offline
Re: How to remove author link?
That looks the like the standard theme. Visit Presentation › Forms and then click on Articles in the sidebar to open that group. Click on article_listing. Find the lines marked as follows:
·
<txp:text item="author" />
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
<span itemprop="name">
<txp:author link this_section />
</span>
</span>
and remove link this_section from the txp:author tag. Save the form and the author name will no longer be linked in the excerpt view.
Now switch to the Default form in the sidebar. Again find the txp:author tag. It will be something like this:
<strong>
<txp:text item="author" />
</strong>
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
<span itemprop="name">
<txp:author link this_section />
</span>
</span>
and again, remove link this_section from the txp:author tag. Save the form. That should remove the link on the individual pages as well.
TXP Builders – finely-crafted code, design and txp
Offline
Re: How to remove author link?
jakob wrote #337598:
That looks the like the standard theme. Visit Presentation › Forms and then click on Articles in the sidebar to open that group. Click on
article_listing. Find the lines marked as follows:
·...and remove
link this_sectionfrom thetxp:authortag. Save the form and the author name will no longer be linked in the excerpt view.Now switch to the
Defaultform in the sidebar. Again find the txp:author tag. It will be something like this:
<strong>...and again, remove
link this_sectionfrom thetxp:authortag. Save the form. That should remove the link on the individual pages as well.
thanks so much. its work
Offline
Pages: 1