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
Magic tag for user meta is blank (wp_usermeta not getting joined) #895
Comments
Duplicate of #854 (which should be fixed)? |
Looks like it may be. Do you know when this commit will probably wander into the WP repository version? Should I just wait or go to a development version on a live site? |
There are couple dozen fixes in the latest over 2.1, and counting, so I highly recommend it over 2.1. You can use the normal WP update when the official 2.1.1 comes out (which will be soon) to get back on the release version with no problems. |
Fixed the prepending of 'And' but clearly is not entirely a duplicate. {@author.description} still no longer works—even in the latest commit.There is blank space where a bio ought to be. |
What type of pod and storage type for author? What is the field type for description? Keep in mind my first step is usually setting up to recreate the situation, I almost have all I need. |
The pod is an advanced content type, which has the usual automatic field, relationship to "author." I wanted to use the built-in WP users and bios and this was how sc0ttkclark told me to do it, which worked until Pods 2.1. |
Can this be retested w/ latest commit? |
I'm doing some testing on this, details coming once I've done my homework. This issue here is specifically retrieving user meta via a relationship field, eg: {@author.description}. |
Just upgraded to 2.2 and still no bio showing up. Template: {hr} Nothing's showing. |
Author is a relationship field on your Pod? |
Looks like it. It's the standard author field created with advanced content types and says this when I hover. Relationship [type: pick] |
Any clue whether it's something I'm doing wrong or the plugin's doing wrong? 'Cause if it's me, I'll keep hammering away at it. |
The issue in this is called out in #971, not specific to users |
I'm using the following shortcode to pull the related author info from an advanced content type "Infoboxes":
[pods name="infoboxes" slug="portrait-of-a-butterfly" template="Author Description"]
The template code looks like (removed brackets):
hr
h3{@author}/h3
p{@author.description}/p
The output looks like (removed brackets):
h4 and Liana Mir h4
No description and prepended the word 'and.' This template worked fine in the previous version of Pods, so I'm not sure if it's related to #851.
The text was updated successfully, but these errors were encountered: