For what it's worth, I don't believe the Code is contradictory on this.
The section I've seen you quote previously saying "on all occasions" is in the section about Councillor conduct, in other words it means on all occasions while in the role of Councillor.
The following section that I quoted...
I had to edit this post about three times after posting because it was so littered with typos or sentences that didn't make sense, so apologies to anybody who saw the original version.
I think that's a formatting issue more than anything else, in that the text refering to meetings up to that point makes complete sense and the sentence referring to the "The Code" doesn't seem to relate to it particularly but does make complete sense as a stand alone sentence.
The "Application...
The introduction the the B&H code states:
"The Code does not apply when Members are acting or appearing in the perception of a reasonable person to be acting in a purely private capacity."
With the best will in the world, I'm not sure how it can reasonably be taken to apply to Facebook posts...