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) ); ?>
(I also haven’t made ANY modifications to the following files: single.php content-single.php content-single-post.php content-single-listing-business.php content-listing.php )
In the mean time I am putting the content from the “content-single-listing-business.php” into a file called “single-listing_type.php” and all is currently working
Hello Alex, Make sure you follow all steps outlined by Premiumpress in setting up a child theme.If still having the problem i suggest you open a ticket
Start your new website today!