Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
0 points
Beginner
Have started a child theme and for some reason the system isn’t able to detect the difference between premium/free listings (premium for me is showing maps, images etc etc). In fact it seems to not even use the “content-single-listing-business.php” page at all. I haven’t been able to find out what has gone wrong. Attached is my file structure for my child theme (I know I am not following the convention of adding a “_”to the start of files you are overwriting from the parent theme, and I am doing so because it didn’t work when I tried it).
From what I can see, all is working with the single.php file, but something is going wrong with this: <?php get_template_part( ‘content-single’, hook_listing_templatename($post->post_type) ); ?>
Have started a child theme and for some reason the system isn’t able to detect the difference between premium/free listings (premium for me is showing maps, images etc etc). In fact it seems to not even use the “content-single-listing-business.php” page at all. I haven’t been able to find out what has gone wrong. Attached is my file structure for my child theme (I know I am not following the convention of adding a “_”to the start of files you are overwriting from the parent theme, and I am doing so because it didn’t work when I tried it).
From what I can see, all is working with the single.php file, but something is going wrong with this: <?php get_template_part( ‘content-single’, hook_listing_templatename($post->post_type) ); ?>
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now