Copyright Year with PHP

This instructional exercise is composed for those of you who end up neglecting to refresh the year in your site’s copyright line. I’ve seen a few destinations with copyright lines that are more than five years obsolete. We should investigate how you can set your site’s footer to dependably show the present year in the copyright line.

In most cases, you will find this in your theme’s footer.php file. If you are using a child theme (you should be), you will first want to look for the file within your child theme footer.php‘s directory.

In the most recent WordPress default Twenty Seventeen theme, you will be editing. /template-parts/footer/site-info.php


Once you have identified the proper file to edit, open it and look for the text from your footer’s copyright line. In Twenty Seventeen as well as many other themes, this is found within a div with the class “site-info”.


Now that we know where to make the changes, let’s update it to display a dynamic copyright line.

To get the current year in PHP we can use:

echo date(“Y”);

Keep in mind that this returns the date from the server.


Now you can get back to focusing on celebrating the new year instead of worrying about your copyright date! No more updates needed — your footer copyright will always display the current year!

Laravel 5 with Xampp


  • PHP >= 5.5.9
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension

Install Xampp

First of all, we need Xampp, so we can download it from the official page: Download Xampp



After you’ve downloaded and installed Xampp, we need to install Composer.

A composer is a PHP package manager that is integrated with Laravel Framework. In Windows, we can install it easy going to the official page and download the installer.

Composer Download page

After installing it, we can open a Windows terminal and write composer for executing the command:


Xampp Virtual Host

We will configure a Virtual Host in Xampp for a Laravel project, and in this example, we want to configure the domain for our project.

We need to edit httpd-vhosts.conf that are located in C:\xampp\apache\conf\extra\httpd-vhosts.conf and add following lines at the end of the file:

# VirtualHost for LARAVEL.DEV

  DocumentRoot "C:\xampp\htdocs\laravel\public"
  <Directory "C:\xampp\htdocs\laravel">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted

After this, our apache is listening to connections, but we have to configure our hosts file that allows redirecting to the localhost that is located in C:\Windows\System32\drivers\etc

IMPORTANT!: To edit this file, maybe we should give access, click properties and allow your user to modify this file. Edit hosts file adding our localhost for

# localhost name resolution is handled within DNS itself.
#       localhost
#	::1             localhost

Save the file and we are ready to install laravel.

Install Laravel Framework

We are prepared to install and configure a Laravel Framework. First of all, we have to navigate to a htdocs folder to install it and run this following command:

composer create-project laravel/laravel laravel “5.1.*”

Will start the installation of the Framework:



When it finishes, it will create following directory schema:


Finally, start our apache and MySql from Xampp control panel:


Navigate to and Laravel it’s installed!


If you own a WooCommerce online store and also sell your items on other marketplaces like Amazon and eBay, you might have wondered if it is possible to integrate all three in a single platform. Doing that will reduce your workload and let you manage all the orders from one place.

Luckily, there are some solutions available to connect your WooCommerce store with other marketplaces. In today’s post, I will introduce you to the top 3 solutions for integrate your WooCommerce store with eBay and Amazon.

1. WP Lab

Integrate your WooCommerce store with eBay and Amazon

WP Lab provides two separate solutions for integrating your WooCommerce site with eBay and Amazon. Both products are available as lite versions in the WordPress plugin directory. You can purchase the premium version from the website.

The WP-Lister Lite for Amazon plugin lets you integrate your site’s products with your Amazon inventory. Besides importing the existing products, you can match and link your WooCommerce store’s products with Amazon. It is also possible to import product title, image(s) and other data from Amazon.

WP-Lister for Amazon, the premium version lets you synchronize sales and create orders from your Amazon account. You will also get priority updates and instant support. The plugin is priced at $149.

The WP-Lister Lite for eBay plugin provides an easy solution for connecting your WooCommerce store with your eBay account. Along with creating unlimited items, you can add multiple variations of the products. The plugin is also available in several languages.

WP-Lister Pro for eBay allows you to sync the product inventory between your store and the eBay account. You can also create an order when an item is sold on eBay. Other useful features include uploading product images to eBay, importing products from eBay, split variations, advanced eBay options etc. You can get the pro plugin for $149.

2. Veeqo


