Support » Theme: Oxygen » Replace Oxygen recent articles and more articles by blogroll

  • Hi,

    I´m trying to avoid to set the post in a particular way in the front page,
    I want to run a common blog using only the featured slider.

    How i can do it?

    Thanks a lot for yout time a patience with my english.


Viewing 1 replies (of 1 total)
  • Mark


    1. Set up a child theme.
    2. Place a file named page-template-front.php in your child theme folder.
    3. Put the following code in that file:

     * Template Name: Front Page
     * Magazine layout with several loop areas and a featured content area (slider). This template must be manually set for a page. Then the same page can be set as a Front page from Settings -> Reading -> Front page displays -> A static page.
     * @package Oxygen
     * @subpackage Template
    get_header(); // Loads the header.php template. ?>
    	<?php get_template_part( 'featured-content' ); // Loads the featured-content.php template. ?>
    	<div class="aside">
    		<?php get_template_part( 'menu', 'secondary' ); // Loads the menu-secondary.php template.  ?>
    		<?php get_sidebar( 'primary' ); // Loads the sidebar-primary.php template. ?>
    	<?php do_atomic( 'before_content' ); // oxygen_before_content ?>
    	<div class="content-wrap">
    		<div id="content">		
    			<?php do_atomic( 'open_content' ); // oxygen_open_content ?>
    			<div class="hfeed">
    				<h4 class="section-title">Links</h4>
    				<?php get_links(); ?>
    			</div><!-- .hfeed -->
    			<?php do_atomic( 'close_content' ); // oxygen_close_content ?>
    		</div><!-- #content -->
    		<?php do_atomic( 'after_content' ); // oxygen_after_content ?>
    <?php get_footer(); // Loads the footer.php template. ?>

    4. That gives you the default “Links” output. You can modify how links are placed there using the instructions found here.

Viewing 1 replies (of 1 total)
  • The topic ‘Replace Oxygen recent articles and more articles by blogroll’ is closed to new replies.