• Hi all,

    Currently I am refreshing my portfolio site, but I want a particular page to be the permanent homepage of the site. As of right now, I cannot find a simple setting to set the ‘Professional’ page I have made and set it to be the main home page.

    I have tried making a static page, but when I set the ‘Front Page’ to ‘Professional’, nothing loads at all. The front page appears blank.

    I am siting here scratching my head how such a setting doesn’t exist.
    Could anyone help illuminate where or what I am doing wrong?

    My site as of right now is daveosei.com. The Professional tab is what I want to be the current home page, not the slider in place.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello!
    One way to serve a particular page as your ‘Home’ page, is to create a template file.
    The Codex is helpful on this matter:
    To create a custom site front page template, include either of the following in the Theme:
    front-page.php
    A Custom Page Template (e.g. template-featured.php for featured content)

    Much more about Static Front pages in this Codex page.

    Good luck!

    Thread Starter daveosei

    (@daveosei)

    Thanks for the help, but using these Static Page steps did not help at all.

    Firstly, I created a front-page.php using a simple text editor, copied the code from page.php and pasted it into front-page.php (I looked up for to create one and this was the answer I found).

    Then when I uploaded it to my server, and changed the settings in my Theme for Static Page to show my Professional Tab – nothing loads. In fact it loads for so long that I believe it cannot even find what it is looking for.

    I really have no idea why this is so difficult to change.

    I am using the Elegance theme.

    The front-page.php has this inside of it, if that help (it is the same as my page.php):
    <?php
    /**
    * Page Template
    *
    * @package Mysitemyway
    * @subpackage Template
    */
    global $mysite;
    get_header(); ?>

    <?php if( isset( $mysite->is_blog ) ) : ?>

    <?php get_template_part( ‘loop’, ‘index’ ); ?>

    <?php else : ?>

    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>

    <?php mysite_before_entry(); ?>

    <div class=”entry”>
    <?php the_content(); ?>

    <div class=”clearboth”></div>

    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page_link”>’ . __( ‘Pages:’, MYSITE_TEXTDOMAIN ), ‘after’ => ‘</div>’ ) ); ?>
    <?php edit_post_link( __( ‘Edit’, MYSITE_TEXTDOMAIN ), ‘<div class=”edit_link”>’, ‘</div>’ ); ?>

    </div><!– .entry –>

    <?php mysite_after_entry(); ?>

    </div><!– #post-## –>

    <?php endwhile; ?>

    <?php endif; ?>

    <?php mysite_after_page_content(); ?>

    <div class=”clearboth”></div>
    </div><!– #main_inner –>
    </div><!– #main –>

    <?php get_footer(); ?>

    Hmm, sorry you’re having trouble with the front page.

    If your theme is a Premium theme, you may try the theme’s support page; they should be able to point you in the right direction.

    Did you try using a Custom Page Template?
    <?php /* Template Name: My Professional Template */ ?>

    Read more about Page Templates in the Theme Handbook.

    Thread Starter daveosei

    (@daveosei)

    Thank you beaudaignault for the help.

    I’ll try the Custom Page Template once free and try contacting the Elegance support page.

    Thanks again!

    A pleasure!
    Good luck!

    Cody

    (@stearns208)

    Did you also set a Posts page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Trouble setting certain page to HOMEPAGE’ is closed to new replies.