❌

Vue normale

Reçu — 21 mai 2025 ⏭ Tips and Tricks HQ

How to Use Browser Developer Tools to Inspect Elements and Modify CSS

Par : admin
13 février 2025 à 07:05

When customizing your WordPress site, you may need to tweak the appearance of certain elements using CSS. Every modern browser, such as Google Chrome, Firefox, Edge, and Safari, comes with built-in Developer Tools that allow you to inspect HTML elements and modify their styles live.

This tutorial will walk you through how to use Developer Tools to inspect elements and make CSS modifications effectively.

Step 1: Open Developer Tools in Your Browser

Each browser has built-in developer tools that let you inspect elements and test CSS changes live. Below are the shortcuts to open Developer Tools:

  • Google Chrome & Edge: Press F12 or Ctrl + Shift + I (Cmd + Option + I on Mac)
  • Firefox: Press F12 or Ctrl + Shift + I (Cmd + Option + I on Mac)
  • Safari: Enable Developer Menu first (Safari > Preferences > Advanced > Show Develop menu in menu bar), then press Cmd + Option + I

Alternatively, you can right-click on any element on your webpage and select “Inspect” (or “Inspect Element” in Firefox).


Step 2: Inspecting an HTML Element

  1. Once Developer Tools is open, you’ll see the Elements (or Inspector) tab.
  2. Move your cursor over the HTML structure and hover over different elements to highlight them on your page.
  3. When you click on an element, you will see its CSS styles displayed in the Styles pane.

Example:
If you want to modify a button, right-click on it, select Inspect, and you will see its HTML structure along with the associated CSS styles.


Step 3: Modifying CSS in Developer Tools

You can test CSS changes live before applying them to your website.

  1. Locate the Styles tab inside Developer Tools.
  2. Find the CSS rules associated with the selected element.
  3. Modify the CSS values directly and see the changes in real-time.

Example:
Let’s say you want to change the button’s background color. If you find this CSS:

.button {
    background-color: #0088cc;
    color: #ffffff;
}

You can edit it directly in Developer Tools and change the color to red:

.button {
    background-color: red;
}

Note: These changes are temporary and will be lost once you refresh the page.


Step 4: Applying CSS Changes to Your Site

After testing the changes in Developer Tools, you need to apply them permanently.

  1. Copy the modified CSS from Developer Tools.
  2. Go to your WordPress dashboard.
  3. Navigate to Appearance > Customize > Additional CSS.
  4. Paste the CSS code and click Publish.

Alternatively, if you are using a custom style.css file, you can add the CSS there.


Bonus: Finding CSS Selectors Easily

If you’re unsure which CSS selector to use, follow these steps:

  • Look for class or id attributes in the Elements tab.
  • Class selectors start with a dot (.), e.g., .button
  • ID selectors start with a hash (#), e.g., #submit-button
  • You can combine selectors for more specific targeting, e.g.:
#shopping-cart-form .button {
background-color: green;
}

Final Thoughts

Using Developer Tools is a quick and efficient way to identify and modify the appearance of elements on your WordPress site. This method allows you to test changes before making them permanent, ensuring you get the desired results without unnecessary trial and error

The post How to Use Browser Developer Tools to Inspect Elements and Modify CSS appeared first on Tips and Tricks HQ.

How to Add Braintree Payments to WooCommerce

9 mai 2019 à 11:12

In this article we will look at how a free plugin can be used to add Braintree Payments to your WooCommerce website. The WooCommerce Braintree Payment Gateway Plugin available from WordPress.Org is a compact plugin that shares great compatibility with WooCommerce and WordPress plugins.

The WooCommerce Braintree Payment Gateway Plugin offers a simple way to add Braintree to the WooCommerce platform.

What is WooCommerce? What is Braintree?

If you are new to the WordPress world, you may have two questions when landing on this article;

  1. What is WooCommerce?
  2. What is Braintree?

WooCommerce is one of the leading eCommerce plugins for WordPress. This means that by using this plugin you are able to advertise and sell goods and services to customers who land on your website. WooCommerce allows admin to choose between over a 100 payment gateways to sell their products through.

While many website owners are familiar with PayPal, their sister payment gateway, Braintree is often less heard of. Braintree is similar to Stripe in the way it allows you to accept credit card payments. Braintree in recent years after being acquired by the eCommerce giant PayPal has seen many business owners switching to the gateway due to the many different ways to sell to customers globally.

Considerations When Adding Braintree as a Payment Option

To add Braintree as a payment option in your WooCommerce checkout page, you will need to:

If you have not used Braintree previously to accept payments from customers, it is a good idea to note down the transaction fees that will be charged and run through a test checkout as if you were a customer to ensure that it is a smooth and hassle free procedure for prospective buyers.

Why Should I Use the Braintree Plugin on my eCommerce Website?

Many website owners are choosing to use Braintree on their WooCommerce site as it allows the customer to complete an entire transaction without ever needing to leave the website. This is quick and hassle free for the customer and in turn can lead to higher conversion rates. In some circumstances, Braintree transaction fees can work out cheaper than the fees advertised by other large payment gateways.

How Can I Add Braintree as a Payment Option in my WooCommerce Checkout?

If you have WooCommerce set up on your WordPress website, you’ll now need to install and activate the WooCommerce Braintree Payment Gateway Plugin. This is a free plugin on WordPress.Org.

Video Tutorial:

Written Tutorial:

Step 1) Log into your WordPress website.
Step 2)Ensure you have WooCommerce and the Braintree Plugin Installed and Activated.

Step 3) Click on ‘WooCommerce‘ and then on the ‘Settings‘ menu. From there you’ll need to locate and click on the ‘Payments‘ tab.
Step 4) From the ‘Payments‘ tab, you will see the option to enable ‘Braintree‘. Slide the toggle bar across to enable ‘Braintree‘ on your WooCommerce checkout.
Step 5) Click the Set Up button. If you do not have an SSL certificate, you will only be able to do test transactions. At this stage you will need to obtain an SSL certificate if you wish to allow customers to pay for goods and services with the Braintree Payment Gateway.
Step 6) Enter your sandbox API Keys which can be found in your Braintree account. If you wish to run live transactions and you have an SSL certificate, you can enter your Live API Keys. If you do not know where to find your API keys, please see the video tutorial below.
Step 7) Click the ‘Save changes‘ button.

Step 8) If you have entered in your details correctly, when you click to checkout with a product/service created using WooCommerce, the option to pay with credit card (Braintree) should appear.

Where Can I Locate My Braintree Sandbox API Keys?

If you are unsure how to find your sandbox Braintree API Keys, please see the video tutorial below for step by step instructions. These keys are vital in the set up process explained above. Without your Braintree API keys, you will not be able to add Braintree as an WooCommerce checkout option.

Where Can I Locate WooCommerce Braintree Orders/Payments?

Once a customer has successfully checked out on your website with the Braintree payment gateway, you will see a notification next to the orders menu. You may notice that the status is processing if the credit card payment is yet to clear. The customers details can be viewed by clicking on the order in question. A Braintree checkout can be identified as in the order details you will see the line: ‘Payment via Credit Card’. If needed, you can also refund the payment from the order menu.

How Can I Complete a Test Credit Card WooCommerce Checkout?

If you have set up the WooCommerce Braintree Payment Gateway using Braintree Sandbox API Keys, and you have marked the checkbox to enable sandbox payments (WooCommerce>Settings>Payments>Enable Sandbox Mode) you will be able to complete a test credit card checkout by following the steps below. Completing a test transaction allows you to see the process your customers will need to follow to complete a transaction on your website.

  1. Create a test product following the WooCommerce product creation steps.
  2. Ensure you have entered your Braintree Sandbox API details into the Braintree Plugin. Also ensure the checkbox to enable sandbox payments has been marked.
  3. On the front end of your site, view the product page. Click the ‘Add to Cart‘ button for your product.
  4. Click the ‘View Cart‘ button.
  5. Click the ‘Proceed to Checkout‘ button.
  6. Enter in test ‘Billing Details‘.
  7. Within the Credit Card Section, choose to use a Braintree Test Credit Card Number. Eg ‘5555555555554444’
  8. The expiry of the card must be a month/year in the future and the CVV must be a three number combination such as ‘123’.
  9. Click the ‘Place Order‘ button.
  10. If the order is successful, you will see the ‘Order Received‘ page.

