• Resolved frank tredici

    (@frank13)


    How can I get the Title of a Home Page to appear?

    I am using the Quark “out-of-the-box” Front Page Template.

    Home Page “view source”:

    <article id="post-1" class="post-1 page type-page status-publish hentry">
    		<div class="entry-content">

    Inner Page “view source”:

    <article id="post-2" class="post-2 page type-page status-publish hentry">
    			<header class="entry-header">
    			<h1 class="entry-title">Inner Page</h1>
    					</header>
    		<div class="entry-content">

    Thanks

Viewing 1 replies (of 1 total)
  • Theme Author Anthony Hortin

    (@ahortin)

    If you want the page title to appear on the Homepage, make a copy of content-page.php and add the file to your child theme folder. Edit this file in your child theme to remove the ‘if’ statement that checks for is_front_page(). It’ll look something like

    <?php if ( !is_front_page() ) { ?>

    Remove this line (line 11) and the corresponding closing brace (line 18) (<?php } ?>)

Viewing 1 replies (of 1 total)
  • The topic ‘How to get Title of Home Page to Appear’ is closed to new replies.