A child theme template instead of list-item.php
-
Greg, I have customized the Twenty Seventeen content.php template to display both posts and adverts in the same manner on the home page. Now I want to use this template with the
[adverts_list]
shortcode, from the same location (/wp-content/themes/twentyseventeen-child/template-parts/post), instead of list-item.php. I checked the documentation, but I am unable to solve this, so temporary I just renamed the content.php to list-item.php and copied it to the plugin template directory. Can you suggest how to solve this in a correct way?Regards,
Iurie
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘A child theme template instead of list-item.php’ is closed to new replies.