The post How to Add Braintree Payments to WooCommerce appeared first on Tips and Tricks HQ.

How to Migrate from WordPress.Com to WordPress.Org

2 mai 2019 à 09:19

If you’ve began creating a website using WordPress.Com you may have noticed the limitations after using the platform for some time. While WordPress.Com is suitable for bloggers, if you wish to set up a membership or eCommerce website, the ideal platform is the self-hosted WordPress.Org. Using WordPress.Com opens up a whole new range of new avenues for your website.

You may be questioning if moving from WordPress.com to WordPress.org is possible. The answer is yes and we’ll discuss how in this article.

What is the Difference between WordPress.Com and WordPress.Org

In short, WordPress.com is a hosted service where you can set up a blogging based website whereas WordPress.org is a software that can be downloaded for free and ran on hosting of your choosing.

Comparison Image: WordPress.Com Verse WordPress.Org

If you’ve previously been using WordPress.com you may be wondering what is different about WordPress.org or vise versa. While they are both WordPress websites, they are in fact very different from one another. The similarities in the names of each lead many WordPress beginners to select the wrong platform for their website venture.

WordPress.org is what most business owners are referring to when they boast about their WordPress website. This is the platform that is ‘open source’ and entirely free to use. It is self hosted meaning that owners will only need to pay to host their website. A WordPress.org website can be extensively customized using custom coding or through the use of many free and paid plugins.

On the other hand WordPress.com, created by the same man by the name of Matt Mullenweg that crafted WordPress.org is a hosting service where you can select between a number of plans depending on the needs of your site. WordPress.com is more commonly used for bloggers rather than those trying to market or sell an item. If you choose to use the free WordPress.com platform, third party ads will be displayed, a limited number of themes are available and eCommerce features are not a possibility. If you select a paid WordPress.com website than many of the WordPress.org features are available although there are still limitations and your site will still be hosted by the company rather than by hosting of your choosing. 

Table of Differences: WordPress.Com Verse WordPress.Org

FeatureWordPress.OrgWordPress.Com
(Free Version)
ThemesMany free and premium themes are available. Themes can be edited and uploaded.Limited themes are available and cannot be edit or altered.
PluginsYou can upload multiple free or premium plugins or add custom plugins to your website.Plugins are not available for the free WordPress.com websites. There are some additional features in the core WordPress.com platform.
Domain NameYou will need to purchase a domain name of your choosing.Custom domains are not available. You can only choose the sub domain for a free WordPress.com website
AdvertisementsUsing WordPress.Org you can advertise your own products or use a third party advertising agency. Ads cannot be sold on these websites. If you have a high traffic website, you may be able to advertise with WordPress.com although they share a cut of the revenue.
eCommerce FunctionalityYou can use a free or paid plugin to sell goods or services from your website. You cannot add eCommerce functionality to a free WordPress.com website.
UpdatesYou are responsible for updates on your website. Your website is updated, maintained and backed up for you.
HostingYou will need to set up hosting yourself and pay for hosting each month. Hosting comes free with WordPress.com although it is only free for sites that use 3 GB of storage and under.

Why Make the Switch from .Com to .Org

For some the switch is always going to come. If you have aspirations of one day selling an item or a service from your website, it is inevitable that you’ll need to switch to WordPress.org. For the majority of users, WordPress.com is like sampling an ice cream. WordPress.com gives users a free feel of what owning a WordPress.org site is like.

In saying this, many users of WordPress.Com, especially those freelance bloggers are happy enough to continue to use the platform. The streamlined, simplicity of WordPress.Com allows them to share their ideas and opinions online for free.

If you find you have hit a stand still using WordPress.Com, switching to WordPress.Org opens up a whole new number of opportunities. You may be thinking of making the switch if:

  • You cannot customize your WordPress.Com site the way you in-visioned
  • You wish to add a membership or eCommerce functionality to your website
  • You are receiving a noticeable amount of traffic and wish further monetize your website

Switching from WordPress.Com to WordPress.Org

If you are currently running a WordPress.Com website and wish to make the switch to a WordPress.Org site, this section will outline how to do so step by step. 

Considerations When Swapping WordPress Platforms

Obvious enough you will need to have access to your WordPress.com website throughout the entirety of the swap to WordPress.org.

When swapping from a free WordPress.Com website to WordPress.Org you will need to consider the additional hosting expense.

Steps to Swapping WordPress Platforms

  1. Export your WordPress.Com content.
  2. Select hosting for your WordPress.org website
  3. Purchase a domain name
  4. Install WordPress.Org on your new hosting server
  5. Choose a Theme for your WordPress.Org website
  6. Move your WordPress.Com content to your WordPress.Org website

Step by Step Instructions to Swap WordPress Platforms

1) Export Your WordPress.Com Data

Step 1) Sign into your ‘WordPress.Com‘ website and click on the ‘WP Admin‘ menu.
Step 2) Click on ‘Tools‘ and then on ‘Export‘.
Step 3) Choose the ‘Free‘ export option and then hit the ‘Start Export‘ button.
Step 4) Choose to export all your WordPress.com content by marking the appropriate check circle and then click the ‘Download Export File‘ button. Step 5) A file with all of your WordPress.com content will be download to your computer.

exporting-wordpress.com-data

On some WordPress.Com websites, the export tool can be found under the Settings menu.
Once you click on the Export menu, you’ll then need to choose to Export All. Then a Download button will appear where you can download the content of your WordPress.Com website. Ensure you Save the downloaded content as we will need this further on.

2) Set Up Your WordPress.Org Website

Now that you have your WordPress.com data stored on your computer, we’ll need to create our WordPress.Org website. This is somewhat of a detailed process although once complete, importing the previous data is a walk in the park.

Step 1) Purchase a domain name. A domain name can cost from $15.00 a year.
Step 2) Sign up for hosting; either dedicated or shared depending on the scale of your company. Read a little more about hosting here if you are undecided on a hosting provider. Hosting can cost between $4.00 to $200.00 a month.
Step 3) Install WordPress (WordPress.Org) on your hosting server (many hosting companies now offer WordPress installation free of charge).
Step 4) Choose a theme for your WordPress website. If you are unsure how to install a theme, read more here.

3) Import Your WordPress.Com Data

Now comes the easy part. Once you’ve set up your WordPress.Org website, you’ll need to import your WordPress.Com content which we saved to our computer in step 1).

Step 1) Log into your WordPress.org website. Click on the Tools menu and then on Import. Click the Install Now button next to the WordPress import plugin.
Step 2) If you have installed the importer successfully, you’ll see the option to Run Importer.
Step 3) Now you’ll see a page with the option to Upload File. You’ll now need to upload the downloaded WordPress.Com content.
Step 4) Now click the Upload file and import button.
Step 5) You will now need to assign authors to any pages/posts. Once you have clicked submit you should see a success message.

4) Redirect Visitors to Preserve Previous Web Ranking

Unfortunately when using WordPress.Com you are not granted access to
.htaccess. This means that it is somewhat harder to redirect and maintain your previous search ranking. WordPress.Com offer a paid option called Site Redirect which is the best option to maintain ranking of your content. Currently the Site Redirect feature is $13.00/year.

5) Ensure No Images are Broken

Once you have imported all your old content to your new website, it is a good idea to browse your pages/posts to ensure there are no broken images and links.

FAQ’s – WordPress.Com to WordPress.Org

Q: How Much More a Month with WordPress.Org Cost Opposed to the Free WordPress.Com?

A. If you’ve been using the free WordPress.Com platform, you’ll now need to consider the cost of hosting and a domain name along with the cost of the site redirect feature if you use this option.

  • Hosting Cost: Approx $20.00 a month
  • Domain Name Cost: Approx $15.00 a year
  • Site Redirect Cost: $13.00 per year

Q: Will my WordPress.Com Break When I Move my Content?

A. If you’ve followed the method above, you WordPress.Com site will remain intact the entire time. We only exported a copy of the data so the site will never go down.

The post How to Migrate from WordPress.Com to WordPress.Org appeared first on Tips and Tricks HQ.

Add a WordPress Admin User Account via PHP

18 octobre 2020 à 06:09

Sometimes our WordPress plugin users need to create an Admin user account for their sites. In this tutorial I will share a small PHP code with you that can be used to create a WordPress Administrator user to your site.

Alternatively, you can also create a WordPress admin user via MySQL.

You will need to have FTP access to your site so you can access and edit the theme files.

Step 1) Log in via FTP

Log into your site via FTP and browse to your theme’s folder. It should be in the following location:

wp-content/themes/

You can use a free software like FileZilla to log into your site using FTP.

Step 2) Add the PHP Code

Copy and paste the following PHP code in your theme’s functions.php file. Change the value of the username, password and email fields.

function create_new_admin_user_account() {
    $username = 'new_admin';
    $password = 'New_Password!123';
    $email = 'email@domain.com';

    //Check to see if an account exists with the given username and email address value.
    if ( !username_exists($username) && !email_exists($email) ) {
        //All clear. Go ahead.

        //Create WP User entry
        $user_id = wp_create_user($username, $password, $email);

        //WP User object
        $wp_user = new WP_User($user_id);

        //Set the role of this user to administrator.
        $wp_user->set_role('administrator');
    }
}
//Run the function with WordPress's "init" hook is triggered.
add_action('init', 'create_new_admin_user_account');

Step 3) Execute the Code

Access your site’s homepage to execute this code.

You can now log in using this newly created user.

Delete the code from the theme’s functions.php file after the task is done.

The post Add a WordPress Admin User Account via PHP appeared first on Tips and Tricks HQ.

Create a Squeeze Form in a Popup for WordPress

3 janvier 2020 à 04:17

If you intend on offering downloadable content from your WordPress website, using the Simple Download Monitor Plugin will allow you to do so. Furthermore, if you wish to collect say your user’s name and email address in a neat and tidy popup window before the download commences, then the Squeeze Form Addon can be used. You may choose to add the information provided from your user to an autoresponder list or you may choose to manually use it for marketing at a later stage.

What is a Squeeze Form Popup?

When speaking about the Simple Download Monitor, a squeeze form basically allows you to collect information in exchange for a digital product. Others refer to this as email locking a download. It gives you the ability to ‘squeeze‘ information out of those who wish to download your content. While a general squeeze form will be filled out on a website post or page, in this tutorial we look at how you can create and display a squeeze form that displays above your website content in a neat and tidy popup window. You can choose to provide your user the download then and there, or alternatively it can be automatically sent to their email. Sending the digital content to the user’s email address ensures that they provide an accurate address in order to get the digital content.

Using a popup window eliminates any other distractions on the static website page and directs your user’s attention to the squeeze form information they need to fill out in order to get the digital item.

Why Should I Include a Squeeze Form for my Downloads?

While it does not make sense to include a squeeze form for all downloads, for some websites that may be offering good quality downloadable items free of charge, a squeeze form may be used. A squeeze form gives the website owner an opportunity to get to know their main audience but more importantly, allows them to collect data such as an email address that they can then add to their email marketing software. While the user may have been able to download one item free of charge in exchange for their email address, the squeeze form information provided may be valuable to admin who will use this to push their premium website downloads or products.

How Can I Ensure Users Provide an Accurate Email Address?

You can choose to send the digital content to the user’s email address provided in the squeeze form rather than allowing them to automatically download the content in their browser. This ensures only those who provide an accurate email address will be rewarded with the digital item. You can edit the email body and ensure you have the ‘Deliver the Download via Email’ checkbox enabled from the ‘Squeeze Form’ menu.

How Can I Use the Squeeze Form Addon to Display a Popup Download Window?

Video Tutorial:

Written Tutorial:

The Squeeze Form Addon, like the name suggests, is primarily used to ‘squeeze’ information from users prior to a download. This addon may be used by those wishing to gather an idea about their userbase, or for others wishing to collect downloader’s email addresses for later marketing. While there are a number of basic templates that you can use to display your download button and squeeze form, one of the templates allows you to display a simple button that when clicked displays a popup window with the squeeze form fields. This is known as Squeeze Form template ‘4’.

  1. To get started you will need the free Simple Download Monitor and Manager Plugin as well as the premium Squeeze Form Addon installed and activated on your WordPress website.
  2. Once this software has been activated, you will see a main menu in your WordPress dashboard titled: ‘Downloads‘ and then under this a submenu titled: ‘Squeeze Form‘.
  3. You will be able to configure your downloads from the ‘Downloads‘ menu and view your squeeze form submissions from the ‘Squeeze Form‘ menu at any time.
  4. Create your very first downloadable item by clicking on the ‘Downloads‘ menu and then on ‘Add New‘. You can read further information about creating your download here.
  5. Once you have ‘Published‘ out your download, take note of it’s ‘ID‘. The ID of any of your downloads can be found by glancing at the ID column on the ‘Downloads‘ page.
  6. Create a WordPress post or page where you would like to display your squeeze form and a download button for your digital content.
  7. Add a ‘Shortcode‘ block and enter the following shortcode, replacing the id with the actual ‘ID‘ of your download. Publish out your page or post.
[sdm-squeeze-form id="210" fancy="4" button_text="Download Now"]

Now when you view the page/post from the front end of your site, you will see a ‘Download Now‘ button. If you click this button, the squeeze form popup will appear. This is where your potential downloaders would need to enter their email and name to be able to proceed to download your digital content. They will either be able to download the content within their browser or the content will be sent to their email address depending on how you have set up the addon. You can test out this process yourself if you would like.

simple-download-monitor-download-popup-window

Viewing Popup Squeeze Form Submissions

Once you have set up your popup squeeze form on your WordPress websites, each time a user enters their name and email and then successfully clicks the ‘Download Now‘ button, the information they have provided is recorded. This information can be found by clicking on ‘Downloads‘ and then on ‘Squeeze Form‘. You can view the names and email addresses of those who have downloaded content from your website, or alternatively you may choose to use the ‘Export to CSV‘ bulk action. If you have a Simple Download AutoResponder set up, you may choose to hook the squeeze form submissions to this so that you can later push marketing material to your user base.

Interested in finding out more about the Squeeze Form Addon? Click here.

The post Create a Squeeze Form in a Popup for WordPress appeared first on Tips and Tricks HQ.

How to View and Control WordPress Cron Jobs

16 octobre 2019 à 05:55

What is a Cron Job?

Cron Jobs are basically scheduled tasks that are created automatically by WordPress or a WordPress Plugin that you have activated on your website. They are similar to an alarm clock that goes off regularly to trigger an automative response.

Before we delve into explaining how you can view and control Cron Jobs that are running on your WordPress website, for those new to this term it’s best we first explain what a ‘Cron Job’ actually is. In short, the term Cron Job refers to the list of schedules set at intervals that are undertaken each and every day on a website. A ‘Cron Job’ is always a repetitive task that is run at set duration apart. For the most part, a Cron Job is ran once in a 24 hour period although some occur more frequently (as needed).

Many WordPress plugins, especially those that trigger emails to be sent out will automatically configure Cron Jobs when you click the install and activate buttons. You will generally never need to worry about when the Cron Job will occur unless you run into an issue. While we will discuss how to view and delete ‘Cron Jobs’ on your WordPress website later on in this tutorial, for the most part, you will have no need to delve into ‘Cron Jobs’ unless the job has duplicated itself or isn’t running at all.

