• Resolved AccelerHosting

    (@accelerhosting)


    I’m using Pods with Blocksy, and so far it’s great, but I’m trying to include some of my custom fields into posts and it seems that some of the filter hooks are not working as expected.

    To hook the custom fields into a Post, Pods needs a “Singular Template Filter”, which defaults to “Filter: the_content”, which works fine for regular post types, but for Reviews it doesn’t work. Is there another filter I can hook for Review post types?

    Thanks!
    Jacob

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter AccelerHosting

    (@accelerhosting)

    Got it figured out for the single template. It looks like the_content was the right filter, it just wasn’t outputting in the place I was expecting, since there are multiple other outputs on the page.

    My other question is how to get it working for the list view (archive view)? For that Pods hooks “the_excerpt” filter by default, but it doesn’t seem to be working at all. Is there another filter hook I should be using there?

    Thanks!

    Hello @accelerhosting

    Glad everything’s fine now. Let us know if you have any other questions!

    Take care

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter hook for Reviews?’ is closed to new replies.