[Resolved] How to filter a post and add links to a custom post type?

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.

Tagged: 

This topic contains 4 replies, has 2 voices, and was last updated by  martinP-5 1 week, 3 days ago. The support staff assigned to this topic is Shane.

Viewing 5 posts - 1 through 5 (of 5 total)
Author
Posts
#576930

Hi,

I wonder how Types can help to achieve the following. I want to filter the text of a post when it gets saved to add links to a custom post type.

E.g. in my normal news posts (and in custom posts also) I want that keywords or shortcoded [brands]Brands[/brands] or [companies]Companies[(companies] or [persons]A Person[/persons] will get looked up in one of my custom post types and that these keywords get linked to a matching custom post type like a Brand/Company/Person post page with more details about that person.

I am sure that this might involve a plugin, but have you some guidance for that already or does Types support this somehow?

Kind regards, Martin

#576965

Shane
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

I believe I understand what you are trying to achieve.

Is it that these keywords will be link to archives where if you click the keyword in the content then it will link to the archive allowing you to see other posts with this keyword?

Please let me know.

Thanks,
Shane

#577221

Dear Shane,

this would be the first great step! And the second would be: if only one hit is available to kink directly to corresponding the custom post to avoid the step in the middle to go to an archive with only one link on it...

Kind regards, Martin

#577329

Shane
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

I guess my assumptions were correct, however this is not possible with our toolset plugins as we don't have the ability pick out key words in a sentence for referencing.

Some third party or custom solution will be needed for this.

Thanks,
Shane

#577333

Dear Shane,

okay, I understand. Would be a good feature anyway. But I will have a look to develop some suitable filters and a admin-page anyway.

Kind regards, Martin

Viewing 5 posts - 1 through 5 (of 5 total)

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.