WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Will this work? (9 posts)

  1. Steve WG
    Member
    Posted 1 year ago #

    I’ve been playing around with instant WordPress for a couple of weeks, just to get the hang of the programme before I install it locally on my PC.

    I’m not looking for a blog style website, just one static front page with some text and a link to an eBook in PDF file format. I’ve gone to Appearance, Editor then into the various options such as comments, side bars, footer, archives etc.. and deleted ALL the html in every section; I’m left with a nice picture header, the text I require and a link to my eBook, with no other surrounding junk, which is exactly what I require.

    My question is this: when I eventually install WordPress locally, and proceed with this same method and upload the finished template to a remote host, Will my primitive method of deletion have any diverse effect on my website, i.e. make it crash or not work properly?

    Thanks in advance for your help and advice.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Will my primitive method of deletion have any diverse effect on my website, i.e. make it crash or not work properly?

    Possibly - it depends what all you've deleted. What theme are you using?

  3. Steve WG
    Member
    Posted 1 year ago #

    Currently using theme Twenty Ten version 1.5, as mentioned I’ve deleted all content within the widgets then saved, all seems to be working fine, yet don’t know if it’s gonna work on a remote host

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    If it's just within widgets, that should not be a problem at all. But your OP sounded like it was more extensive. Did you delete code in theme files (i.e. php files)? If so, be sure that you are using a child theme.

    http://codex.wordpress.org/Child_Themes

    That way your changes won't be overwritten when WP/theme is updated.

  5. Steve WG
    Member
    Posted 1 year ago #

    Not too sure how to tell if I’m using a child a theme. Went to installed themes and entered “child theme” in the search box and both themes Twenty Ten and Eleven states they are installed. Yes I deleted all php files in the themes I mentioned, so the page is actually blank, and it had the desired effect.

    Obviously this is a bit extreme, and it would be better to adjust files rather than delete them. I know how to adjust the code in the comment widget to remove it, but lack the knowledge to remove the other widgets that I don’t require, if you could recommend a good tutorial that would be most helpful.

    Thanks again

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    No, those are not child themes if you installed "as is." Thus, your theme/site changes will be completely deleted when WP is updated. See the linked page above for how to create a child theme.

    Deleting php code/files may impair functionality of WP. Without more specific info, it's hard to know for sure, and this scope of help may be beyond these forums -i.e. people here can't really go through all the files on your site, etc.

    If you are looking for a barebones structure, you might want to look at themes that are designed for that - two possibilities:

    http://wordpress.org/extend/themes/blankslate

    http://wordpress.org/extend/themes/toolbox

    This may also be helpful so far as information about how themes and WP are put together and function:

    http://codex.wordpress.org/Theme_Development

  7. Steve WG
    Member
    Posted 1 year ago #

    OK. I was under the presumption that one could download child themes and that were ready to use...obviously not!

    Thanks for the links I’ll take a good look, also found this plugin that might be helpful

    http://wordpress.org/extend/plugins/one-click-child-theme/

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Some theme developers do offer a free (or sometimes paid) child theme - just as a bonus, and there are a few in various places around the web (be cautious about where you get any theme though), but in general, you need to create your own child theme, yes.

    And yes, people do use that plugin - though it's really not hard to do it yourself.

  9. Steve WG
    Member
    Posted 1 year ago #

    Ok, thanks for the help and advice.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.