Skip to content

Connecting to a Template does not work in a Posts Module Custom Layout #93

Open
@codente

Description

@codente

Issue Overview

Nothing is output when connecting a Pods Template to a Posts Module Custom Layout.

Expected Behavior

I would expect the Template to output.

Current Behavior

Right now, nothing outputs IF you choose Connect and not insert. "Insert" works okay.

Possible Solution

n/a

Steps to Reproduce (for bugs)

  1. Add a Posts module to an archive layout
  2. Select Custom Layout and erase the box
  3. Then connect that field to a Template using the + and connect option
  4. Nothing is output
  5. Change to insert instead of connect and it works

Todos

  • Tests
  • Documentation

WordPress Environment

``` WordPress Version: 4.9.5

PHP Version: 7.2.11-2+ubuntu16.04.1+deb.sury.org+1

MySQL Version: 5.5.5

Server Software: nginx/1.14.0

Your User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Session Save Path: /var/lib/php/sessions

Session Save Path Exists: Yes

Session Save Path Writeable: Yes

Session Max Lifetime: 1440

Opcode Cache:

Apc: No
Memcached: No
OPcache: Yes
Redis: No
Object Cache:

APC: No
APCu: No
Memcache: Yes
Memcached: Yes
Redis: Yes
WPDB Prefix: test_

WP Multisite Mode: No

WP Memory Limit: 40M

Pods Network-Wide Activated: No

Pods Install Location: /var/www/test.codente.com/htdocs/wp-content/plugins/pods/

Pods Tableless Mode Activated: No

Pods Light Mode Activated: No

Currently Active Theme: BB Child Theme Test Copy

Currently Active Plugins:

Beaver Builder Plugin (Agency Version): 2.1.5.2
Beaver Themer: 1.2.0.3
Pods - Custom Content Types and Fields: 2.7.9
Pods Beaver Themer Add-On: 1.3.0
WP Downgrade | Specific Core Version: 1.1.4

</details>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions