March 12, 2015 at 10:17 am
Hi,
I am trying to make some edits on the templates for a client. I am new to php so I am having some trouble. On page “*Login to see link niture/?attachment_id=1928” I think one of the main templates being used is the template “content-single.php” I know this by playing around and doing some snooping. Also I know this because I added my own button <button onclick="history.go(-1);">Back </button> and I see the result in my browser.
Now the problem lies when I try to change the classes you have selected for this page “entry-content clearfix”. I replaced that with my own class called “myownclass” but for some reason I do not see this in the html of the browser when I save this template in my child theme. I refreshed the cache several times and I do not see any changes being made to the class. I even tried deleted the original template “content-single.php” in the virtue folder to see if there was overlapping but no luck. I even tried adding the code <?php echo "Testing!"; ?> still no luck.
Can you please inform me how I can make changes to the template and why it sometimes does not show up?
Thanks,
Emre