To be more specific, some ‘Cron Jobs’ undertaken on a website that you may need to troubleshoot include:

  • Scheduled Backups
  • Maintenance Tasks
  • Disk Space Monitoring
  • Deletion of Files
  • Sending of Emails

When you view the list of Cron Jobs running on your website, at first you may be taken back if you are not a developer. Every ‘Cron Job’ has a script which is the task to be executed, a command that executes the script and an action of the script. No ‘Cron Job’ should run more often than every 15 minutes unless you have a dedicated server.

In terms of when a Cron Job runs, they can be set to run at the following periods apart:

  • Minutes
  • Hours
  • A Certain Day of the Week
  • A Certain Day of the Month

While many plugins do create a Cron Job, having excessive amounts of ‘Cron Jobs’ running can slow down your server. It is for this reason that we always advice limiting the amount of plugins on your website to those that you need rather than want.

Why Would I Need to View my Cron Jobs?

While many users of WordPress will never have a need to view their Cron Jobs, we’ve had a handful of customers who have needed to look at this. So we’ve decided to create a step by step tutorial to help those that run into a Cron Job related problem either with one of our plugins or another WordPress plugin.

If you have a fresh WordPress install and you are yet to install a plugin you may think that there are no ‘Cron Jobs’ running. This is incorrect as WordPress runs a number of Crons such as one that ensures updates are displayed, old trashed comments are deleted and scheduled posts are published.

For some WordPress users, they may find that a specific set of ‘Cron Jobs’ ran by a plugin are slowing down their website, or they may presume this is the case. Viewing the ‘Cron Jobs’ will allow the WordPress user to delete the plugin and find an alternative solution or delete off ‘Cron Jobs’ that they do not require on their website. Other WordPress users may find that an email is being sent twice in a 24 hour period whereas it should only be sent once. This is generally caused by a duplicate ‘Cron Job’ that can be fixed by removing one of the jobs from the task list.

Errors that Relate to WordPress Cron Jobs

If you have run into an error on your WordPress site that is related to an automated regular task, a Cron Job could be at fault. Perhaps the Cron Job was never created properly on the installation of a plugin, or worse, perhaps a duplicate was created. Some of the following errors may occur if there are problems with Cron Jobs on your website:

  • A duplicate of an event occurs. For example, an email that is supposed to be sent 10 days before a “member’s account expires” is sent twice within a 24 hour period or a number of posts are published twice leading to SEO related issues.
  • A scheduled post is not published
  • An automated backup or cleanup does not occur
  • Any type of automatic task may fail

Viewing and Controlling Cron Jobs Video Tutorial

How Can I View and Edit my Cron Jobs?

The easiest way to view your Cron Jobs and alter or delete a job is through the use of a well-known plugin: WP Crontrol. It is a well developed Cron Job plugin currently available from WordPress.org repository. If you do not find this plugin to be the right fit, there are a number of other free Cron Job control related plugins available.

When you install WP Crontrol, or a similar plugin for WordPress, you will be able to view all scheduled ‘Cron Jobs’. The hook name of each ‘Cron Job’ gives you an insight into what that ‘Cron Job’ is designed to do. In the next column, the time at which the next ‘Cron Job’ will occur and the time interval between each are displayed. Each ‘Cron Job’ can be edited or deleted which allows you to remove a duplicate if you have ran into this type of issue. While deleting a duplicate ‘Cron Job’ for a plugin you have installed is entirely fine, be sure to never delete a standard WordPress ‘Cron Job’ as this will cause failures with basic WordPress functionality and actions.

  1. Log into your WordPress website as an admin and install WP Crontrol. This can be installed directly from your WordPress dashboard.
  2. ‘Activate‘ the WP Crontrol plugin.
  3. From your WordPress dashboard, click on the ‘Tools‘ menu. Choose the ‘Cron Events‘ tab.
  4. From here, you should be able to see all of the ‘Cron Jobs‘ occurring on your WordPress website. Each ‘Cron Job’ is displayed in a separate row, with each having their own ‘Delete‘ option. Always double check before deleting a ‘Cron Job’.

The ‘Hook Name’ of the Cron Job generally gives insight into which plugin has created it. Those starting with ‘wp’ are generally created by WordPress rather than a plugin. It is advised you do not delete these Cron Jobs.

While WP Crontrol is a useful plugin if you need to delete a duplicate action or an action you don’t necessary need, you can also do the following using this free WordPress plugin:

  • Add a new Cron event
  • Run a Cron event immediately
  • Edit a Cron event

The post How to View and Control WordPress Cron Jobs appeared first on Tips and Tricks HQ.

How to Create a PayPal Buy Now Button Easily in WordPress

6 juin 2019 à 15:59

If you’ve heard of fancy eCommerce solutions, you may have also heard of the cost associated with them. While many of the well-known eCommerce solutions are ideal for those wishing to sell multiple products, stay on top of inventory and track sales, for others wishing to only sell a few items, a simple PayPal ‘Buy Now’ button is all that they need.

Whether you are looking to collect a donation on the sidebar of your website, or to sell one or two products or services, a PayPal Buy Now button will have you covered. In this tutorial we will take a look at how a WordPress plugin can be used to create PayPal Buy Now buttons easily.

What is a PayPal Buy Now Button?

A buy now button can be used to sell physical products or services, and some plugins allow to sell digital products as well.

While there are many different ways around collecting payments for either goods or services on a website, among the simplest is a PayPal Buy Now Button. A Buy Now button allows the customer to directly enter their payment details and purchase an item while bypassing a checkout page. These type of payment methods are commonly seen on websites where the customer would ever only be purchasing one item at any given time.

A PayPal Buy Now button can be created directly from your PayPal account although the simplest and most time effective way to add a payment button to your WordPress website is by using a plugin such as the WP Easy PayPal Payment Accept. The best part about using a plugin is once you have supplied your PayPal address, you will not need to leave your WordPress website to set up more PayPal Buy Now buttons. In fact, the WP Easy PayPal Accept Plugin only requires a PayPal address to start receiving money from your customers.

If you implement a PayPal Buy Now Button, all payments will go directly to your PayPal account. This money can then be transferred to a bank account or spent online. While there is no cost associated with creating a PayPal Buy Now button, PayPal charges a per transaction based fee which you can read more about here.

Below you can see an example ‘Buy Now’ button created using the WP Easy PayPal Payment Accept Plugin:

What is the Difference Between a ‘Buy Now’ Button and an ‘Add to Cart’ Button?

While the difference between a Buy Now button and an Add to Cart button may seem apparent to those familiar with eCommerce solutions, others new to the WordPress platform may be less informed. A Buy Now button is used on a website where one primary item or service is offered. This differs to an Add to Cart button which is used when the merchant hopes that the customer will add a number of items to the cart prior to viewing their cart and checking out. If you have landed on this documentation and you have realized that you will be needing a complete eCommerce solution that allows for a shopping cart please view our following solutions:

If you cannot decide whether to use a ‘Buy Now’ button or an ‘Add to Cart’ button on your website, consider if you customers will be immediately checking out with the item or if your customers will be shopping around and checking out with a number of items. In short, a ‘Buy Now’ button is an express 1 item checkout.

What Websites Use PayPal Buy Now Buttons?

If we generalize the type of websites that use ‘Buy Now’ buttons over an ‘Add to Cart’ button, they are small scale businesses that have minimal products available or large scale businesses that are known for one particular item. Who would have guessed some big name brands began with a simple ‘Buy Now’ button.

A Buy Now button is suitable for those that:

  • Have one item on offer
  • Have a number of items although a customer would only ever purchase 1 type
  • Wish to sell a product or service directly from a blog post
  • Intend on selling an item from the website sidebar

Effective Places to Position a ‘Buy Now’ Button

Of course the price of the product or service you are offering plays a role in whether the visitor proceeds to checkout or not, the positioning of the button may also see you achieving a greater or fewer number of sales. Many of the PayPal plugins designed to produce ‘Buy Now’ buttons allow you to add a shortcode or widget basically anywhere on your website. The beauty of using a shortcode means that the options of placement are endless. If you want to use a ‘Buy Now’ button effectively on your website, our tech tips are as followed.

