Close

Account

Documentation

Forum

Menu

Custom 404 page

  • Post count: 53
    webkiwi
    August 6, 2015 at 10:25 am #13395

    How do I customise the 404 page template?
    I’m able to edit it directly in the root folder of the theme – but, preferably, I would like to copy this to my child theme folder, so its not overwritten when I update. Which directory should it be located in, to then be used on the live site?
    FInally, how do I ensure that the 404 layout is the same as the rest of the site theme I am using? Currently, the site has the ‘Interior Design’ look/feel/navigation, but when the 404 page is displayed, it defaults to a left hand navigation style layout – not the main top menu layout I am wanting.

    Thanks.

    Post count: 2448
    Jegbagus
    August 8, 2015 at 2:38 am #13415

    hi webkiwi, on your child themes, you just need to create another 404.php file. and you will be to override 404 template from main themes.

    Thank you

    Post count: 53
    webkiwi
    August 8, 2015 at 4:00 am #13417

    OK, so I have successfully got a new 404 located in my child theme directory, working fine.
    However – it is not using the same settings as the rest of the site – I want it to have a boxed layout, top navigation etc etc.
    How can I make it work like the rest of the site?

    Post count: 6364
    Adek
    August 10, 2015 at 3:31 am #13428

    Hi webkiwi,

    Please try to setup the Override General Option when you’re going to edit those page on wp dashboard. For more detail information about Override General Option you can check it out here.

    Thank you

    Post count: 53
    webkiwi
    August 10, 2015 at 5:28 am #13431

    Dek, Thanks, but this doesn’t seem to work – the 404.php page loacated in the child directory does not show up in the wp-admin/pages area of the console – so there is no way to override the General options. The 404 page is not available to edit – as its a default wordpress file, its not a ‘built’ page inside the wp-admin area.
    Can you give more advice on this please?
    As I say, the 404 is working, it just doesn’t have the top navigation like the rest of the site – and I cannot override it as there is no way to edit it (unless using a text editor to manually edit the code – but I don’t know the code to enter for top navigation etc).
    Thanks
    Brendon

    Post count: 6364
    Adek
    August 11, 2015 at 8:45 am #13450

    Hi Brendon,

    Can you help me to provide login credentials into your wp admin panel so i can check it directly what actually happen in there. You can send it here and check the Set as private reply option below.

    Thank you

    Post count: 53
    webkiwi
    August 11, 2015 at 9:54 am #13456
    This reply has been marked as private.
    Post count: 6364
    Adek
    August 12, 2015 at 2:30 am #13470

    Hi Brendon,

    I’ve check your site and it’s just work fine on my side. Actually you also can setup Override General Option in there. Please check the image below.

    https://www.dropbox.com/s/ubwyj7ilp5wlqcq/Screenshot%202015-08-12%2010.41.56.png?dl=0

    Thank you

    Post count: 53
    webkiwi
    August 12, 2015 at 3:01 am #13473
    This reply has been marked as private.
    Post count: 53
    webkiwi
    August 12, 2015 at 3:15 am #13474
    This reply has been marked as private.
    Post count: 6364
    Adek
    August 12, 2015 at 3:20 am #13476

    Hi Brendon,

    I’ve been make a small change in there. Please check it out.

    Thank you

    Post count: 53
    webkiwi
    August 12, 2015 at 6:32 pm #13571

    Dek,
    Can you explain what you have done? Its not really sufficient to just say “Ive made a small change” – what exactly?
    And, although there is the correct page being shown when an incorrect url is browsed to – but what EXACTLY page is it using? Is it using the ‘error’ page I have created in the WP-admin, or is it using the 404.php page I created in the child theme directory?

    Post count: 6364
    Adek
    August 13, 2015 at 6:37 am #13578

    Hi Brendon,

    Previously, i just setup Navigation Position on the customizer.

    It will using 404.php file on your child theme, not 404 page that you created on wp admin.

    Thank you

    Post count: 53
    webkiwi
    August 13, 2015 at 9:12 am #13579

    Dek, I’m going to have to call it quits on this one – yes, the 404.php is working from the child theme directory, and it has the boxed layout look – so thats great, its just not able to have the footer options that I want it to, so unfortunately, for now, it will have to go without. I’ll close this ticket, thanks for your help. Please, add this to the ‘wish-list’ for future updates – havign a customised 404 page, that fits in with the rest of the theme.
    Cheers
    Brendon

    Post count: 6364
    Adek
    August 14, 2015 at 2:49 am #13589

    Hi Brendon,

    Actually if you want to have footer element as like Landing Page Template have, it will need to do some change as well. You can try to visit this topic http://support.jegtheme.com/forums/topic/blog-post-order-in-masonry/page/2/

    Thanks for your feedback, we will take a look on this thing for future update.

    Regards

    Adek

You must be logged in to reply to this topic.