Hi,
On https://www.festivalflyer.com/festival/bloodstock-2017/ I am using a custom post type. I am using the single_template_8 as the theme. Unfortunately the featured image is not being shown
The code below is not bring displayed. Any advice?
// if the theme has tdBackstr support, it means this already uses it
if ( 'undefined' !== typeof window.tdBackstr ) {
(function(){
// the site background td-backstretch jquery object is dynamically added in DOM, and after any translation effects are applied over td-backstretch
var wrapper_image_jquery_obj = jQuery( '<div class=\'backstretch\'></div>' );
var image_jquery_obj = jQuery( '<img />' );
wrapper_image_jquery_obj.append( image_jquery_obj );
jQuery( 'body' ).prepend( wrapper_image_jquery_obj );
var td_backstr_item = new tdBackstr.item();
td_backstr_item.wrapper_image_jquery_obj = wrapper_image_jquery_obj;
td_backstr_item.image_jquery_obj = image_jquery_obj;
tdBackstr.add_item( td_backstr_item );
})();
}
-
This topic was modified 9 years by
JanuszJasinski.
Hello JanuszJasinski,
Please keep in mind that the post templates does not work with the custom post type, sorry! This custom post type has been designed to be used only with the default post template, sorry! If you want to make it work as expected, notice that you will need to do some additional customization which involves custom work, sorry! If you want to display more levels in our theme, and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for your understanding!
