How can I edit the HTML code for Wordpress

7 replies
Dear Warriors,

How do I edit HTML code in my WordPress Blog?
#code #edit #html #wordpress
  • Profile picture of the author jorgesil
    This is easy to do.

    Login in to dashboard, on the left side column click in *APPEARANCE*
    after click *EDITOR*

    You will see in the right sidebar column all the theme files,just click any you want
    and it will open the editor to make changes you need.

    Hope this helps

    Jorge
    {{ DiscussionBoard.errors[3009988].message }}
  • Profile picture of the author Abledragon
    Most (if not all) those files in the theme editor will be either PHP or CSS. Your question was about HTML, which is one of the tabs in the Post Add/Edit screen. Click that tab and you'll get the HTML view.

    Note, though, that WordPress uses HTML filters which suppress some stuff. To get around this I use the Raw-HTML plugin, which I reviewed here:

    Raw-HTML: How to Beat the WordPress HTML Filters | Create an Awesome Home Business

    Cheers,

    Martin.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[3011781].message }}
  • Profile picture of the author Istvan Horvath
    Originally Posted by Farouseh View Post

    How do I edit HTML code in my WordPress Blog?
    Wrong question... that's why you don't get definite answer. When I say "wrong" I mean very vague.

    WHAT exactly do you want to edit and why? Be specific!
    Signature

    {{ DiscussionBoard.errors[3011927].message }}
    • Profile picture of the author CyberSorcerer
      Originally Posted by Istvan Horvath View Post

      WHAT exactly do you want to edit and why? Be specific!
      Well put. There's 3 places to edit Wordpress and it requires a lot more knowledge than just editing a regular HTML site.

      You have the core of Wordpress, which isn't a place for non-programmers. Then you have the HTML that you can put in your post by clicking on the HTML tab in the top right of the WYSIWYG editor. And lastly, you have the editor mentioned above under the appearance which gives access to the raw PHP and CSS.

      I don't use that editor myself because I do all my development in Dreamweaver. But to save a lot of space here, if you're asking that question it's best to just hire someone that knows Wordpress, or a friend if you have one that knows WP.
      {{ DiscussionBoard.errors[3011954].message }}
  • Profile picture of the author Istvan Horvath
    And lastly, you have the editor mentioned above under the appearance which gives access to the raw PHP and CSS.
    That's the thing that nobody should ever use... the online theme editor.

    Let me clarify something about the template files (not the stylesheet). Even if they have the .php extension they are just plain HTML code - with some code snippets in between, called template tags in WP.

    They are, basically, "short code" to call functions defined in the WP engine (core files).
    Signature

    {{ DiscussionBoard.errors[3012013].message }}

Trending Topics