Friday, August 8, 2014

Display User IP in Wordpress Without Plugin



WordPress is a one of the mostly used CMS in the world, a CMS is a content management system in short its a framework that permits anybody to make a site without any basic knowledge to programming which makes it an very hand tool for millions around the world.


Plugins are add-ons in WordPress, they increase the usefulness and features of the website without any programming from your side as a developer. The real disadvantage of plugins is that they have a tend to increase the load on the web server that might cause it to crash in many instances.


This post will show step by step guide on the how to show visitors IP address without the using of any plugin, one of the major advantage of showing the visitor their IP is for spammers, its similar to letting them know I’ve got my eye on you which may make them quit spamming on your website. Without further chatter let’s jump to the tutorial.


Step 1: Go to your website and log into your WordPress dashboard (www.yourdomain.com/wp-admin) and enter your credentials, then enter the dash board.


Step 2: In your dashboard enter your Appearance menu.


How to Create Breadcrumbs in WordPress Without Plugin


Step 3: In the Appearance menu, go to the “Editor” tab.


How to Create Breadcrumbs in WordPress Without Plugin


Step 4: Open the function.php file at the right hand side of the screen and copy and paste the following code in it.


function get_the_user_ip() if ( ! empty( $_SERVER['HTTP_CLIENT_IP'] ) ) //check ip from share internet $ip = $_SERVER['HTTP_CLIENT_IP']; elseif ( ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) //to check ip is pass from proxy $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; else $ip = $_SERVER['REMOTE_ADDR']; return apply_filters( 'wpb_get_ip', $ip ); add_shortcode('show_ip', 'get_the_user_ip');

 Step 5: Create a new text widget and copy and paste the following line of code in the body of the widget:


[show_ip]


Now, any new visitor will see their IP on their monitor screen, so spammer will behave as they’ll think that you’re keeping an eye on them.



Display User IP in Wordpress Without Plugin

Thursday, August 7, 2014

Create Breadcrumbs in Wordpress Without Plugin



Breadcrumbs is a technique for navigation that demonstrates the user’s location in a website. On any website there are hundreds and even a huge number of pages, breadcrumb navigation can enhance your user navigation for the website and helps them explorer your content in a simple way. Regarding usability, breadcrumbs diminish the amount of activities a site visitor needs to take in order to get to a higher-level page.


This post will display an orderly guide on the most proficient method to insert breadcrumbs to your website without any plugins, and without further ado let’s jump to the tutorial.


Step One: Go to your website and log into your WordPress dashboard (www.yourdomain.com/wp-admin) and enter your credentials, then enter the dashboard.


Step Two: In your dashboard enter your Appearance menu.


Crate Breadcrumbs in WordPress Without Plugin


Step Three: In the Appearance menu, go to the “Editor” tab.


Crate Breadcrumbs in WordPress Without Plugin


Step Four: Open the function.php file at the right hand side of the screen and copy and paste the following code in it.


<?php
function the_breadcrumb()
global $post;
echo '<ul id="breadcrumbs">';
if (!is_home())
echo '<li><a href="';
echo get_option('home');
echo '">';
echo 'Home';
echo '</a></li><li class="separator"> / </li>';
if (is_category()
elseif (is_tag()) single_tag_title();
elseif (is_day()) echo"<li>Archive for "; the_time('F jS, Y'); echo'</li>';
elseif (is_month()) echo"<li>Archive for "; the_time('F, Y'); echo'</li>';
elseif (is_year()) echo"<li>Archive for "; the_time('Y'); echo'</li>';
elseif (is_author()) echo"<li>Author Archive"; echo'</li>';
elseif (isset($_GET['paged']) && !empty($_GET['paged'])) echo "<li>Blog Archives"; echo'</li>';
elseif (is_search()) echo"<li>Search Results"; echo'</li>';
echo '</ul>';

?>
Step Five
To call that function in the page you want, just copy and paste the following code in the header usually:
<?php the_breadcrumb(); ?>

Now, you’ve successfully added breadcrumbs to your website and helped your user explorer your content and navigate through them easily.



Create Breadcrumbs in Wordpress Without Plugin

Download: Dhuoot Portal PSD Landing Page Template



Duhoot Landing Page Template designed by Soňa Psotová. Duhoot Portal is a freebie PSD template for creating high-end landing pages for your digital products. Duhoot is designed with great attention to detail and smooth colors. The psd include a layered PSD file, allowing you to customize template elements very easily as per your requirements.



Download Freebies: Dhuoot Portal PSD Landing Page Template



Download Dhuoot Portal

Download: Dhuoot Portal PSD Landing Page Template

Tuesday, August 5, 2014

Monday, August 4, 2014

Download: MiniCONS 40 Free PSD Icons

MiniCONS vector shaped icons designed by Andrew Miron. Set of 40 Free PSD file.



Download MiniCONS (0 downloads)


Download: MiniCONS 40 Free PSD Icons

Download: Parker Free Font

Parker is a free hand-drawn shape font designed by James Lafuente. The consists of capital letters, numbers, and some symbols.


Download Freebies: Parker Free Font


Download Parker Font

Download: Parker Free Font

Download: New Retro Portfolio

Retro Portfolio version 4 designed by Pasquale Vitiello. We want to share project’s original PSD file with the community. New design is fresher than before, few elements have been removed and some new elements have been added.



New Retro Portfolio (0 downloads)

Download Freebies: New Retro Portfolio



Download: New Retro Portfolio