Hi CindyIndyBones,
Did you paste View shortcode to content of your frontpage?
If you are using a template file for frontpage, you have to paste
<?php echo do_shortcode('[pt_view id="VIEW_ID"]'); ?> to relevant line in that file.
Hi PT Guy,
Thank you for your message!
My front-page.php file contains this:
<?php
get_header();
get_template_part( ‘parts/loop’);
get_footer();
?>
Where would I have to paste it? I tried it but my front page just showed an empty page.
Sorry, I’m really new to this 🙁
Best,
Cindy
If you want to display posts by View instead of content by active theme,
you can change front-page.php like this
<?php
get_header();
//get_template_part( 'parts/loop');
echo do_shortcode('[pt_view id="VIEW_ID"]');
get_footer();
?>
Please replace VIEW_ID with ID of View you want to use.
Best regards,
I did as you told me and now I get the big blog posts plus the news grid blog posts… They are squeezed in between the oldest blog post and the footer.
http://www.cindy-tierfotografie.ch
Ok I see,
please modify file front-page.php like this
<?php
get_header();
//get_template_part( 'parts/loop');
printf('<div class="container content post-1 post type-post status-publish format-standard hentry category-fotografie" style="padding-top: 15px;">%s</div>', do_shortcode('[pt_view id="VIEW_ID"]'));
get_footer();
?>
Wow, that’s amazing!!! It works! 🙂
Thank you so much for all of your help!
I will donate a little something to your plugin (it will be through my husband Sebastian’s account).
Best,
Cindy
Hi Cindy,
Thank you so much,
I’ve sent you an thank-you email.
Best regards,