Skip Navigation

[Gelöst] Re-use custom content type on different blogposts and pages

This support ticket is created vor 7 Jahre, 9 Monate. There's a good chance that you are reading advice that it now obsolete.

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.

This topic contains 5 Antworten, has 1 Stimme.

Last updated by willem-siebeS vor 7 Jahre, 9 Monate.

Author
Artikel
#284746

Hi,

Reading the docs I start to believe what I want is not possible, so let me verify this.

I have the normal content types everybody has: posts and pages.
In some of the post and pages I want to display a list of affiliate links, so most of these links will be displayed on multiple posts and/or pages.

First, I created a custom content type: Affiliate links. This custom content type only needs a title + custom field, the URL. This way, I created several links:

- link 1;
- link 2;
- link 3;
- link 4;
- link 5.

Now, on blogpost 1, I need to display link 1, 3 and 5.
On blogpost 2, I need to display link 2, 3 and 4.
On page 1, I need to display link 2 and 5.

Etcetera... I think you get the idea.

Is this possible?

Kind regards,

Willem

#284747
#284766

Hi, I think I figured it out but the Redirection plugin is causing problems, already mentioned before here for example: https://toolset.com/forums/topic/post-with-child-posts-andor-field-table-is-redirecting/

> I see redirection has a github page, what do you want me to say to them so they can solve this compatibililty issue with wp-types?
> is there a redirection plugin I can use togehter with wp-types (many-to-many relationsships)?

Kind regards,

Willem

#284770
2015-02-22_00-16-33.jpg
2015-02-22_00-16-01.jpg
2015-02-22_00-15-08.jpg
2015-02-22_00-14-29.jpg
2015-02-22_00-13-24.jpg
2015-02-22_00-12-55.jpg
2015-02-22_00-11-57.jpg

Ok, without the redirection plugin activated and working on my staging area, I still don't manage after several houres to get the many - many relationsship working > it still outputs 'no results'. Please see my images to check if I did something wrong.

#284778

Got it, used wrong filter.

#285887