June 11, 2015 at 4:58 am
#25578
Theme Horse Support Team
Keymaster
hi aris,
First of all unhook this functions
add_action( 'ultimate_loop_content', 'ultimate_theloop', 10 );
with `remove_action( ‘ultimate_loop_content’, ‘ultimate_theloop’, 1
0 );`
After doing it add this code
add_action(‘init’,’unhook_thematic_functions’);
add_action( 'ultimate_loop_content', 'ultimate_loop_content_child', 10 );
/**
* Shows the loop content
*/
function ultimate_loop_content_child() {
if( is_page() ) {
if( is_page_template( 'page-templates/page-template-blog-image-large.php' ) ) {
ultimate_theloop_for_template_blog_image_large();
}
elseif( is_page_template( 'page-templates/page-template-blog-image-medium.php' ) ) {
ultimate_theloop_for_template_blog_image_medium();
}
elseif( is_page_template( 'page-templates/page-template-blog-full-content.php' ) ) {
ultimate_theloop_for_template_blog_full_content();
}
else {
ultimate_theloop_for_page();
}
}
elseif( is_single() ) {
ultimate_theloop_for_single();
}
elseif( is_search() ) {
ultimate_theloop_for_search();
}
else {
ultimate_theloop_for_archive();
}
}
After adding this content you need to copy the content from content-extension.php from line no 86 to 735 in functions.php and edit the code that i have previously added.
Hope this may help you
Thank you!