See the image below. Replace “The Podcast Name” with what you feel is appropriate. Posts for the given RSS feed will be created, prefixed with whatever you choose there. We are adding the following code, in order to automatically add some content to the posts created from imported RSS feed items. We’ve created a WordPress […]
You are browsing archives for
Category: wordpress
WooCommerce Variable Products
You can log into the staging site to test your changes before publishing to the live site, at https://staging.yourdomain.com/wp-admin/ 1. Change product from ‘Simple Product’ to ‘Variable Product’. 2. In the ‘Product data’ menu to the left hand side, click ‘Attributes’. Change ‘Custom product attribute’ to ‘Package Size’. Click ‘Add’. 3. Enable ‘Visible on the […]
Cloning a WordPress Site – Guide
cloning: -copy files to working directory (not in a live environment which can be accessed via HTTP) -copy database; create a new user and password for the database. -edit wp-config.php –database credentials –secret keys –any directory related entries –set jetpack to developer -also check wp-settings.php –historically, there haven’t been hard coded directories in here, but […]
WordPress & WooCommerce: modifying the ‘Edit order’ page.
The ‘Edit Order’ page can be modified; more specifically, the ‘Order actions’ metabox can have custom actions added to it. Recently, I needed to add the ‘Cancel Order’ function to this list of ‘Order actions’ in the metabox. It’s always handy, to further your understanding of the internals, to have some official WordPress & WooCommerce […]
WordPress & WooCommerce: Modifying the cancel_unpaid_orders function
WooCommerce will schedule a task to cancel any unpaid orders. The number of minutes after which the unpaid orders will be cancelled is specified at WooCommerce -> Settings -> Products -> Inventory -> Hold stock (minutes). Ordinarily, this function will cancel any & all orders but it can be modified & overridden to, for example, […]
Adding admin user to WordPress database
From: http://www.dnawebagency.com/how-to-add-an-admin-user-to-wordpress-database/ Editing the wp_users table Click on the table you want to view Click on the Insert tab We will need to insert a row into the database with our admin users information. Click on the “Insert” tab in order to bring up the phpMyAdmin insert form. Insert the following information: user_login – this […]
Enabling redirect to HTTPS (secure HTTP) for your WordPress or other site
Most web hosting control panels now offer integration with Let’s Encrypt for free SSL/TLS certificates. With the click of a button, you can allow secure HTTP connections to your website. If you have a WordPress CMS installed here’s how you can ensure that any connections to your website are via HTTPS: Log into your WordPress […]