Placement of an Effective Buy Now Button

Within a Blog Post

If you have a following of readers who are interested in you and what you blog about, advertising from a blog page can increase the likely hood of them clicking the ‘Buy Now’ button especially if they have just read an entire blog page about the product/service you are selling or about something within a similar category.

On Your Website’s Sidebar

Placing a ‘Buy Now’ button on your website’s main sidebar is effective as it is constantly visible to someone browsing your website. If the product or service relates to your website, you may see regular sales.

Within the About Page of Your Website

Many visitors to the site will want to know ‘who you are’. If your product relates to you directly, the about page is an ideal place to push for a sale.

On Your Website’s Landing Page

The landing page for a product is ideal to place a ‘Buy Now’ button. Those coming to this page have shown interest in the product and are therefor most likely looking for a way that they can purchase it.

On Your Website Homepage

If you have visited a website recently you may have noticed ‘Buy Now’ buttons even within the homepage slider. This is slightly sneaking but proves to be effective. The customer only need to look up your URL and straight away they will see an option to purchase your product.

When displaying ‘Buy Now’ buttons on your website think about the flow of customers coming to your website. While having a number of ‘Buy Now’ buttons across the entity of the website ensures you miss no potential sales, you also will need to be careful that you do not portray a spam website.

PayPal Buy Now Buttons for WordPress

If you run a WordPress website the good news is you have a platter of PayPal buy now button plugins to choose from. When selecting an eCommerce software to install and activate, and for that matter any software be vigilant, read the reviews and ensure it has been maintained. We recommend where possible, downloading a free WordPress plugin directly from WordPress.Org rather than a third party website. Always steer clear of plugins that have not been updated for over a year.

Top PayPal Buy Now Buttons for WordPress:

If you are looking to sell a basic item from your WordPress website, installing and activating one of the following free plugins will allow you to do so:

Top ‘Buy Now’ PayPal Donation Buttons for WordPress:

Are you looking to collect donations for a cause on your WordPress website? We’ve compiled some of the most popular PayPal Donation plugins for WordPress below:

The Tips and Tricks HQ solutions; WP Easy PayPal Payment Accept Plugin and the PayPal Donations Plugin currently stand as the top WordPress plugins with the highest number of active installations within their respective categories.

Which ‘Buy Now’ Style Plugin Should I Use on my Website?

  • PayPal Payment Accept
  • PayPal Donations
  • PayPal for Digital Goods

If you have a WordPress website and you wish to collect money via the PayPal payment gateway, view the table below to see which of the Tips and Tricks HQ plugins will be the best fit for your website.

FeaturePayPal Payment Accept
PayPal Donations PayPal for Digital Goods
Uses the PayPal Payments Gateway to Process Transactions
✔

✔

✔
Free WordPress.Org Plugin
✔

✔

✔
Requires a PayPal Merchant Account
✔

✔

✔
Allows for Donations
✔

✔
–
Allows for a Return URL
✔

✔
–
Button Shortcode
✔

✔

✔
Allows for a User Specified Amount
✔

✔
–
Allows for Custom Payment Button Image
✔

✔
–
Allows for Tax Collection
✔
––
Allows for Alterations to Button Text
✔
–
✔
Allows for Sale of Digital Items –

–
✔

How Can I Create a Buy Now Button in WordPress?

If you have set up a WordPress website, perhaps you are a keen blogger and you’ve decided to start to monetize your website, you may want to sell a trending item or your own work such as a book using a buy now button. While you can create a number of different payment gateway ‘buy now’ buttons, below we will look at the simple steps involved in adding a PayPal ‘Buy Now’ button to a WordPress website to sell a physical product to potential customers. Using this plugin and requiring an email address allows you to also offer a digital product although you would need to send this through manually.

Video Tutorial:

Written Tutorial: Adding a Buy Now Button to a WordPress Website

Step 1) Install and Activate the Buy Now Button Plugin

Before we go ahead and configure our product and add a ‘Buy Now’ button to the front end of our WordPress website, we will need to install the free Tips and Tricks HQ plugin. Even if you have no developer knowledge, the good news is you’ll be able to add a buy now button to your website.

  1. Download, install and activate the ‘WP Easy PayPal Payment Accept‘ plugin directly from WordPress.Org.
  2. If the plugin has been activated successfully you will see a ‘WP PayPal Payment‘ menu under the WordPress ‘Settings‘ menu.

Step 2) Configure Your Product/Service that You Wish to Sell Customers

Now that we have activated the PayPal Buy Now Button plugin, it is time to configure our product or service. Using this plugin we can either sell a physical item or request a donation in return for an item or service.

  1. Click on the ‘WP PayPal Payment‘ menu underneath the WordPress ‘Settings‘ menu.
  2. It is here you can configure your product or service you have for sale. Below you can find out the fields available to edit/alter for your product/service:
    1. Edit the Widget Title.
    2. Enter Your PayPal Email Address.
    3. Choose the Currency of Item.
    4. Choose a Payment Subject.
    5. List Your Payment Options and Prices.
    6. Mark the Checkbox to ‘Show Other Amount’ to Allow Customer to Decide the Price.
    7. Mark the Reference Checkbox and Enter a Reference Text to Ask the Customer for Additional Information.
    8. Enter a Return URL (Thank You Page).
    9. Enter a Cancel URL.
    10. Choose Between the Pay Now or Donate Button.
  3. Click the ‘Update Options‘ button.
  4. You have now configured a product or service.

Step 3) Add the Product Buy Now Button to Your WordPress Website

Now that the product details have been configured it is time to add a buy now button to either a post or a page on your WordPress website.

Adding a Buy Now Button to a WordPress Post or Page

  1. At the top of the ‘Accept PayPal Payment Settings’ page, you will see a shortcode ([wp_paypal_payment]).
  2. Copy the shortcode and add it to any post or page to display your buy now button.
  3. Save the post/page.
  4. Customers will now be able to purchase the item or donate depending on what you have set up.

Adding a Buy Now Button to Your WordPress Sidebar (Widget)

Using the ‘WP Easy PayPal Payment Accept‘ plugin, a buy now button widget is available. You can add this to any of your site’s sidebars from the ‘Widgets‘ menu.

  1. Click on the ‘Appearance‘ menu and then on ‘Widgets‘.
  2. You will see a widget titled ‘WP PayPal Payment‘.
  3. Drag and drop this widget to the desired location.
  4. View the widget from the front end of your website.

If you believe the ‘WP Easy PayPal Payment Accept’ plugin will be the right fit for your website, you can view more details here.

The post How to Create a PayPal Buy Now Button Easily in WordPress appeared first on Tips and Tricks HQ.

How to Add the PayPal Pro Gateway to WooCommerce

2 juin 2019 à 12:40

We recently touched on how an WooCommerce enthusiast can accept payments via the Braintree gateway through the use of a third part plugin available on WordPress.Org plugin. In this article we will take a look at the PayPal Pro Payments integration plugin for WooCommerce.

PayPal Payments Pro has become increasingly popular in recent years due to the fact that it allows onsite checkout. An onsite checkout can increase conversion rates by allowing for a seamless transaction process. Using PayPal as the primary payment processor can provide customers with the trust needed to complete a larger transaction.

The Cost of Using PayPal Payments Pro with WooCommerce

WooCommerce PayPal Pro Payment Gateway is an entirely free addon plugin available on WordPress.Org. In terms of per transaction fee charges, these can be found on the PayPal website.

If you have found other free PayPal Pro integrations for WooCommerce we’d love to hear about them in the comments section below.

PayPal Pro WooCommerce IntegrationFree on WordPress.Org
WooCommerce PayPal Pro ExtensionUpwards of $79.00

What is PayPal Payments Pro?

