Here is an example of what to put in for a NAP Schema <div itemscope itemtype=”http://schema.org/LocalBusiness”> <p itemprop=”name”>COMPANY NAME</p> <p itemprop=”address” itemscope...
Here is the script that can be used to fix the apache2 user to have access to a users public_html folder and make changes. This issue arises sometimes when you use applications like WordPress that when adding plugins and/or themes will need to be able to modify or...
So the first step is to add the recaptcha api call to before the close head tag. <script src='https://www.google.com/recaptcha/api.js'></script> </head> Then within the form itself before the submit button or where ever you would like the reCaptcha...
Here is a function that returns whether or not PHP Session is activated or now. function is_session_started() { if ( php_sapi_name() !== ‘cli' ) { if ( version_compare(phpversion(), ‘5.4.0', ‘>=') ) { return session_status() === PHP_SESSION_ACTIVE...
If you are ever looking for a quick and easy way to list all of the pages on your site that are published here is how I accomplished it. It uses the WordPress get_pages() function to then output the title and permalink if the post status is published. //use...