View Single Post
  #5  
Old 09-20-2016, 01:38 PM
Vergil's Avatar
Vergil Vergil is offline
Junior Member
 
Join Date: Sep 2016
Posts: 5
Default

Thanks for your detailed answer. I understand and am aware that I could use js&css to add and manipulate the html elements I need. However, in WP, for example, there are hooks/actions that add html content only to the header and another that only places content in the footer. I am afraid that if I add html using only js it might not appear/function correctly when changing themes, I mean if, for instance, I choose to append a div to an element in an individual Product page, it is not guaranteed that html dom element used will exist or have the same name in a different theme.