Category: Uncategorised
-
Example Quick PayPal Payments Form
[qpp]
-
How can I Embed a Google Doc in a WordPress Post or WordPress Page without a plugin?
To have a dynamic section from Google Docs as below simply create ( and share to editors as required) your Google Doc and go to File>Publish to Web in the Doc – select embed – Create your post of page and where you want the Google Doc add an html block and put the generated…
-
Archiving old files after 18 months
In a WordPress installation I have an uploads folder that contains html files, that need to be archived away after 18 months. As the links are dynamically built I don’t need to worry about anything except moving them. If they were normal WordPress uploads that would be different. So in this case a simple monthly…
-
Linking WooCommerce to a Spreadsheet using Google Sheets and the REST API
IMPORTANT NOTE As of 22 Oct 2019 – this script seems to be in an infinite loop – so use this as a coding concept ONLY. I will debug it in due course, and update – BUT if you spot the issue first please do leave me a comment below with your solution. Following on…
-
Code snippet to change notification of new users
Example plugin to set admin notification of new users. In this case it uses the first user defined as shop_manager role <?php /* * * Plugin Name: Notify New Users to Shop Manager * Plugin URI: https://fullworks.net/products/custom-plugin-development/ * Description: Needs Woo Commerce of Course * Version: 1.0 * Author: Fullworks * Author URI: http://fullworks.net/ *…
-
Putting it all together – authenticate, read and update WordPress from a spreadsheet
This is my fourth post in my series of how to build a script to manage WordPress data via the API and a spreadsheet. If you have arrived here without looking at the others you probably should start at the beginning here. In this tutorial I’m going to handle updating and then pull it all…