Support » Theme: Twenty Fourteen » text before featured at home page

  • Resolved nadyaQL

    (@nadyaql)


    Hi, i will like to change the text of my home page to appear before the featured grid, if is this possible,
    thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @nadyaql,

    Could you please share me your site link so that i can help you to change the text of your home page?

    Also tell me exactly which text you are referring.

    Kind Regards,
    WPMU DEV

    nadyaQL

    (@nadyaql)

    HI, my site is at local host,
    but what i need is:

    I create a page named home, and set this page as static front page.
    the front page displays a featured post grid, and after it the text/content i wrote on this page. but i will like to have first this content and then the featured post grid.

    don’t know if you get what i mean, thank you so much for take the time to help me.

    nad

    Hi @nadyaql,

    Thank you for your reply.

    You can achieve it by overwriting and editing following particular Twenty Fourteen theme template files in your child theme.

    page.php ( If you are using default page template for home page. )

    full-width.php or contributors.php ( If you are using contributors or full width page template for home page. )

    Remove / comment the following code from the template file which you will find around line number 18

    <?php
    	if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
    		// Include the featured content template.
    		get_template_part( 'featured-content' );
    	}
    ?>

    After removing the above code add it again before the following closing div

    </div><!-- #main-content -->

    Also you will have to use the following CSS code in the style.css file of your child theme to display it properly.

    div#featured-content {
        position: static;
    }

    Best Regards,
    WPMU DEV

    Thank you so much!
    it works 🙂

    😉

    You are most welcome, if I can be of any further assistance please don’t hesitate to ask 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘text before featured at home page’ is closed to new replies.