Title: Doubts when it comes to managing WordPress using PHP code
Last modified: February 8, 2021

---

# Doubts when it comes to managing WordPress using PHP code

 *  [cain14](https://wordpress.org/support/users/cain14/)
 * (@cain14)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/doubts-when-it-comes-to-managing-wordpress-using-php-code/)
 * Hello guys.
 * 1.- I need to optimize webs at theme level: I need to know how to disable functions
   that I am not using in my template to streamline web load time (I don’t want 
   functions that are not used to be called), Is there a way to achieve this?
 * 2-. I need to optimize websites in general: from this I know a lot but at the
   level of plugins, optimization of images, asynchronous loading, implement some
   cache system, minimize CSS and JS files, delete files that are not used following
   a little what marks you the Google PageSpeed or similar web (although sometimes,
   at least, the pageSpeed, it works a bit regular I think).
 * 3.- Modify specific page or posts: I need to know how to modify the pages and
   posts I have in WP but at the code level (HTML, CSS and PHP), I understand that
   WP is calling functions like getTitle, getContent etc, okay, but is there any
   way to see the pages I have in code? I’ve gone through the theme files but there’s
   no way.
 * 4.- In general, learn everything you need at the WP backend level to add functionality
   to the theme, etc.
 * Having said all this, if you can guide me in any way or recommend me some kind
   of course or some kind of learning path I would appreciate it very much.
    At 
   the moment I have bought two udemy courses for 10€ and 12€ with very good ratings,
   more than 24h on development of themes and plugins and well, I’m going to soak
   up info.
 * Thank you! Regards.

Viewing 1 replies (of 1 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/doubts-when-it-comes-to-managing-wordpress-using-php-code/#post-14021312)
 * > (I don’t want functions that are not used to be called)
 * Not used means not called. There’s nothing to do.
 * >  I need to know how to modify the pages and posts I have in WP but at the code
   > level (HTML, CSS and PHP)
 * You can edit in HTML mode. PHP simply outputs the database entry (HTML and possibly
   CSS).
 * > learn everything you need at the WP backend level to add functionality to the
   > theme
 * That’s a tall order. There are [Theme Developer Handbook](https://developer.wordpress.org/themes/)
   and [Plugin Developer Handbook](https://developer.wordpress.org/plugins/) and
   [Code Reference](https://developer.wordpress.org/reference). But you should not
   add functionality to a theme. Functionality belongs to plugins. Themes should
   be style and layout only, and able to be switched at any time.

Viewing 1 replies (of 1 total)

The topic ‘Doubts when it comes to managing WordPress using PHP code’ is closed 
to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [optimization](https://wordpress.org/support/topic-tag/optimization/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 2 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/doubts-when-it-comes-to-managing-wordpress-using-php-code/#post-14021312)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
