Extended Page Type: post_title not working
-
Hi
first a big thanks to for the plugin. Been using it for about a month now and getting great results. So far, I’ve been able to resolve all issues on my own but this one is a bit strange (maybe a bug ?)So, here’s my situation:
I have a pod called Error Code, that has a custom taxonomy Error Code Category which includes a relationship to a page. I use this to link to a custom page depending on the category of the error.In the template I’m using this code to display this
List with other codes can be found here: <a href="{@error_category.related_list.permalink}" target="_blank" rel="noopener">{@error_category.related_list.post_title}</a>
This has been working well until I created a extended page type with no extra fields (reasons for this below in case there’s another solution to achieve this). Since I did that, post_title is empty and doesn’t give any results back. Other fields like ID or post_name still work.
Do I need to put something else than post_title ? As a workaround, I’ve added an extra field and c/p the title which works but I would like to use post_title.
Background on why I made an extended page type: In another post, I wanted to display the content of a page as a whole with a short code which I achieved by adding this.
[pods name="page" id="<ID of the post>" field="post_content"]
It didn’t work if I put post instead of page and for page to work I needed an extended page type.
The page I need help with: [log in to see the link]
- The topic ‘Extended Page Type: post_title not working’ is closed to new replies.