WordPress.org

Ready to get started?Download WordPress

Forums

Editing the Admired theme 404.template problems (7 posts)

  1. Wombo55
    Member
    Posted 8 months ago #

    Yesterday I attempted to edit the message in the Admired theme 404.template, but mistakenly didn't do it through the child theme, which I assume I should have done. Somewhere along the line I must have done something wrong, because now instead of displaying the 404 error message a blank page appears.

    I would appreciate some advice on how to rectify this. Will I have to uninstall and then reinstall the theme or is there some other way that I can get the template back to what it was in the beginning and start again?

    My site is a members only site http://schregion.org.au

  2. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    You can download a new copy of the theme to your local computer from here:

    http://wordpress.org/themes/admired

    Then replace that file.

  3. Wombo55
    Member
    Posted 8 months ago #

    Ahh, thanks WPyogi. I didn't realise that I would be able to access that file by saving to my hard drive. But that has worked Thank you.

    Now all I have to do is make my edits without affecting the existing code. I want to change the wording and add a couple of links; here goes. :)

  4. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Put a copy of that file in the child theme and change it there.

  5. Wombo55
    Member
    Posted 8 months ago #

    Yes I am doing just that, having learnt my lesson :)
    As I said in my original post I made the changes to the parent 404.template, instead of the child theme, by mistake.

    I am slowly learning.

  6. Wombo55
    Member
    Posted 8 months ago #

    I would now like to have links on the 404 page to some of my pages as well as recent posts.

    I have never learnt php.script. Would you be able to give me some pointers please?

    Would it have to be something along the lines of the code for the posts?

    ie

    <?php the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) ); ?>

    I have copied that from the Admired 404.template

  7. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    I'd actually suggest you make a new thread on the theme's own forum here:

    http://wordpress.org/support/theme/admired

Reply

You must log in to post.

About this Topic