Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 64413

A child theme template instead of list-item.php

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 64413

Trending Articles