Edit theme in Wordpress

Asked

Viewed 2,569 times

0

It is possible to edit a theme in Wordpress without affecting the structure of it, and add more features to the third party theme?

  • 4

    Yes, it is possible.

  • That would be a good answer. If you can elaborate on the question, adding research, trials, current problems, it would improve a lot and has a chance of reopening.

  • I could even ask the question, but when I ask a very complex question they say to simplify when I ask obvious and simple questions answer but vote negative, here is not a developer help community?

  • Bruno, "help community" is not... It is a Questions and Answers site with the goal of building a high quality library for future reference (the thousand visitors who come after you are more important than you, pure and raw truth). If you can’t spend 20 minutes to write a cool question (preferably more than 20), I won’t spend 40 minutes to write a cool answer, full of references, tested sample code, etcetera and such...

  • Just edit the question explaining what you have already researched, what problem you are facing and what you tried to solve. It’s your job to find the balance between the complex and the simple. [help] is there to help you. You can also ask for support in [meta].

2 answers

1

You can edit the theme yes without changing the structure and functionalities, but it’s not ideal because all editions will be overwritten in the next theme update.

The best option to edit themes is indicated by Wordpress: create a child theme. The files that exist in the son theme replace the main theme and Wordpress uses parent theme those that do not exist in the son theme.

The only exception is the file functions.php which is read first on the theme son and then on the theme father. If the parent theme is well written, you can override any function of functinos.php by just redeclareting it in the child theme.

To make the theme son you can use the guide on Codex or use a plugin, looking in the repository for "Child Theme".

0

Yes it is possible.

If after searching a lot for a theme you do not find the functionality you need, you will need to edit Wordpress theme that you acquire so that it manages to realize such functionalities.

Reference for editing templates:

Wordpress CODEX

Browser other questions tagged

You are not signed in. Login or sign up in order to post.