Hi,
If you want to do changes in all pages, modify page.php.
But if you want to add some php code on only a particular page, you will need to create a template and save it in your theme folder.
Procedure for creating template-
1. Write your code in any editor (for instance Dreamweaver). Next, switch that page to a template bu adding following code:
<?php
/**
Template Name: Trialtemplate
*/
//write your code here
?>
2. Save this template with .php extension in :
htdocs->Wordpress Folder->wp content -> themes -> open the theme which you have selected in browser -> save that php file here.
3. Go to :
dashboard -> Pages -> Select Page where you want to add code -> Page Attribute-> Template->Trialtemplate.
4. Publish it.
I want to edit an individual page. Here is the code I wish to change:
<div class=”et_pb_column et_pb_column_1_2″>
<img id=”fledglings” src=”http://www.wallowology.org/pages/wp-content/uploads/2014/12/20130605_1733-BookPrint-e1419138630566.jpg” alt=”” class=”et-waypoint et_pb_image et_pb_animation_left” />
</div>
I just want to change the image that opens to a different image file: http://www.wallowology.org/pages/wp-content/uploads/2014/12/20130605_1733-BookPrint-e1419138630566.jpg
Would making a template override the code for the actual page?