Tag Archives: coding

Disable right click

This is a simple JavaScript snippet that can be found all over the Internet in various forms. It disables the right click menu in browsers and is usually used in an attempt to limit image theft. We all know that … Continue reading

Posted in Coding, JavaScript | Tagged , , , | Comments Off on Disable right click

Show parent pages from a sub-page

The issue: Site has a page system with three levels of pages. When a page has sub-pages, show the children in the menu, but at the bottom level, show the parent’s menu items still. The fix: If the page has … Continue reading

Posted in Coding, PHP, WordPress | Tagged , , , , | Comments Off on Show parent pages from a sub-page