Is there a way to edit the index.php file in wordpress?
Around the web i found a lot of post saying to go to appearance -> editor,
but I can’t find this menu… maybe this feature was removed…
So how can I do it?
Is there a way to edit the index.php file in wordpress?
Around the web i found a lot of post saying to go to appearance -> editor,
but I can’t find this menu… maybe this feature was removed…
So how can I do it?
You must be logged in to post a comment.
There are two ways you can edit your PHP files.
Method 1: Edit the file in your Installation Directory on the Web Server
(this is what Anoop Asok is talking about)
Method 2: Edit the file from the WP Dashboard
(This is easier and is what you were trying to do but that file isn’t always made available by your theme)
NOTE! You should avoid editing your theme files because they might be over-written next time you update your theme. Make a child theme and put a copy of index.php in there and work off that one instead.
Please do this.
Go to WordPress Installation directory.
Follow the path
wp-content
>themes
.Open your theme folder.
In that you can see
index.php
file.Edit it and save.