-
09 Jul
Display views count of particular post without using plugin in wordpress
Several plugins are available for displaying Views Count for a particular post. So, from that you can know how many times a particular post has been viewed. You can use plugins like “Post Views Count” or “WP-PostViews”, but also possible to complete this task with simple code in themes function.php file.
- Category :
- Wordpress
-
04 Jul
Display Latest Blog post from blog site in your website
Sometimes you need to display latest published blog posts from blog on your website. So, for that you can use any plugin like “KB Advanced RSS Widget“. Or can display using complex database connections (if have database details). But, the recently published posts of any blog page can be displayed on your website using simple code also.
- Category :
- Wordpress
-
01 Jul
How to stop wordpress asks you to provide ftp to upgrade Worpress or Plugin?
Are you hosting your WordPress sites on one of those hosts where WordPress asks you to provide FTP details before upgrading itself or upgrading plugins? So Now WordPress will stop asking you for FTP details Here’s how you can do it
Open your wp-config.php file locate in your wordpress root directory
And copy and past below detail after your database detail block in wp-config.php file -
01 Jul
Display Shortcode content to logged in users only in wordpress
Ever wanted to be able to show some content only to logged in users in your blog posts? If yes, just add below code in your shortcode function View Code PHP1 if(!is_user_logged_in()){ return ""; } For example:
-
01 Jul
Create Simple WordPress Plugin from Scratch
First of all why you need to create plugin ? So, the answer is some time the ready plugin may not suitable to your / clients needs. also sometimes you have to compromise with your/clients need. So, best way is to create your own plugin. Lets start…
Writing your own plugin is not a difficult tasks, if you know some basic PHP skills.
Plugins can be in a single php file or they have their own folder containing required files. If it is more than one file you need a folder.
WordPress has lots of prebuilt stuff that can make, building plugins really easy.- Category :
- Wordpress
-
29 Jun
How to create Custom Fields in Category page without using plugin in wordpress?
There are plenty of great plugins to automate this task like “Category Custom Fields Plugin”. But it is not suggested to use plugins for small tasks, as more plugin used can slow down your website and also all plugins does not guarantee security of your website.
So, we found to complete this task using simple coding in themes function.php file.- Category :
- Wordpress
-
27 Jun
Browser Detection WordPress Functions
Providing cross-browser compatibility on your blog / website theme, you must have to be able to detect the browser used by the visitor. Method By using this conditional comments. WordPress itself can detect client browser. Providing cross-browser compatibility on your blog / website theme, you must have to be able to detect the browser used by the visitor.
- Category :
- Wordpress
-
27 Jun
How to get a user last login time in wordpress
Sometimes in our ongoing WordPress projects, Client wants to show user last login time. So we found function get_user_meta() to get it. How to get user last login time in WordPress ? Past this functions in theme functions.php file. Code1: //function for setting the last login
function set_last_login($login) {
$user = get_userdatabylogin($login);- Category :
- Wordpress
-
08 Feb
Promising Small Business Web Solutions Using Frameworks and CMS
As the days are passing for every business either small or large, importance of going online is increasing by leaps and bounce. Hence picking up the correct platform for your small business website is crucial as in coming future; it will enable you to ripe maximum out of your minimum efforts and investments.
-
28 Nov
Ready and Safe To Use – WordPress 3.4.2 Released with Security Fixes
What one would have done in the absence of WordPress? Especially for bloggers, it’s honestly scary to imagine a blogging life without WordPress. WordPress is a proud owner of most respected and sophisticated history on the web, when it comes to an ideal platform for blogging. Not only for blogging, today it plays an efficient role in developing websites for various needs such as eCommerce, social networking, business websites and lots more, with features that can be out of one’s imaginations.
- Category :
- Wordpress