Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2024-08-13 14:13:30

retmonando
Member
Registered: 2024-08-03
Posts: 10
Website

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

#2 2024-08-13 19:25:59

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,734
Website

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

#3 2024-08-14 00:42:19

retmonando
Member
Registered: 2024-08-03
Posts: 10
Website

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:

&#183;...

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>...

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.

thanks so much. its work

Offline

Board footer

Powered by FluxBB