Skip to content

Issue when using pods connections in the posts module #108

Open
@pixelloop

Description

@pixelloop

Issue Overview

Here’s an example where the add-on throws an error that no custom fields were detected on this page.

I am adding a posts module to a standard page to display a custom post type.

Instead of using any of the styles I am using the custom option so I can customize the output.

In this mode it doesn’t seem to see that I’m not getting custom fields from the current page, but the loop of posts I have connected in the query part of the posts module.

I’m using a custom post type where I can’t edit the individual posts as they don’t exist so I’m stuck as to which shortcode starting with [wpbb site:pods_ to use.

Do you have a doc page with all of the connection shortcodes listed out so people can refer to that and copy and paste if they are brave enough? That’s what I would do in this situation when the plugin things I’m trying to get fields from the current page rather than the loop I am working on.

Expected Behavior

It should show field connections for the loop when working within the loop customizer of the posts module.

Current Behavior

It shows me no custom fields are available but it's looking in the wrong place, it's looking at the current page not the loop we are adding.

Possible Solution

It should query the selected post type in the posts module.

Steps to Reproduce (for bugs)

https://www.loom.com/share/25d9f824337f4689a0afb471921e6bc5

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions