1. What should I do with the code on GitHub? where should I place it?
2. I tried the second option. Where should I place this:
<?php
global $wp_query;
echo shortcode_adverts_list(array(
“category” => $wp_query->get_queried_object_id()
));
?>
over there?
<?php
global $wp_query;
remove_filter(“the_content”, “adverts_the_content”);
echo shortcode_adverts_list(array(
“category” => $wp_query->get_queried_object_id()
));
?>