The majority of our users will be familiar with PayPal, although PayPal Payments Pro also powered by PayPal is different in the way the checkout looks and works. PayPal Payments Pro is used on website where they have a customer base who will be predominately using major credit cards opposed to having a PayPal account. Furthermore, the customization possibilities when using PayPal Payments Pro are much greater than the standard PayPal checkout.

Similar to the standard PayPal, all transactions completed with PayPal Payments Pro can be viewed directly from your PayPal dashboard.

PayPal Payments Pro falls under the Payflow Pro suite of PayPal gateway options.

What are the Benefits of PayPal Payments Pro?

  1. The merchant can design their checkout page to fit with the style of the website.
  2. The merchant hosts their own checkout page.
  3. The customer never needs to leave the website to complete a checkout with their credit card.
  4. Customers still have the option to be directed to checkout with their regular PayPal account.
  5. Customers do not need a PayPal account to checkout using their credit card.
  6. Transactions are authorized in real time.
  7. This gateway allows you to accept major credit cards.

How Does a PayPal Payments Pro Checkout Work?

When you have set up PayPal Payments Pro on your website, your customers will be displayed with an onsite checkout page with fields where they can enter in their credit card details. Once the details have been entered and the payment button is clicked, PayPal handles the transaction. When you integrate PayPal Payments Pro with WooCommerce, the credit card fields will display on the WooCommerce checkout page.

What Credit Cards Can be Accepted with PayPal Payments Pro?

Before you delve into setting up PayPal Payments Pro you should first consider if the features offered by this gateway will suit the needs of your website and your potential customers. In terms of accepted credit cards, those customers from the United Kingdom will be able to pay with Visa, MasterCard, Maestro/Switch (requires 3D Secure) and Solo, your United States customers will be able to complete a transaction using a
Visa, MasterCard, Discover or American Express card and finally your Canadian customers can checkout with either a Visa card or a MasterCard.

Considerations When Using PayPal Payments Pro and WooCommerce

  1. To be able to use PayPal Payments Pro you will need an SSL certificate for your website. Many hosting companies now offer free SSL certificates when you sign up to use them as your provider.
  2. PayPal Payments Pro is currently available in the United Kingdom, the United States and Canada.
  3. You must have a PayPal Pro Business Account to be able to implement this payment gateway on your website.
  4. Both the PayPal Pro Integration Plugin and the WooCommerce Plugin are designed to work on a WordPress website.

“When using PayPal Payments Pro using Payflow Gateway integration, merchants can use the Transparent Redirect feature to help manage PCI compliance.”

Features of PayPal Payments Pro

FeaturesPayPal Payments Pro Gateway
Does My Customers Need a PayPal Account?No
Do My Customers Need to Leave the Website to Make a Payment?No
Can PayPal Payments Pro be Used for WooCommerce Subscriptions?No
Does My Website Need an SSL Certificate to Use this Gateway?Yes
Who is the Processor of this Gateway?PayPal
Where Can this Gateway be Used?Currently able to be set up on merchant accounts located in the US and the UK.

How to Implement PayPal Payments Pro on Your WooCommerce eCommerce Website: Video Tutorial

How to Implement PayPal Payments Pro on Your WooCommerce eCommerce Website: Written Tutorial

The main reason you have landed on this documentation is more than likely to find out how you can implement a PayPal Payments Pro checkout on your WordPress site where you are using WooCommerce to handle all eCommerce functions. Below we have written up step by step instructions so even those with little or no developer knowledge will be able to set up the required plugins.

Step 1) Ensure You Have Both Plugins Installed and Activated on Your WordPress Website

To be able to offer PayPal Payments Pro on an WooCommerce website you will need both the WooCommerce Plugin and the PayPal Payments Pro Integration Plugin installed and activated on your website. You will also need to hold a business PayPal Pro account and have an SSL certificate for your website (to allow for live transactions).

  1. Install and Activate WooCommerce and WooCommerce PayPal Pro Payment Gateway on your WordPress website.
  2. Ensure you have a business PayPal Payments Pro account.
  3. Install SSL certificate for your website (if you do not already have one).

Step 2) Complete the Required Set Up

You will need to complete the WooCommerce required set up if this is your first time using the popular eCommerce plugin. You can find instructions on setting up WooCommerce here.

  1. Configure WooCommerce settings.
  2. Click on ‘WooCommerce‘ and then on the ‘Settings‘ menu. Choose the ‘Payments‘ tab.
  3. If you have installed and activated the WooCommerce PayPal Pro Payment Gateway successfully, you will see the payment gateway listed within the payments tab.
  4. Slide the toggle bar to ‘Enable‘ this payment gateway on your website.
  5. Click on the ‘Manage‘ button to then configure the required settings of the integration plugin.
  6. Choose to ‘Enable Sandbox‘ if you are currently only testing.
  7. Choose a ‘Title‘ for this payment gateway which will be displayed to your customers.
  8. Open up your PayPal Payments Pro business account and log in on another browser. Locate your API credentials.
  9. Copy and paste your ‘PayPal Pro API Username‘, your ‘PayPal Pro API Password‘ and your ‘PayPal Pro API Signature‘ into the correct fields in the settings menu.
  10. Click the ‘Save Changes‘ button.

Step 3) Complete a Test Transaction

If you have completed ‘Step 1)‘ and ‘Step 2)‘ successfully you should be able to see the PayPal Pro Payments checkout when you view your WooCommerce cart. If you have enabled sandbox testing, you can complete a test checkout to ensure the process is working correctly. Alternatively you can complete a live transaction if you wish.

  1. Ensure sandbox was enabled in ‘Step 2)‘ to complete a test checkout.
  2. Add an WooCommerce product you have created to the cart on the front end of your website.
  3. Complete the checkout details required.
  4. In the section where card details need to be entered, use a PayPal test card number such as: ‘4242424242424242’, an expiry that is in the future and a CVC that is a three number combination such as ‘123’.

For further instructions on the setup and checkout process please watch the video tutorial above.

WooCommerce PayPal Express Checkout Gateway

If you also want to add the PayPal express checkout gateway option to your WooCommerce store, then use the WP Express Checkout plugin to add that to your WooCommerce install.

Tips and Tricks HQ WooCommerce Integrations

Our WP Affiliate Plugin and WP eMember Plugin will both work with this WooCommerce setup with the PayPal Pro Gateway. The WooCommerce integration for those plugins can be downloaded from WordPress.Org:

  1. Affiliate WooCommerce Coupons Integration
  2. Affiliates WooCommerce Advanced Integration
  3. WooCommerce and WP eMember Integration

The post How to Add the PayPal Pro Gateway to WooCommerce appeared first on Tips and Tricks HQ.

How to Reinstall WordPress Without Losing Content

Par : admin
21 mai 2019 à 10:31

If you have found yourself hitting a stand still after using all troubleshooting resources available, you may consider reinstalling WordPress. While reinstalling WordPress on your server should never be a first resort, the method outlined in this article will help you along the way and will ensure you do not loose your valuable content.

We also previously wrote this article on uninstalling and re-installing WordPress.

Before you go ahead and reinstall your WordPress, storing a back up on your computer is vital. While we will not use this backup in the process outlined below, if all else fails, you can rest assured knowing you still have a backup safely secured on your desktop. There are a number of WordPress backup plugins that make backing up a site simple and hassle free. Selecting one of the free plugins below will allow you to complete this mandatory back up prior to moving on:

  1. Updraft Plus: 2+ million active installs
  2. BackWPup: 600,000+ active installs
  3. BackUpWordPress: 200,000+ active installs
  4. VaultPress: 80,000+ active installs
  5. WP Database Backup: 70,000+ active installs
  6. WordPress Backup and Migrate: 70,000+ active installs

Reinstalling WordPress without Loosing Content

Reinstalling WordPress Using FTP

Below we’ve outlined step by step instructions to manually reinstall WordPress without loosing content. This is the most suitable way for anyone who has been locked out of their admin dashboard possibly due to a hack or errors. To complete the following instructions, you will need FTP access. If you do not have your credentials you will need to contact your hosting provider.

Step 1) Complete a Back Up of Content

