Hi,
After having filtered avf_builder_boxes for a custom post types for using the enfold builder which these,i can’t find a way to include back a “get_adjacent_post” like navigation in their single pages. Where can i hack the code to implement it back ? or what can i filter/hook to do so ?
Thank’s
Regards
Hey Mborie!
I’m not sure what you mean by that, what changes have you made so far?
Best regards,
Rikard
Ok,
i’ve added a filter on ‘avf_builder_boxes’ to enable the enfold builder for some of my post types
<?php add_filter( ‘avf_builder_boxes’, ‘add_builder_to_post_type’ ); ?>
I don’t show you the add_builder_to_post_type() but it works like a charm and i can edit my custom pt with the builder.
My problem is that i can’t retreive a “previous_post” – “next_post” navigation when accessing one of my single custom post type pages.
My question is What/where is the file or snippet i have to hook on, or override to retrieve or implement a navigation on my single custom post type pages ?
Regards
Hello ?
Anybody out there ?
Hey!
Please add following code to Functions.php file in Appearance > Editor
add_filter( 'avia_post_nav_settings', 'enfold_customization_post_nav', 99 );
function enfold_customization_post_nav( $settings ) {
if ( get_post_type() == 'portfolio' ) {
$settings['is_fullwidth'] = false;
}
return $settings;
}
and change ‘portfolio’ with your custom post type
Regards,
Yigit
Ok thank’s,
Last thing where can find this filter in action, so i die smarter ?
Best regards
concerning to this but a bit different.
i have the custom post type : event
and i want to have the side-navigation left right for that too! prev next event.
I think i open better a new thread