With a mission of simplifying the shopping process, Veeqo provides easy solutions for integrating your WooCommerce store with Amazon and eBay. By using the service, you can easily keep track and sync the products in your WooCommerce store and the Amazon, eBay accounts.

The orders will be automatically synced every 10 minutes. Whenever an order is processed, your Amazon and eBay accounts will be updated with the tracking number. You can also print your invoice packaging slips, lists, labels in bulk amount.

As Veeqo supports all Amazon and eBay channels in the world, you can easily handle local and international orders from your e-commerce site. It is also a completely cloud-based system. Therefore, you can use the solution from anywhere in the world.

The real-time inventory syncing feature will keep tracks of all marketplaces and/or websites. As a result, your stock lists will always be updated. You will also be able to control all of your orders from one location. Each product will be accompanied by detailed information about the marketplace or website they belong to.

Veeqo also comes with several charts and reports about the sales and profit of your accounts and websites. By using these, you can easily get an overall idea about the condition of your business. There is a 14-day trial available. The pricing plans start from $130 per month.

3. Selro


Selro is a popular cross-channel selling platform with dedicated WooCommerce support. It offers smart inventory management options and shipping options for both the customer and the store owner. Selro integrates your WooCommerse store with your Amazon and eBay accounts.

The inventory of your accounts and the store will be automatically synced. The single dashboard view will make sure that you can view your product lists from all marketplaces and websites in one place. It will also streamline various backend operations like managing stock activities, product labels, handling sales orders etc.

The simple order management system of Selro will allow you to handle all the orders from the dashboard. Orders from the marketplaces and your online store will be processed automatically. The centralized inventory management options will make sure that you are always on top of your current inventory status.

Selro’s flexible technology is capable of connecting to any API and work seamlessly. In a case of necessity, you will get premium support 12 hours a day throughout the business days of the week. If you are still not convinced, you can try the 30-day free trial. You won’t need any credit card for the trial. After that, the pricing plans start from $99 per month.

Bonus: Automatically increase customer satisfaction and get more reviews on Amazon and eBay with this trick

Now that you have successfully integrated Amazon and eBay in your WooCommerce store, you can take it to the next level and automate post-purchase follow-up for Amazon and eBay customers. No matter what integration method you have used, once you have the customer information in our WooCommerce store we can use them to send them to follow up emails. For this, we will be using SIP Advanced Email Rules for WooCommerce.

Once you purchase SIP Advanced Email Rules for WooCommerce, you can easily target Amazon and eBay customers and send them specific emails, such as asking for feedback or reviews on your products. This is a great way to get more product reviews on Amazon and eBay in a way that is compliant with their terms of service.

From the left menu, click on “Sip Plugins -> Advanced Email Rules”, then “Add new”. Under “Advanced Email conditions”, set rules that will target only Amazon or eBay customers. For example, if you are using WP Lab to import orders from Amazon, you can either set “Payment method” equals “Amazon” (this is the custom name I use when importing Amazon orders, here you can set the one you chose) or “Email” contains “”. Similar rules can be set to target eBay customers.

I target emails 30 days after the order has been shipped from Amazon, however, you can send this email much sooner or even send more than one email per customer.



WooCommerce makes it very easy to create online stores. And now you have the proper tools for managing your online store and marketplaces accounts from a single dashboard.

Which solution looks the most interesting to you? Let me know in the comments.

And if you are using any other solution/extension to connect your WooCommerce store with other marketplaces, let me know by leaving a comment below. I will be glad to take a look.

Step 1: Collect Your Resources

To set up a self-hosted WordPress blog, you will need:

  • A domain name
  • A credit card
  • 20 minutes

It’s less demanding in the event that you haven’t officially enrolled your space. It’s likewise less expensive. I will demonstrate to you proper methodologies to get one for nothing, utilizing the administration I suggest in Step #2.

Be that as it may, on the off chance that you have effectively enlisted your space, no sweat. You will just need to include an extra stride. I will clarify the procedure toward the finish of this post.

Step 2: Set Up a Hosting Account

This is the place your blog will “live.” This is a server in the cloud (i.e., a remote PC), where you will lease space to introduce the WordPress programming and deal with your blog. It’s far less demanding than it sounds. Remain with me.