A WordPress export file will be created in this step. This file will contain all your content including pages, posts, comments, categories and tags. This is a crucial step and will ensure your content is safe when a fresh install of WordPress is completed.

  1. Log into your WordPress dashboard and click on the ‘Tools‘ menu.
  2. Click on the sub-menu titled ‘Export‘.
  3. Click on the check circle for ‘All Content‘.
  4. Click the ‘Download Export File‘ button.
  5. A file should have downloaded to your computers ‘Downloads‘ library. Ensure that you can locate that file before proceeding.
exporting-wordpress-content-for-install

Step 2) Download Content from cPanel (or Similar)

  1. Log into your ‘cPanel‘ account (or another FTP Client).
  2. Locate the ‘wp-content‘ folder. Click on ‘File Manager‘, then on ‘public_html‘ and then right click on ‘wp-content‘.
  3. Click on the ‘Compress‘ button. You should now see a zip file.
  4. Click on the zip and then click on the ‘Download‘ button located at the top to download this file to your computer.
  5. Ensure that the ‘wp-content‘ download is stored on your computer before moving onto the next step.

Step 3) Uninstall WordPress

  1. In your FTP client, perhaps you are using cPanel, select all files and click ‘Delete‘.
  2. Confirm deletion if you are prompted to.
  3. Create a new database. You can choose whether or not you delete the old database.

Step 4) Install Latest WordPress

  1. Go to ‘WordPress.Org‘ and download the latest version of the software.
  2. Within your FTP Client (cPanel or similar) drag the unzipped files to the public_html folder.
  3. Once you have uploaded all the files go to your website and enter the new database information you created earlier.
  4. You will need to click ‘Submit‘ and then click on the ‘Run Install‘ button.
  5. Click on the ‘Install WordPress‘ button.

Step 5) Delete Default Content and Restore WP-Content

In this step, we will use the wp-content.zip file from Step 2 to restore the contents of the wp-content folder.

  1. Log into your fresh WordPress website.
  2. In the WP dashboard, click on the ‘Posts‘ menu.
  3. Trash any posts. For example the ‘Hello World‘ post. You will need to ensure there are no posts/pages that will conflict when the old data is added to the fresh install.
  4. Click on the ‘Comments‘ menu and ensure the default comments have been deleted.
  5. Ensure there are no pages within the ‘Pages‘ menu.
  6. Log into your FTP Client (cPanel or similar) and locate the ‘public_html‘ folder.
  7. Click on the ‘wp-content‘ folder.
  8. Locate the file you previously downloaded in step 2 and drag this inside the ‘wp-content‘ folder.

Step 6) Import WordPress Content from the Dashboard

In this step, we will utilize the XML file downloaded in Step 1 to restore the contents of blog posts, pages, comments, and other related elements.

  1. Log back into your WordPress dashboard.
  2. Click on the ‘Tools‘ menu and then on ‘Import‘.
  3. Install the WordPress Importer.
  4. Now click the ‘Run Importer‘ button.
  5. Click on the ‘Choose File‘ button and select the XML export file that we downloaded in step 1 earlier.
  6. Click the ‘Upload File and Import‘ button to proceed. You will need to assign an author to the pages. Allow images to be imported to the media gallery.

Step 7) You have Reinstalled WordPress

You have now completed a re-installation of WordPress.

Considerations for Completing a Backup:

  • If you have a number of users of your site you may need to consider exporting users

Reinstalling WordPress from the Dashboard (Updating Software)

The following outlines how to reinstall WordPress from the admin dashboard. This will only reinstall the core WordPress files. By completing this method, you will have the latest version of WordPress without corrupted files.

While this method is quick and easy, it does require admin dashboard access. If you do not have access currently to your dashboard, you will need to reinstall WordPress via FTP (outline above).

  1. Ensure you have backed up your WordPress site. This step is only to ensure you have your data if something is to fail.
  2. Log into your ‘WordPress dashboard‘.
  3. Click on the ‘Dashboard‘ menu and then on ‘Updates‘.
  4. Click the ‘Re-install‘ now button.
  5. You will have simply and easily re-installed WordPress.

The post How to Reinstall WordPress Without Losing Content appeared first on Tips and Tricks HQ.

After Download Redirect for Downloads from Your WordPress Site

16 mai 2019 à 05:09

If you wish to offer free downloadable items on your website, TTHQ’s very own Simple Download Monitor and Manager Plugin allows you to do so with ease. If you find that you not only wish to offer downloads but also wish to redirect the visitor to another URL after they click the ‘Download Now’ button, then the Secure Downloads Addon will come in handy.

An after download redirection can be used for a number of reasons, although primarily a redirection is used to convenience the user, to up-sell a similar or premium option or to further explain the use of a product. In some circumstances, a redirection is used to ensure the user has sighted the privacy or terms and conditions page of a website.

Simple Download Monitor and Manager Explained

SDM Plugin: Allows you to create buttons that your visitors can click to receive a downloadable file. The Simple Download Monitor Plugin also allows admin to keep track of the user base downloading and how many times a single item has been downloaded.

Secure Downloads Addon: This is an extension for the SDM Plugin that allows admin to further protect the location of their downloadable item. This prevents the spreading of downloadable content. The Secure Downloads Addon also allows admin to create an auto redirection after download.

What is an After Download Redirection?

An after download redirection occurs after the user has clicked on the ‘Download Now‘ button. The redirection will send the user from the page where the download is available to a URL of admin’s choosing.

  1. The user will land on a page where the ‘Download Now’ button is apparent.
  2. The user clicks the ‘Download’ button and the item begins downloading.
  3. After a couple of seconds, the user is redirected to another URL.

Why Should I Redirect my Users After Download?

If you are already using the Simple Download Monitor and Manager Plugin on your website, you may be wishing to redirect your customer base to another page after they click the download button. If you are not using the SDM plugin, you may like to make the switch so that you can implement a redirection by using the appropriate addon.

Some administrators choose to have a redirection after a downloadable item has been clicked on so that they can offer further content and downloads that they have available. For instance, your user may have just downloaded a free song although you wish to direct them to a page where the premium version can be purchased. Redirection can be a way to ‘up-sell’ to the customer. While the SDM Monitor is used primarily by those offering free content to their users, this does not mean you cannot redirect to a products page.

Other times a redirection is used to benefit the user. For example, once the customer has clicked the download button there might not be much else on that page so it makes sense to redirect the user back to the home page or main page of the website.

Below we’ve listed a few reasons why a redirection after download may be an option on your website:

  • Use a download redirection to up-sell further items from a product page
  • Redirect your users to a homepage after they download an item to convenience the user
  • After the user has clicked the ‘Download Now’ button, implement a redirection to a page that explains how to use the download correctly (this is appropriate if you are offering some kind of free software or game)
  • Use an after download redirection to expose the user to a premium addition of the download (This is an option for photographers who have a free lite photo and a premium high definition photo)

Configuring a Redirect After Download on My WordPress Website

If you wish to direct your user base after they download an item on your website, you will need to have:

  1. A WordPress Website
  2. The Simple Download Monitor Plugin (Free)
  3. The Hidden/Private/Secure Downloads Addon (Premium)

Ensure you have both the SDM Plugin and the Addon mentioned above, installed and activated on your WordPress website prior to continuing. In the next section, the set up required is explained. Once you have followed the instructions, you will have:

  1. A Downloadable Product Set Up
  2. A Download Now Button on a WordPress Page
  3. An After Download Redirection Configured

Video Tutorial: Creating an After Download Redirect

1) Setting Up a Download

Step 1) Ensure the Simple Download Monitor and Manager Plugin is installed and activated on your WordPress website.

Step 2) Gain basic knowledge of the plugin by reading the following documentation.

Step 3) Click on the ‘Downloads‘ menu. Click the ‘Add New‘ button to create a new download.

Step 4) Give your download a title and a description. Add the download the customers will receive by clicking the ‘Select File‘ button.

Step 5) Add a ‘File Thumbnail‘ if you wish too.

