Here's what I do when I am trying to edit a template via a plugin and experiencing difficulty...first I look at the template code before any alterations at runtime, and copy/paste that code into a text editor.
Next, I manually edit the template to make the desired change, and look at this at runtime and copy/paste that below the previous paste into my text editor.
Then, revert the template back to its original state.
Now I have the desired before/after to inspect in my text editor, and it is easier to see what I need to do to make the desired change using PHP.
|