There are several facilitating administration accessible—maybe thousands. Nonetheless, in view of my experience and research, I prescribe Bluehost. I trust it is the best choice for a great many people for the accompanying seven reasons:

Reason #1: Support. Bluehost has incredible 24–7 support by means of telephone, email, or visit. I have by and by utilized it a few times and observed the care staff to be brisk, affable, and educated. The greater part of the organization’s care staff is situated in the U.S.

Reason #2: Reliability. Bluehost is super dependable. It brags an uptime normal of 99.9%. That is about more or less great.

Reason #3: Ease of Use. Bluehost is super-simple-to-use (as you can witness in the above video). Truth be told, shockingly so. You’ll ask why you haven’t set up a facilitating administration before now.

Reason #4: WordPress. Strikingly, WordPress itself just authoritatively prescribes three facilitating administrations. Bluehost is number one. It has more than 850,000 WordPress web journals.

Reason #5: No Limits. Bluehost offers boundless plate space, boundless transmission capacity, boundless areas (i.e., you can have various websites or locales on one record), and boundless email accounts.

Reason #6: Affordability. Bluehost is modest—about $3.95 to $5.95 a month, contingent upon which arrange you select. The more you will submit, the less expensive it is.

Reason #7: Values. In its Terms of Service (see Section 10.03, Bluehost denies obscenity, bareness, and other grown-up substance. It entirely authorizes this standard and erases destinations that damage it. By and by, I don’t need my blog sitting on an indistinguishable server from some pornographer. In the event that you feel a similar way, you might be shocked to realize that the greater part of the most well known facilitating administrations permit obscenity on their servers.

Note: I am a Bluehost associate, which implies the organization pays me a commission each time somebody joins through one of my connections. However, this didn’t impact my suggestion, since all facilitating administrations have comparative projects. I prescribe Bluehost in light of the fact that I sincerely trust they offer the best facilitating accessible.

Disclosure: I don’t utilize Bluehost for My site is too enormous and convoluted. It requires a committed server with a reflected reinforcement. Nonetheless, I have my different locales on Bluehost, as do a few of my relatives and companions. Bluehost works on shared servers and it is the correct decision for 95 percent of bloggers.

Coincidentally, Bluehost offers a thirty-day, unconditional promise, which is built into their Terms of Service. I have by and by tried this and recovered my cash inside a couple of hours. So there’s truly no hazard on your part.

Approve, so on the off-chance that you are still with me, go to the Bluehost landing page. Tap on the Get Started Now catch.

Presently you have to settle on your arrangement. I need to propose that you select the Plus Plan. This is Bluehost most well-known alternative—and in light of current circumstances. It’s just fifty pennies more a month than the Starter arrange, BUT it gives you the capacity to have a boundless number of sites on this one record. I feel that makes it an easy decision.

Regardless of the plan you pick, my guidelines will work for you; the math will simply be distinctive. Proceed by tapping on the Select catch.