Step 6) Add your download to a category and apply tags.

Step 7) Click the ‘Publish‘ button to save your downloadable item.

Your downloadable item will now appear under the ‘Downloads‘ menu.

2) Creating a Page with a Secure Download

You have now created a download. Next you will need to ensure you have the Secure Downloads Addon installed and activated on your WordPress website.

Step 1) Create a post or a page. This is where we will put the download button.

Step 2) Give your page a title and then add a text block to explain what the download is. You may wish to also add an image.

Step 3) Copy and paste the following shortcode into a ‘Shortcode‘ block on your post/page:

[sdm_hidden_download id="4101"] 

Step 4) You will need to open your ‘Downloads‘ menu in a new tab and replace the download ID in the shortcode with the correct ID of your downloadable item.

Step 5) Click the ‘Publish‘ button to publish out the post/page.

Step 6) You will now have a post/page with a download button. The download button will work although we are yet to apply a redirection. Please complete step 3 below to apply the redirection.

3) Applying a Redirect to a Downloadable Item 

Step 1) Click the ‘Hidden Downloads‘ menu. This can be found under ‘Downloads‘. Ensure all settings are correct.

Step 2) Click on the ‘Downloads‘ menu. Click the ‘Edit‘ button for the download you just created.

Step 3) Scroll down until you see the ‘After Download Redirect‘ section. Copy and paste the URL of the page where you wish those who download this item to be directed to.

Step 4) Alter the number of seconds for the redirection to occur after if you need to. This should be no less than 3 seconds.

Step 5) Click the ‘Update‘ button. Return to the page where you paste the shortcode.

Step 6) View the page with the download button on the front end of your website. Ensure the redirection works after hitting the download now button.

Purchase the Secure Downloads Addon or find out more about setting it up on your WordPress website here.

The post After Download Redirect for Downloads from Your WordPress Site appeared first on Tips and Tricks HQ.

How to Reset a WordPress Install

22 avril 2019 à 07:31

Are You Looking for a Way to Reset Your WordPress Website? Perhaps You Wish to Start from Scratch?
While There Isn’t an In-Built WordPress ‘Reset’ Button, Admin are able to Reset their Website Either Manually or Through the Use of a Plugin.


In this tutorial we’ll take a look at how a WordPress install can be reset to it’s original settings. Resetting a WordPress website means all data will be lost so it’s important to back up your site if there is any information worth saving. Effectively, resetting a WP installs means that all data bases and files are returned to their original state or commonly referred to as their factory settings.

Resetting a WordPress install can be completed by following the instructions below, or watching our video tutorials. Using the WP Reset plugin is an efficient way of resetting for those without developer knowledge, while using cPanel is generally the preferred way by WordPress enthusiasts.

Why do WordPress Users Choose to Reset their Website?

Resetting a WordPress website means returning all the files and databases to their original state. While this is ideal for those wishing to start fresh, it also means that all content that was previously on the website will no longer be accessible.

You may have created a number of test posts or pages and now wish to start with a clean slate for a live website. Completing a full website reset can be an efficient way of ‘cleaning up’ to start building your live site after testing is complete.

While not every WordPress user will want to reset their website, for those landing on this page, they have most likely found themselves in one of the situations below.

There are a number of reasons why someone would want to reset their WordPress website:

  • The website is to be used for a different project
  • The site was used for staging or demonstrating
  • Wish to use the same domain for a new business adventure
  • The owner wishes to restore the site from a previous backup
  • The owner is seeing many errors on a recently new website and feels the best way to overcome these errors is a complete reset
  • The WordPress website cannot be accessed due to a failure and admin has previously saved a backup

What is Entailed in a Website Reset?

Depending on how you reset your WordPress will dictate if it will be a complete reset meaning all settings and files are lost or a partial reset. For example, using the ‘WP Reset‘ plugin, you can dictate whether or not your plugins are reactivated after a reset or not.

If you wish to use any data that was previously stored on your site (in the database tables) now is the time to complete a backup of your website.


How to Reset a WordPress Install

The instructions below can be completed to reset a WordPress website. Please note that by completing a reset you will not be able to retrieve information that may have been previously saved on your site. It is important prior to resetting your WordPress website that you back up any information you wish to use in the future.


Method 1) Resetting My WordPress Install with a Plugin

Video Tutorial: Using a Plugin to Reset My WordPress

Written Tutorial: Using a Plugin to Reset My WordPress

This is the best way to reset WordPress for those who aren’t that WordPress savvy. Using a plugin to reset your WordPress can be hassle free and means you will never need to leave your WordPress dashboard. While this way is effective, it means that you will still need to have access to your WordPress site.

Step 1) From your WordPress dashboard, click on the Plugins menu and then on ‘add new‘. Search for the following plugin: WP Reset.
Step 2) ‘Install‘ and ‘Activate‘ the WP Reset Plugin (Please note: This is not a TTHQ plugin).

wp-reset-wordpress

Step 3) Now click on the ‘Tools‘ menu in your WordPress Dashboard.
Step 4)Under ‘Tools‘ click on the sub-menu; WP Reset.
Step 5) Read the text to ensure you wish to reset your WordPress. If you are happy to go ahead and reset, type the word ‘Reset‘ in the field towards the bottom. Also specify any ‘Post-reset Actions‘ that you wish to occur. Step 6) Click the ‘Reset WordPress‘ button.
Step 7) Click the ‘Reset WordPress‘ button again to confirm a full reset.

You have now completed a reset of your WordPress website.

resetting-a-wordpress-website

Further WordPress Database Reset Plugins

While our procedure above outlines how to use the WP Reset Plugin to achieve a WordPress Reset, there are a number of other plugins that can also do the trick. If you find WP Reset is not working on your website, checkout some of the following WordPress.Org Reset Plugins:


Method 2) Resetting WordPress Install without the Use of a Plugin

To reset your WordPress install without the use of a plugin you will need to have access to your website’s cPanel (or similar). The details needed to access your WordPress database can be obtained from your hosting provider.

This method is said to be the harder method of the two, although by following the instructions below even someone without developer knowledge should be able to reset their WordPress account.

Using cPanel to Reset a WordPress Website

Step 1) Log in to your ‘cPanel‘ account for the WordPress install that you wish to reset.
Step 2) Once you have logged into cPanel, click on the ‘MySQL Databases‘ button located under the ‘Databases‘ section.

Step 3) Find the name of the database in question and ensure you copy and paste the name of it into a notepad. You’ll need this later.
Step 4) From the actions column, click the ‘Delete‘ button for the database you wish to reset. This will delete that WordPress database so ensure if you wished to save any of that data, you did that prior to clicking delete.

Step 5) Now you will not be able to access your WordPress website until the following steps are completed.
Step 6) At the top of that same page, you’ll need to ‘Recreate‘ that database. Paste the name of the database from your notepad into the ‘Create Database‘ field. If you do not copy and paste the name of your previous database correctly, the reset will not work.
Step 7) Click the ‘Create Database‘ button. This database should now appear under the ‘Current Databases‘ section.

Step 8) You will now need to add back the admin user to be able to access that database. You will need to use the exact same username and password as you used previously otherwise the file won’t recognize the new database.

Step 9) You have now added the database back and created your admin user. With this method the themes, uploads and plugins you had will not be deleted. If you wish to delete them to start fresh with a new feel WordPress site, you’ll need to head to the ‘wp-content‘ directory in the WordPress root folder. From there you can delete the files under: Plugins, Theme and Uploads. It is recommended to leave one theme.
Step 10) This is the final step in the reset process. You’ll need to copy your website’s primary URL and add it to the following in the browser /wp-admin/install.php. For example: https://plugin-demo.com/wp-admin/install.php. It will ask you to fill in your login details here. This is the last crucial step to resetting your WordPress website.

Our Recommended WP Hosting

Please read this article for our list of affordable and reliable WordPress hosting solutions.

The post How to Reset a WordPress Install appeared first on Tips and Tricks HQ.

❌