Functions.php is a file found in your Theme’s folder. To understand the file location, look at the following wordpress theme hierarchy.
Adding Code to the Functions File
The functions file is where you put various features and functionality within your wordpress theme. You can achieve this by defining your own functions or by calling built-in WordPress functions. For example, you can control :
Use of featured images
The image sizes supported by your theme
Decide whether to show post from a particular category in home page or not
And more ….
You can produce the same results by using a WordPress Plugin. In other words the functions file behaves like a WordPress Plugin. But using lots of plugins can slow down your blog’s performance.
A WordPress Theme is a collection of files that produce the graphical interface for a wordpress website. You can find plenty of free or premium themes on internet. A good premium theme providers will aggressively
Update their themes with new features and functionality
Add more security features or bug Fixes
Update any browser compatibility issue
Keep up with the latest WordPress enhancements.
Whenever a new version of your WordPress theme is released, WordPress dashboard will notify you to update your theme to the latest version. WordPress experts always recommend you to update yo themes to your theme to latest version.
But when you update your theme, you’ll lose all the tweaks you made to it. How can you update a WordPress Theme without losing customization? WordPress is providing an easy mechanism to solve this issue. It is parent theme child themes combination.
What is a Parent Theme?
A parent theme is a complete theme which includes all of the required WordPress template files. Any theme in your /wp-content/themes/ folder is considered as parent theme. What is a Child Theme?
A child theme is simply a theme that inherits the functionality and looks of another theme – the parent.
How to Create a Child Theme
A child theme consists of at least one directory with minimum two files (style.css and functions.php) in it. In fact only one file ( style.css) is required in child theme. But functions.php is necessary to enqueue styles correctly.
Step1. Create a child theme folder:
First, create a new folder in your themes directory, located at wp-content/themes.The directory needs a name. It’s best practice to give a child theme the same name as the parent, but with -child appended to the end. For example, if you were making a child theme of twentyfourteen, then the directory would be named twentyfourteen-child.
Step2. Create a stylesheet: style.css
Next, you’ll need to create a stylesheet file named style.css, which will contain all of the CSS rules and declarations that control the look of your theme. Your stylesheet must contain the below required header comment at the very top of the file. This tells WordPress basic info about the theme, including the fact that it is a child theme with a particular parent.
Step3. Create a functions.php file
Your child theme’s functions.php file should start with a php opening tag and end with a php closing tag. In between, you can add your desired php code.
Enqueue the parent and child theme stylesheets
What if Child theme does not overwrite parent themes style.css
Some times ever after adding css code to your child theme, you don’t see any changes to the site’s style.
For this, you need to enqueue it and add the parent stylesheet to the childtheme. The correct method of enqueuing the parent theme stylesheet is to add a wp_enqueue_scripts action and use wp_enqueue_style() in your child theme’s functions.php.
Spam is a huge problem for every website. Spammers love WordPress sites. Spam comments are irritating, and your readers might lose faith in you. Spam comments can negatively impact your search engine rankings. Akismet is one of the best comment spam filtering service that blocks spam in comments automatically. It is free to use and is highly recommended.
In this post, I will share how to configure Akismet For wordPress blog.
Activate Akismet Plugin
Akismet comes pre-installed with wordpress installation. You need to activate it. Go to Plugins > Installed Plugins. Click on Activate link next to Akismet Plugin
Enter API key
After activating Akismet, it will require an API key. If you already have a key enter and proceed.If you do not have a key, you can get it for FREE. Click on “Get your key”, you will be directed to Akismet’s website.
When you click on “Get your key”, you will be directed to Akismet’s website. At first, you need to sign up for Akismet with WordPress.com. If you already own a WordPress.com account, just login with your account. Otherwise, you have to create a new account. Just enter your Email address, username & password and click on “Sign Up” button.
On the next page, select the basic plan to generate a free Akismet API key.
On the next page, move the slider all the way to the left under the column which says “What is Akismet worth to you?” And click on “Continue”
On the next page, click on the eye icon to get the free Akismet API key. Your Akismet API key will be sent to your email address too.
Add this Akismet API key onto your Akismet configuration page.(step2)
WordPress is a popular content management system that is known for its ability to be a customizable multipurpose platform. WordPress provides a user-friendly dashboard, free library of themes and plugins that is available for all users that have installed this content management system.
Most e-commerce based online stores are using WordPress. When it comes creating an online catalog, WordPress has made it easy for every business to turn their website into an online catalog. Read below and discover the 5 top rated WordPress catalog plugins.
5 Top Rated WordPress Catalog Plugins
1- Product Catalog
The first top rated WordPress plugin is the Product Catalog by Etoile Web Design. This plugin is mainly popular for its minimalistic themed product catalog design and its SEO options. In terms of style, minimal web design is the hottest themed trend in web design today.
A minimal layout is lightweight and promotes sophistication as well as modern web style. The Product Catalog Plugin is a great plugin that includes a self-help question section and a video tutorial guide to make it easy for anyone who needs instant support.
Best Additions: SEO product pages, custom permalink, drag and drop layout creation, product reviews section, and custom product tagging.
This second top rated WordPress plugin is the E-Commerce Product Catalog created by impleCode. This plugin is known for its easy step by step installation and instant product implementation. With the E-Commerce Product Catalog it’s easy and compatible to install on to almost any WordPress theme.
The E-Commerce Product Catalog plugin contains amazing custom settings to design specific product items including the on page link color, product price color, font size display per product and other main headings custom color choices available. Aside from its customization features, it is also translated into 19 different languages making the plugin amazing for worldwide use.
Best Additions: Easy installation, great internal code base, quick search engine optimized preferences, and great product template selection.
The third top rated WordPress plugin is the Catalog for Woocommerce plugin. This plugin is known for its ability to completely change a WordPress woocommerce store into a simple product catalog. The Catalog for Woocommerce may not be the most popular plugin out there, but it provides a quick solution to instantly change a website into catalog form.
Best Additions: Color customization, popups enable with shortcodes, ability to hide reviews, price tags, and ratings.
The four top-rated WordPress plugin is the WP Catalogue by Enigma Plugins. This plugin is known for its ability to produce great catalog designs in a lightweight manner. The lighter a website is, the faster it will load and this will result into web visitor on page satisfaction. The WP Catalogue is primarily popular for its ability to be lightweight while and provide an abundance of options at the same time.
Best Additions: Unlimited product page creation, browser compatibility, breadcrumb installation, drag and drop features, menu options, color scheme selection, and instant shortcode creation.
The fifth top rated WordPress plugin is the Ecwid eCommerce Shopping Cart. This plugin has the ability to be integrated with some of the major shipping companies like UPS, USPS, FedEx, and other international carriers. Ecwid eCommerce was created to work for worldwide use. The newest version Ecwid eCommerce has improved the page load speed, SEO Url structures, and widgets.
Best Additions: Shopify to WooCommerce easy product migration, sitemap integration, and certified secure shopping cart.
The 5 catalog plugins analyzed above all have different key features that they are known for. Every online catalog has different needs when it comes to custom preferences, product customization, and unique brand identity. They all have their own unique customization options, installation preferences, and extra integration features. Read the above and make the best selection for your online catalog plugin.
And don’t forget to share this article and please do leave a useful comment as well!
About: Ntw designs is an experienced web design company that provides web solutions to companies to of all sizes around the world.
It is no secret that WordPress is currently the number one most dynamic and advanced content management system out there.
WordPress has made it possible for anyone with or without coding experience to instantly publish a blog without taking all the extra steps of dealing with FTPs and servers.
This open source software has proven to be very advanced and continues to advance each year.
WordPress was once only used for blogging, now WordPress can be used as a regular website with a one-page layout or multi-page layout. Google, Yahoo, and Bing are the 3 biggest search engines in the US.
With that said, ranking on these 3 search engines can guarantee great website visibility.
Here’s the deal.
Read below the 7 ways to make your WordPress website SEO and mobile friendly.
7 Ways to Make your WordPress Site SEO and Mobile Friendly
Tip #1: Blogging Topic Target
Optimizing a WordPress blog to rank better in search engines can be done by topic targeting. This is a safe and smart strategy to do when writing a blog.
Search engines often rank and place websites in different categories and in different level of visibility.
So here’s the deal.
When blogging, topic targeting is a method to help a blogger by producing content that isn’t too far out of a websites category.
All blogs included inside a website must be different, but they must have a representing topic. Staying on topic is a great SEO practice that can ensure higher visibility.
Tip #2: Font Size
Mobile device searches have grown into the billion margin. With so many mobile devices in use, it no longer is an option for a website to be mobile friendly.
Having a mobile-friendly website can ensure mobile visitor satisfaction and higher ranks.
The best way to make a WordPress website mobile friendly is by increasing the font size.
When increasing the font size on a website, the font will look much bigger on a mobile device, thus, be much more convenient and readable for the mobile device user.
Tip #3: Use WordPress SEO Plugins
WordPress is known for its large theme and plugin library. Most of the items in this library are free to use and some come with subscription deals.
Some of the best SEO plugins in WordPress are free to use. These plugins will instantly give the option of setting the correct meta tags per blog page.
SEO plugins will also create an RSS and sitemap file automatically.
Installing an SEO plugin to WordPress is the most beneficial thing to start off doing.What are the 3 best free WordPress plugins?
All in One SEO Pack
Tip #4: Use WordPress Image Compressor
In WordPress, a blogger may forget to compress every image before an upload. Without compressing an image, the full image size will reflect and weigh on the page.
Therefore, it is a great idea to use a WordPress plugin for auto image compression.
So, what is the best plugin for image compression?
WPSmushit doesn’t just compress new upload images, but it will automatically compress an entire image library in just minutes. This is a very handy plugin to install.
Tip #5: Cross Browser Testing
When designing and using certain JS animations in WordPress, a cross-browser test should be conducted.
The cross browser test will show what a website looks like in all different browsers and any website effects are compatible with all the different browsers.
A WordPress website that works in all browsers is well built and will be categorized as reliable and better designed.
Tip #6: Internal Linking.
Internal linking is a great SEO practice and it does make a blog essentially even more connected.
Adding up to 3 internal links per blog is a great practice and will make a website even more expansive.
Tip #7: Responsive Design
Mobile devices have different sizes! A responsive design is necessary to make a WordPress website mobile friendly.
Most WordPress websites do have a theme library and most of the themes there are mobile friendly, however, a responsive check should be conducted to ensure that all elements inside the theme are responsive.
There are many benefits to making your WordPress site both SEO and mobile friendly. Increasing your SEO rank can lead to major website hits and business success.
Converting your WordPress site into a mobile friendly layout can bring great visitor satisfaction.
Use these 7 ways provided above to instantly make your WordPress site SEO and Mobile Friendly.
About: Ntw Designs is a digital web design company that provides a variety of web services for companies of all sizes. Ntw design specializes in web design, brand marketing, and company research.
Most website creators using WordPress today to create website. You can easily build and manage your site with WordPress. When you convert your your existing business website(.html / .php/ .aspx files) to wordpress, it’s a good idea to set up a blog and test a new version in a subfolder (example.com/WordPress) so that it does not affect their main domain. Once completed, you can move the new site over to the root directory for the domain.
This tutorial assumes you have already created, tested your site in a subfolder called “wordpress”. Refer following articles if you need help on how to install wordpress.
Log into your WordPress Admin, go to Settings -> General.
Change WordPress address (URI) from (example.com/WordPress to example.com)
Change Site Address address (URL) from (example.com/WordPress to example.com)
Step2: Physically move the files from a sub folder to your main folder
Before moving the wordpress files to root, take a backup of your site in root folder. After you have made your backup, it is time to move your WordPress to the primary folder. You can use the cPanel File manager, an FTP program, Shell using SSH, or HTML editor like DreamWeaver.
Moving Files Using Cpanel
Log into your cPanel dashboard.
From the main cPanel area, look for the Files category and then click on the File Manager tool.
Once inside the File Manager, you will want to navigate to the folder you have the WordPress site in. (For example, a folder named WordPress.)
You will see a list of all the WordPress files and folders in the right hand panel. Highlight them all and click on the Move File icon from the menu toolbar across the top of the page.
A popup will appear so you can enter the destination folder. Continuing with our WordPress folder example, it should show as public_html/WordPress. Remove the /WordPress from the destination path so that it simply displays as public_html. Click the Move Files button.
This will move the files up to the public_html folder. You should now see the same files as you have in your WordPress folder.
You can now delete the old WordPress folder.
Moving Files Using FTP
Open your FTP program. Select files from “WordPress ” folder.Drag files to root folder.
Having an interactive slideshow on top of a web page let you highlight your site’s important details on your site in a visual manner. Sliders immediately grab your visitors’ attention and allows users to quickly take action. Most websites put slideshow at the top of the page before their main content.
There are many WordPress slider plugins available which allow you to create your own sliders and add them to your home page, landing pages, posts, or any where you want.
Meta Slider is by far the most popular slider available for WordPress It comes with four jQuery sliders –Nivo Slider (responsive, 16 transition effects, four themes), Coin Slider (four transition effects), Flex Slider 2 (responsive, two transition effects, carousel mode), Responsive Slides (responsive, fade effect only).
In this page, you can create new slider. Creating a new slider is simple – add new slides, change settings and save.
Putting a Slider on wordpress post/pages
1: Create a post/page by going to Posts/Pages > Add New. 2: At the top of the page content, you will notice a button to add a slider. Click this button and select the slider from the options available (if you have only created one slider, there will only be one option).
How to put the slider on the front page of your website
1: To put the slider on the front page of your website, you will first need to create a page(as mentioned above) for home page. Go to Pages > Add New. 2: Add slider in the new page. 3:Once the page is ready, Go to Settings > Reading in WordPress and set the front page display as “a static page”. From the dropdown, select the newly created “Home” page as your static page.
WordPress has plenty of WordPress slider plugins ready at your disposal. Most will get overwhelmed by the many slider plugins available in WordPress. Those who want to try using plugins won’t go dwell into buying them. Others just don’t want to spend money in a slider. So if you’re looking for free WordPress plugins to try out in your website or blog, here are some of the best.
Meta Slider is a popular WordPress slider plugin that lets you create slideshows by simply selecting images from your WordPress media library, drag and drop it in to place, set captions and you have your own slider. You can choose from various slider designs and has a shortcode to easily embed the slider to your website.
Here’s a look at what’s best with Meta Slider:
Easy to use interface.
Create SEO-optimized slideshow in seconds.
Built in widget and shortcode.
Plenty of slideshow configuration options.
Compatible with WordPress multi-site.
Compatible with translation plugins like qtranslate, polylang, and WPML.
If you upgrade to its Pro version, you’ll get the following:
Easing Slider Lite is the second most downloaded WordPress slider plugin in the repository. Garnering more than 400,000 downloads, this lightweight plugin lets you set the dimensions of your sliders and you also have the option to make the sliders responsive.
With Easing Slider Lite, you can choose from two transition effects: fade and slide. And like many slider plugins, this also has support for shortcodes. The only problem is you can only create one plugin for your site, if you need more sliders, you’ll need to upgrade to Easing Slider Pro.
Easing Slider Lite has the following features:
Only 16kb minified and that already includes styling.
Navigation arrows and pagination.
Bulk image uploading integrated with WordPress Media Library.
Wow Slider is a fantastic WordPress slider made for non-coders. This slider comes with tons of stunning visual effects and professionally made templates that you just have to point and click to create sliders. With that in mind, building one will only take a few seconds without any need for coding or image editing.
Slide Deck 2 is a free WordPress plugins that comes with plenty of features. For a free plugin, you’ll get the advanced functionality that you usually pay for in a plugin but this time, it’s free.
Easily create content sliders out of almost any other content. You can also connect to a variety of sources like Pinterest, Flickr and YouTube without touching any code.
The lite version lets you create sliders out of 14 content sources but does not include Facebook and NextGen Gallery. If you need content from these sources, you may need to opt-in for the premium version.
Promotion Slider is a JQuery Slider that lets you insert a simple slideshow or use it for rotating ads in your website. It is a highly customizable plugin that offers complete control on the slider.
With its straightforward short codes and extensive flexibility, anyone can create a slider with just a few clicks, while power users can take advantage of the special actions built in the plugin.
The plugin also features:
Automatic inclusion of featured images attached to the promotion.
SEO friendly JQuery animation that is compatible even in mobile devices.
Comes with various default styles to choose from.
Can link external URLs instead of promotion pages in the slider.
Allows to display certain post type or limit the post on a certain category.
Can display title and/or anchor, or excerpt from each post or promotion.
Can work with custom post type.
Can display multiple sliders on a single page without conflicts.
Soliloquy Lite is a simple yet responsive slider plugin for WordPress. It’s so simple that you do not need to download any Flash software to create and upload sliders. In fact, it can work out of the box without fiddling too much with its settings.
Through custom post types, Soliloquy lets you create any number of responsive sliders with any number of images in it with just a few clicks of the mouse.
This light version of the plugin works well with most of your needs for a slider. If you need more features like video slides and have access to Addons, you’ll need to purchase Soliloquy Pro. Otherwise, enjoy these features:
Can use custom post types to create unlimited WordPress sliders.
Drag and drop compatible.
Completely responsive sliders and can work with touch enabled devices.
Shortcode and template tags.
Smart JS and CSS loading.
Media uploader button to easily insert images in you slider to the post in your WYSIWYG editor.
Smooth Slider is a WordPress slider that can let you create a slider in as fast as 50 seconds. Under this time, you have already embedded recent, featured, or category-specific post using Smooth Slider. Smooth Slider lets you create dynamic slideshows for your post, pages, images, and custom post types.
Smooth Slider lets you place content and image slideshows with a customizable background anywhere in your site.
The plugin boasts some of the best features like:
Lets you preview the slider in Admin panel.
SEO friendly slide show.
Take full control of its looks through the Settings panel.
No coding required.
Create you own stylesheet.
Sliders can be removed with just a single click.
Six transition effects
Comes with template tag, shortcode and widget.
If you need more features, simply upgrade to Smooth Slider Premium. The premium version allows you to create unlimited settings, unlimited custom sliders, multiple design options and other cool features.
Responsive Slider is a slider plugin that lets you create slides that contains linked images and titles. This is a very simple slider with only a few settings that won’t overwhelm new users yet advanced users will find it easy to use. To add a new slide, all you need to do is place it anywhere in your site using a shortcode or into your theme using a function call.
However. this plugin is only limited to one on your entire website. If you need more sliders to add on each of your page, we suggest to go use other plugins instead.
Smart Slider 2 is a WordPress slider plugin tha comes with an intuitive interface for backend. This makes it easy for you to design a beautiful slider in your WordPress blog or website. All you need to do is grab a new layer, move into the canvas and insert some items to the canvas through dragging and dropping and your slide is ready.
Administrator page with live preview.
Fully integrated to WordPress.
Multi-level animation system.
100% responsive slider with advanced responsive mode.
Change the overall look and feel even without any coding background.
By default, WordPress shows your most recent blog posts on the front page of your site. WordPress comes with built-in support for creating a splash page as the front page(static front page), and a separate page for blog posts.
From your admin panel go to Setttings » Reading. Scroll down to Front page displays option. But before going there, you need to create 2 new pages.
WordPress Custom Home Page and a Separate Blog Page