How to use exhisting td_module into custom child-theme single.php template

Posted in: Newspaper
Post count: 14

Hi Newspaper, I have created this page:
https://eastwest.eu/it/autori/matteo-meloni/ (single-autori.php) It’s a custom php template into my child theme based on Newspapaer. I would like to load a list of posts based on a custom fields, so I have used:


$args = array('meta_key' => 'seleziona_autore', 'meta_value' => $post->ID);
query_posts($args);
get_template_part('loop' );

I would like to load a “tdb_module_loop” layout to show posts as happens in search results or category lists:
https://eastwest.eu/it/categoria/la-notizia-del-giorno/
https://eastwest.eu/it/?s=matteo+meloni

How can I perform this? Do I have to change :


get_template_part('loop' );

with something different?

Post count: 21065

Hello!

Unfortunately, this will require custom work which is not covered by the support team.

Thank you for understanding!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.