Pull content from a certain page
-
Hey,
I ve got a question:
How can I pull the content of a certain page in my home.php (thats my theme’s startpage)?
I d like to display it at the end, shortly before the footer.
<?php get_header(); ?> <?php putRevSlider( "slider" ) ?> <?php the_content() ?> <?php get_template_part( 'page', 'index' ); ?> <div class="clear"></div> <?php if(siteorigin_setting('type_feature')){ get_template_part('features'); } if(siteorigin_setting('type_project')){ pitch_display_loop( siteorigin_setting('front_page_home_title_latest_projects', __('Unsere Leistungen', 'pitch')), array( 'posts_per_page' => 10, 'post_type' => 'project', 'order_by' => 'menu_order', 'order' => 'ASC', ), get_post_type_archive_link('project'), 'home' ); } if(siteorigin_setting('front_page_home_blog')){ pitch_display_loop( siteorigin_setting('front_page_home_title_blog', __('From Our Blog', 'pitch')), array( 'posts_per_page' => 10, 'post_type' => 'post', ), get_post_type_archive_link('post'), 'home' ); } get_footer();
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Pull content from a certain page’ is closed to new replies.