• Resolved socialwp

    (@socialwp)


    Hello,

    how to edit wordpress html?

    and what happens if I edit it? would be overrided when wordpress release a new version?

    if so? what should I do in order not to be overrided?

    and many thanks in advance.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What is it your trying to accomplish?

    Thread Starter socialwp

    (@socialwp)

    @sterndata

    thanks for your quick reply. I want to add classes to html tag in the blog just for example and other things

    • This reply was modified 4 years, 8 months ago by socialwp.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Well, as you might expect, “It depends”. For some things, you may be able to take advantage of hooks to modify the output of plugins, themes, and WP core. For other things, you may need to create a child theme to override parts of your theme.

    If you modify core, don’t. Ever. Just don’t.

    If you modify a theme the mods will be wiped out with each update, so you’d child theme.

    What’s one concrete example?

    Thread Starter socialwp

    (@socialwp)

    @sterndata

    thanks so much for information.
    while designing a blog I have tried to make the textarea to the comment form under the name. I already did with a function I have found.

    but I am still thinking what if I want to add html input in the comment form that does not exist such as country drop down menu, so I think I need to edit html in the comment form.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    There are plugins the allow you to customize the comment forms, as well as plugins that enable 3rd party comment systems. Or, as comments are typically part of a theme, you could child theme that. However, something like that should ideally be theme-independent. If you want to do it yourself, I suggest doing it as a plugin.

    Thread Starter socialwp

    (@socialwp)

    @sterndata

    thanks for the reply. but I have used many plugins on the theme. what is the maximum number of plugins could I use in landing page with blog? I feel it has become slow

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    There is no maximum.

    Thread Starter socialwp

    (@socialwp)

    @sterndata

    thanks for replying.

    Thread Starter socialwp

    (@socialwp)

    please, also I want to add bootsrap class and id to the textarea on the comment form.

    so please, how to do that?

    and many thanks in advance.

    • This reply was modified 4 years, 8 months ago by socialwp.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Again, child theme or plugin. It depends.

    Thread Starter socialwp

    (@socialwp)

    @sterndata

    thanks so much for helpful replies

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to edit wordpress html’ is closed to new replies.