• I have a static homepage selected in the homepage settings. I also have the author’s message enabled. The text on the page being used and the static home page is being displayed in the author’s message block, which is what I want.

    When I select a blog page in the homepage settings, the static homepage is ignored or overwritten with the blog page. The author’s message changes to the title of the blog page and the rest is empty (because there is nothing that page).

    Sometimes when the blog page is selected the Front Page Header Title and Front Page Header Sub Title are also changed to blog title and blank. I have seen this happen when I have it setup so its like I want (author message, titles, etc) and if I go to the general settings to designate the blog page the titles are not changed but the other changes occur.

    This seems like a bug but I could not have the settings correct. If that is the case, please advise.

    Thanks.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Theme Author themepalace

    (@themepalace)

    Hello @sqweets,

    This does not seems to be a bug. It is the default characteristic of Customizer that when blog page is selected, customizer reloads and the blog page is shown in the preview panel. The settings of static homepage is not hindered though if you check the homepage. Hope this helps. If there is still any confusion let us know.

    Regards,
    Theme Palace

    Thread Starter sqweets

    (@sqweets)

    I create a page titled “Author’s Message”. I set that as the Homepage. I see the page title and the text on that page displayed on the homepage under the header image. This is with nothing selected as a Blog or posts page.

    I then select a static page as the posts page. It is a blank page titled “My Blog”. The home page changes (under the header) to show the title of the posts page (My Blog) and the rest of the section is blank. Anything from the chosen static homepage is removed.

    I see this as the blog page replacing the homepage I originally chose and I can’t see how this is right. Because the results are that you cannot have a blog page AND a static home page.

    Theme Author themepalace

    (@themepalace)

    @sqweets,

    It is not that blog page is replacing the homepage. It’s just loading on the Customizer Preview panel.

    After you select a static page as the posts page, click on the logo or homepage URL then the homepage will reload with it’s sections.

    OR

    First select the blog page and then set the homepage aftewards. It should work.

    Let us know if it helps.

    Regards,
    Theme Palace

    Thread Starter sqweets

    (@sqweets)

    Neither of those worked. I tried all the combinations I could think of (clicking the homepage link included) and none worked. Also, if I de-select the blog page the selected homepage will not come back unless I make the homepage recent posts then select static page again, then select the static homepage.

    Thread Starter sqweets

    (@sqweets)

    I have created a child theme where the only thing I have modified is the css.
    I have also cleared browser cache and tried incognito as well. I am working on a local site (MAMP) and have restarted the server. And actually now, I can’t get the homepage text to show up at all.

    This is the code in my functions file just FYI:

    <?php
    function mega_blog_child_enqueue_styles() {
    
        $parent_style = 'mega-blog-style'; 
    
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style ),
            wp_get_theme()->get('Version')
        );
    
        wp_enqueue_style( 'custom-google-fonts', 'https://fonts.googleapis.com/css?family=Yesteryear', false );
    
    }
    add_action( 'wp_enqueue_scripts', 'mega_blog_child_enqueue_styles' );
    
    ?>
    • This reply was modified 6 years, 5 months ago by sqweets.
    Theme Author themepalace

    (@themepalace)

    @sqweets,

    Regarding the reloading of the homepage in Customizer, it’s the default WordPress feature.

    Regarding the child theme, your code is working fine and all the homepage sections are working fine.
    We are confused on “homepage text”. Can you clarify with screenshots?

    Regards,
    Theme Palace

    Thread Starter sqweets

    (@sqweets)

    This is the correct page (after getting it corrected, more on that below): https://photos.app.goo.gl/Z1XNm6HzbE8c3DU77

    Outside the customizer, still correct: https://photos.app.goo.gl/P9XNBM7J7Ya6BwsRA

    Add new page (used link in customizer, below select box) The blog page is now the homepage: https://photos.app.goo.gl/hdoxFPTNJ2VMkoFm7

    Outside customizer: https://photos.app.goo.gl/jjB4bnEtBhJXks9C7

    Removed blog page selection, no change on homepage: https://photos.app.goo.gl/ywZxaCMuDuV7K5ws6

    In fact, I have to delete the blog page to get it removed from the homepage, the customizer settings are totally ignored.
    I have also seen where I have the homepage correct (like the first image) and go to the admin menu and create a page and that page straight away replaces the homepage. Without going into the customizer.

    I have tried this in an incognito window as well as trying clearing browser data at different points in the setup. Neither made any difference.

    I went to the twentyseventeen theme and everything worked fine. I enabled the base theme and it worked the same as the child theme (just trying to cover all the bases)

    I suspect that there is a value in the database that is in an invalid state maybe. (previous job involved a lot of debugging wordpress and drupal sites). If you would like a copy of the database, I can send that. I am also preparing to start debugging this myself. Once I decide if that time is better spent finding another theme or not.

    Theme Author themepalace

    (@themepalace)

    @sqweets,

    After assigning the blog page, go to Front Page->Author’s Message in the customizer and assign the author page you want.

    It should work now.

    Thread Starter sqweets

    (@sqweets)

    Did not work. How it worked is unchanged from previously described.

    Theme Author themepalace

    (@themepalace)

    @sqweets

    We could not quite figure out your issue. If possible, please provide us with wp-admin for your site at [email protected] and we will look into it.

    Regards,
    Theme Palace

    Thread Starter sqweets

    (@sqweets)

    I do not see how sending you a folder from the core wordpress files will help. The site is running with version 4.9.6.

    However, I wonder if you realize that I have the Author’s Message section enabled (under Front Page): https://photos.app.goo.gl/YETXqcPHcFq8SAD9A

    And: https://photos.app.goo.gl/frZt2btQQp4g46B29

    Note that the field where “Front Page Quote” is shown is NOT a dropdown that gives you the list of pages to select from. There is just a blank field that I manually typed in “Front Page Quote”.

    Also, I can not remove that text at all now. Which seems like a pretty bad bug itself. Whether or not something was typed in this field did not matter at all.

    And note that if the Front Page Quote page is NOT selected as the static home page nothing shows up on the homepage in the author’s message section. Well, I assume its the author’s message section. I can’t tell what the other options under “Front Page” even do.

    If the Author’s message is enabled, it would show the static homepage until a blog page was selected.

    • This reply was modified 6 years, 5 months ago by sqweets.
    Theme Author themepalace

    (@themepalace)

    @sqweets

    Sorry for the confusion, we mean to say provide us with the admin access to your site. So we can verify the issue on your site itself. So provide the admin access to this mail: [email protected]

    Regards,
    Theme Palace

    Thread Starter sqweets

    (@sqweets)

    I am working in a local environment. I am very busy and will be for a long time but I will try and put it up when I can.

    Theme Author themepalace

    (@themepalace)

    @sqweets,

    Okay. We will help you out on that when you are good to go.

    Regards,
    Theme Palace

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Static homepage with blog page bugged’ is closed to new replies.