I see that the mobile theme displays biggrid posts from a featured category and then the latest posts. I need to change the query loop to display 5 posts from category x, then 5 posts from category y, and then 5 posts from category z. I guess I would like to use a different module on the front-page.php in mobile theme.. I love the speed and simplicity of the mobile theme however if I have no way to modify the mobile home page I will have to revert back to responsive theme which I’d rather not do.. Thanks
churchleaders.kinsta.com
Hello tootiefrutie,
Unfortunately, our theme does not have any such an option that allows you a way to change the functionality of homepage from our mobile theme, sorry! Notice that all of your requests involve additional customizations and if you want to change the structure of it, you should edit the theme core file and alter the code in order to achieve as you wish. As a hint, you should edit the front-page.php and td_block_big_grid_mob_1.php file from mobile folder, like this -> http://screencast.com/t/PxQQyoCVN8jv -> http://screencast.com/t/XXkegGCC70a
Please notice that is not a simple task and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for the message!
I’m trying to add another query/loop to the mobile homepage. I’d like to display latest posts from both “News” and “Podcast” categories. I’ve duplicated the loop, however nothing is being rendered the second time. Why?
<!-- begin Podcast loop -->
<div class="td-container td-pb-article-list td-main-content" role="main">
<?php if ( empty( $paged ) or $paged < 2 ) { ?>
<h4 class="block-title"><span><?php //echo $td_list_custom_title; ?>Latest Podcasts</span></h4>
<?php }
$posts_per_page = get_query_var('posts_per_page') ? get_query_var('posts_per_page') : 5;
// query used on Latest Articles section
$wp_query_args = array(
'ignore_sticky_posts' => 1,
'post_status' => 'publish',
'posts_per_page' => $posts_per_page,
'paged' => $paged,
'category_name' => 'Podcast',
'posts_per_page' => 5,
);
query_posts($wp_query_args);
locate_template('loop.php', true);
echo td_page_generator_mob::get_pagination();
wp_reset_query();
?>
</div>
<!-- begin News loop -->
<div class="td-container td-pb-article-list td-main-content" role="main">
<?php if ( empty( $paged ) or $paged < 2 ) { ?>
<h4 class="block-title"><span><?php echo $td_list_custom_title; ?></span></h4>
<?php }
$posts_per_page = get_query_var('posts_per_page') ? get_query_var('posts_per_page') : 5;
// query used on Latest Articles section
$wp_query_args = array(
'ignore_sticky_posts' => 1,
'post_status' => 'publish',
'posts_per_page' => $posts_per_page,
'paged' => $paged,
'category_name' => 'News',
);
query_posts($wp_query_args);
locate_template('loop.php', true);
echo td_page_generator_mob::get_pagination();
wp_reset_query();
?>
</div>
Hello tootiefrutie,
Unfortunately, your request involves custom work and please keep in mind that we cannot provide this type of services at the moment, sorry! This request involves time-consuming, and we are a small theme which is focused only on technical theme support, bug fixes and improvements. If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you!
Thanks for your understanding!