Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when using pods connections in the posts module #108

Open
pixelloop opened this issue Jul 29, 2020 · 2 comments
Open

Issue when using pods connections in the posts module #108

pixelloop opened this issue Jul 29, 2020 · 2 comments

Comments

@pixelloop
Copy link

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

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.72. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug label Jul 29, 2020
@quasel quasel self-assigned this Aug 7, 2020
@quasel
Copy link
Member

quasel commented Jan 9, 2021

Sorry for the late reply, it's a known limitation until we find a workaround - Magic Tag & Pods Templates useful docs: Magic Tags - https://docs.pods.io/displaying-pods/magic-tags/, Template Tags - https://docs.pods.io/displaying-pods/template-tags/

e.g

[pods]

// any shortcodes from BB or any other html 
{@your_field}
{@post_title}

[/pods]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants