Navigation überspringen

[Gelöst] Filter: Post author is the author of the page where this View is shown

This support ticket is created vor 5 Jahren, 1 Monat. 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 4 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Lara vor 5 Jahren, 1 Monat.

Assistiert von: Minesh.

Author
Artikel
#1398087
Toolset-Filter_02.12.2019.PNG

I am trying to: Show a view, which list all pages of a post type, on the content template of that post type. Furthermore the view should contain the filter "Post author is the author of the page where this View is shown".

Link to a page where the issue can be seen: versteckter Link

I expected to see: All pages of that post type, where the "Post author is the author of the page where this View is shown"

Instead, I got: No results. No pages can be load.

The view load the pages until I use the filter "Post author is the author of the page where this View is shown". As soon as the filter is active, the view can't load any page.

#1398517

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I checked on your install and the page you share: versteckter Link
-- The post author of the above page is - Lara Kreisz (LaraKreisz)
Please check: versteckter Link

Do you want to display the logged-in user posts or author of the post? currently, if you check the above page - the post author is: Lara Kreisz (LaraKreisz)

can you please share more information and confirm what posts you want to display so I can check your issue further.

#1398537

Do you want to display the logged-in user posts or author of the post? currently, if you check the above page - the post author is: Lara Kreisz (LaraKreisz)?

Hi Minesh,

many thanks for your answer. I want to display the author of the post. It's a testpage, that's why I am also the author of the post. In general the post author should be displayed and not the logged-in user 🙂

Kind regards
Lara

#1398553

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Ok - thanks for the information.

Can you please check now: versteckter Link

It displays the post now, but the thing is that why you want to display the same page link eventhough you are on the same page that is NightOwl.

If you do not want to include the current page in result, simple edit your view and navigate to "Query Options" and checkmark the checkbox "Don't include current page in query result".
=> versteckter Link

And to check if it really works, edit another post and set the post author to Lara Kreisz (LaraKreisz) and update that post and then load the post versteckter Link, you will see it working 🙂

#1400251

Many thanks Minesh! My issue is resolved now.