Code not working anymore
-
Hi all!
My code which I inserted into single.php in my child-theme always worked fine!
Now, suddenly it’s not working anymore….
Does somebody has an idea why and what I need to change?
<div style="margin:20px; margin-top:5px"><div class="widget"><div align="center"><b><?php if (method_exists($advanced_post_list, "APL_display")){echo $advanced_post_list->APL_display("relatedpost-list-titel");} ?></b> <input type="button" value="→ clic ←" style="width:150px;height:50px;font-size:25px;color:#4F4729;margin:0px;padding:0px;margin-top:-20px; " class="clicbutton" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = '→ close ←'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = '→clic ←'; }" /></div><div class="quotecontent"><div style="display: none;"><?php if (method_exists($advanced_post_list, "APL_display")){echo $advanced_post_list->APL_display("relatedpost-list");} ?></div></div></div></div>
Thank you very much for help!
rangiThe page I need help with: [log in to see the link]
- The topic ‘Code not working anymore’ is closed to new replies.