Help implementing Types content output

Posted in: Newspaper
Post count: 7

Hello,

I am trying to output Types content (custom post type fields) on a single post view but my custom field data does not show up.

The plugin suggests registering the theme framework as such:


add_action( 'init', 'prefix_register_framework_in_views' );
function prefix_register_framework_in_views() {
$framework_id = 'framework_slug';
$framework_data = array(
'name' => 'The framework name',
'api_mode' => 'function|option',
'api_handler' => 'Function name|Option ID'
);
if ( function_exists( 'wpv_api_register_framework' ) ) {
wpv_api_register_framework( $framework_id, $framework_data );
}
}

What would I need to use for Framework name/API mode and handler parameters in this function?

Thanks in advance.

Post count: 7

I was able to solve this issue by entering get_content into:

Toolset > Settings > Theme support for Content Templates

field, in case it is useful to someone else.

Thanks.

Post count: 4

Hey mightypixel,

Anything else you did to make custom fields show up?
I installed Newspaper and Toolset from scratch but still, only title shows up.

Also tried all other plugins for custom content and custom fields but not luck. Not able to code so had to skip ACF, and this looks like a perfect solution.

Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.