Hi,
I’m very familiar with WordPress but it seems X Theme has a lot more options when it comes to sidebars and footers and I find implementing them confusing.
I’ve been given some Javascript tracking code that should be added to individual form pages. Thus, I can’t put it in the global JS box because that would apply it to every page, and I want to apply the code only to the page that has that form.
So, since we aren’t using the custom footers at all, I thought I could make a footer just for the page with the form and add the javascript to the HTML text widget. However, when I tried this it seemed to add the widget to the home page, which was not the page I wanted to edit. Here’s what I did:
- In Sidebars, I created a new sidebar and only checked the box next to the page with the Contact form.
- I added the text to the HTML widget, as well as another widget, because the first widget is invisible I added the second widget just to see visually that the new Footer is showing up.
- ???
- Profit.
I am missing a step or two, obviously. My first question: Can I have different footers on different pages? Second question: how would I go about doing that; what would be the next steps? Or third, is there a better way to add some javascript to a single page?
Thanks!