Viewing 1 to 10 of 67 items
Archive | Tutorials RSS feed for this section

Use Cron to run a php script from a URL

If your php script can be invoked using an URL, you can lynx, or curl, or wget to setup your crontab as shown below. The following script executes the php script (every hour) by calling the URL using the lynx text browser. Lynx text browser by default opens a URL in the interactive mode. However,  Full Article…

0

How to view the number of unique visitors to a page

As seen here: http://www.martinlugton.com/view-number-unique-visitors-page-set-pages-google-analytics/ You can see the number of unique visitors to your site as a whole in Google Analytics’ Audience report. But if you go to Behavior > Content Drilldown, to view a particular page of set of pages, you can only see “unique page views”. Unique page views is a different measure to  Full Article…

0

Clean a hacked WordPress website

Use the online RedLeg fileviewer to scan the website in question for malware, malicious redirects, malicious scripts and other bad stuff. Use the online deobfuscate javascript tool to deobfuscate javascript if scripts have been hidden. Some good practises to keep your website free from hacks: Update WordPress to the latest version Web-server hosting WordPress should  Full Article…

0

Slick View Mode Switch/Toggle

As seen on CodeDrops and GitHub. A simple view mode switch that has two example layouts, a grid and a list. A layout switch with two viewing modes: grid and list. The layout is defined by a view class that gets applied to the main wrapper. Some example media queries show how to make things  Full Article…

0

How to Add Information to WooCommerce Emails

As seen here: https://www.sellwithwp.com/how-to-add-information-to-woocommerce-emails/ WooCommerce emails include each line item in an order by default within an “order items” table. This table is automatically included in almost every WooCommerce transactional email, and displays the product quantity, price, and total. However, this isn’t the only data that WooCommerce has available for the order items table in its  Full Article…

0