Presently you have to choose whether you require a space name or you as of now have an area name. Will expect that you haven’t beforehand enrolled an area, utilizing some other space enlistment benefit (e.g., On the off chance that you have, I will disclose what to do the finish of this post.

Presently enter your area name in the furthest left box, pick the suitable expansion (com, net, business, whatever) and tap on the Next catch.

Launch A Self-Hosted WordPress Blog In 20 Minutes Or Less

Fill in your record data and after that look down to choose your bundle. As should be obvious, the costs run from $3.95 to $5.95 every month. (Once more, this is for the Plus Package.) It all relies on upon the length of your dedication.

Remember, you will be required to pay the yearly rate ahead of time. That is the means by which Bluehost can offer these super low costs. Here’s the math, in view of utilizing my affiliate link.

12 months at $5.95 every month is $71.40 every year and $71.40 upfront.

24 months at $4.95 every month is $59.40 every year and $118.80 upfront.

36 months at $3.95 every month is $47.4 every year and $142.20 upfront.

I would not agree to accept any of alternate administrations recorded on this screen, yet that is dependent upon you.

Presently enter your charging data. Affirm that you have perused and concur with Bluehost’s Terms of Service, and after that tap on the Next catch. The framework will now confirm your Visa data.

Bluehost will next request that you “Select the Upgrades that Best Suit Your Needs.” I would avoid these. Tap the Complete catch at the base of the page. Be quiet. This may pause for a moment or two.

You ought to now observe the “Welcome to Bluehost” screen, alongside a “Congrats” message. Presently you have to pick a secret key for your record. Tap on the Create your secret key catch:

Utilize the Password Generator choice to make a solid, hard-to-hack secret key. Duplicate this to the clipboard by squeezing ⌘-C in the event that you are on a Mac or Control-C on the off chance that you are on a PC. Presently tap the Paste catch to glue the secret word into the fitting fields.

Presently tap the checkbook that says, “I affirm I have perused and consent to the Terms of Service … ” Then tap the Create catch. This makes your new Bluehost account.

Cautioning: You may get a mistake message here. It is just in light of the fact that it now and again takes a couple of minutes for the Bluehost robots to make your record. Try not to freeze. Most dire outcome imaginable.

This will convey you to the Bluehost login screen. Here you will be asked to log into your space. Your space ought to be naturally embedded for you. In the event that it is not, sort it into the field gave.

Presently utilize the secret word you simply chosen in the watchword field. Since you already duplicated it to the clipboard, you can glue it with ⌘-V on the Mac or Control-V on the PC. Presently tap on Submit.

You may see yet another redesign offer, maybe for Optimized facilitating. Don’t hesitate to disregard this for the time being. You can simply include it later. Rather, tap on the Hosting join in the upper left-hand corner.

This will take you to the fundamental Control Panel. You may get another fly up. This one is putting forth to walk you through the way toward setting up your site. You can close this screen by tapping on the X in the upper right-hand corner. I will walk you through this myself.

You ought to now be at the Control Panel, here and there called the cPanel.

Step 3: Install WordPress

Try not to be scared by the quantity of catches in this progression—it’s incredibly straightforward. The procedure used to be confused, and you must be a semi-nerd to force it off. In any case, Bluehost now makes it super-straightforward. Confide in me, anybody can do this.

Look down the page to the “Site” segment. Tap on the Install WordPress logo and sit tight for the new page to stack. Be persistent. It may pause for a moment.

Another “WordPress” screen shows up. Just tap on the Install catch. That will convey you to another screen. Presently select the area on which you need to introduce WordPress. It ought to default to the right one. Tap on Check Domain.

The following screen will state ” the evetuallyLast step, you are practically there.” Click on “Advanced Options.” Type in your site name or title. (Try not to stress. You can simply change this later.) Accept the “Administrator Username” and “Administrator Password” that Bluehost proposes.

Presently tap on the thing that says, “I have perused the terms and states of the GPLv2.” Now tap on the Install Now catch. The establishment procedure ought to start and will keep you refreshed on the procedure. Be persistent, this will pause for a moment or two.

Bluehost may then offer you another upsell. (I understand this gets irritating. Keep it together. You are practically done.) Just close the fly up if there is one. You can normally do as such by tapping on the X in the upper right-hand corner of the fly up.

You ought to now see an improvement meter at the highest point of the screen. Once more, this will pause for a moment or two, contingent upon how bustling the Bluehost robots are.eventually say, “Your introduce is finished!”

Presently tap on the View Credentials catch. This will take you to the Notification Center. Tap on the View catch.

When it is done, you will get a screen with your Blog URL, Login URL, username, and watchword. Bluehost will likewise email this data to you, yet I jump at the chance to have a reinforcement. I would record it or take a screenshot. Likewise, duplicate the secret key to the clipboard (once more, utilizing ⌘-c on a Mac or Control-C on a PC).

You’re gaining awesome ground! You have finished the most troublesome piece of the procedure. Presently things will accelerate impressively.

Step 4: Log into WordPress

Click on the “Admin URL” link. This will take you to the WordPress login page.

Now enter your username and password. (Remember, you wrote these down in Step 3. You also copied the password to the clipboard.) Click on the “Remember Me” checkbook and then click on the Log In button.

You should now be looking at the WordPress “Dashboard.” Sometimes, bloggers refer to this as the WordPress back-end. The front-end is what your readers see—your normal blog site. The back-end is what you see—how you control what appears on the front-end.

Step 5: Write Your First Post

Click on the Posts | Add New option in the left-hand side menu. You should now see the New Post screen.

Step 6: Load Your New Blog

Simply click on the “View Post” link. Your new blog should load in a new browser tab.