WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Add Template (12 posts)

  1. anatasia.dk
    Member
    Posted 1 year ago #

    Hi, I am trying to add a template to the 2012 theme, as I need to add my personal Google Calendar to my site (to be displayed on the Calendar tab). I have read this page several times, but I cannot seem to find out HOW it is done on my dashboard. Looking for some kind of "add new template" function, but I am lost. Do I create a new post, and from there magic happens?

    Hope someone can easily help me out :-|

    Thanks.

    /Tasia

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Do not edit the Twenty Twelve theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

  3. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Try this:
    Option one (less likely to work):

    Get the code from Google.
    Add a Text Widget to your Sidebar (or the location you want this to appear on your site)
    Paste the code from Google into the Text Widget.

    Option two (more likely to work):

    Get the code from Google.
    Create a Page, name it Calender.
    Switch from the Visual Tab to the Text(HTML) Tab.
    Paste the code from Google.
    Publish Page and then go look at it.

  4. anatasia.dk
    Member
    Posted 1 year ago #

    Esmi, I understand your point, but making such a small edit as this, should be alright - I don't want to turn everything upside down. But besides from this, I would like to make smaller changes in eg. font size, adding social icons.

    Seacost, the thing is, that I had a specially developed theme, where it was set-up like that, and my Google calendar was working just fine. But I now want a theme, that is more up to date, which is why I changed to the 2012 one.

    Anyway, I went for your option no. two, and now I can perfectly see my calendar. Thank you so much :-))

    /Tasia

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    I understand your point, but making such a small edit as this, should be alright

    Tell that to all of the forum volunteers who regularly have to talk people through re-loading a new copy of the 2012 theme when their "one small change" brings their entire site down. We really don't recommend child themes for the good of our health but because it is (a) better and (b) safer for your site.

    besides from this, I would like to make smaller changes in eg. font size, adding social icons.

    Then that is not "one small change", now is it?

  6. anatasia.dk
    Member
    Posted 1 year ago #

    Esmi, I have had a the previous special developed theme for 1½ years, and I have never had any issues what so ever. I can understand how a heavily customised site adds to the complexity, but if the theme cannot handle these "small changes" - which I think they are, then I don't the theme is well developed.
    To me, Word Press has a wide range of standard products, which are all made easy to customise for anyone and anywhere - making it your own personal product.

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Are you okay with losing your changes when WP is updated?

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Using a custom theme is not the same as using the default WP theme - default themes are overwritten when WP is updated. Making a child theme is THE BEST WAY to be able to make changes and still update WP (which is crucial for a number of reasons).

  9. Andrew
    Forum Moderator
    Posted 1 year ago #

    You may notice we're hammering this point and that is partially because we don't want others, who will come across this thread looking for guidance, to think it's okay to modify original theme files even a little bit.

  10. anatasia.dk
    Member
    Posted 1 year ago #

    WPyogi, If I know how the changes were made, then yes :-) But, I did not know that default themes were overwritten if you upgrade the version. But again, I have to ephasize, that I am talking about adding social icons (which should be a default setting to me in 2013), and increasing the font size. You make it sound, like I want to dramatically customise each and everthing in the theme :-)

  11. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Aside from losing your changes, it's crucial to have an unmodified version of the default theme for troubleshooting purposes. We also, simply don't like to help people do misguided things. So if you want help here, take our advice :).

    If you only want to make CSS changes, you can use a plugin to add Custom CSS - Custom CSS Manager is a good option.

    For Social icons, you can also use a plugin for that - that avoids changing theme files.

  12. anatasia.dk
    Member
    Posted 1 year ago #

    WPyogi, I have been working with IT support, and completely understand your take on supporting eagerly enthusiastic people, who have been playing around with their non-existing developer skills.

    I will try and find the Custom CSS Manager, and add it to my site.
    Also, a plugin for Social Icons.

    Thanks for your help and guidance, appreaciated :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags