hi guys,today we can getting unbelievable offers for wordpress interface.it this tutorial you can get more and more advance wordpress functions that also help you to making your own style wp theme or modify also.here we will discuss with some functions in this below section.
* WORDPRESS SHORTCODES
wordpress shortcodes make your site better and shortcut for when posting your articles or content.this functions always like and love all of wordpress developer,because the shortcode is the most popular and useful.if you want to make your own shortcode for your wp site,just find below code and tutorial for the wordpress shortcodes.
* DISPLAY CUSTOM MESSAGE TO RETURNING VISITORS
wordpress required php for making useful functions.this is the most popular and powerful CMS (Content Management System),developers like the wordpress for ultimate functionality.this functions display custom message to returning visitors that you want.which author comment recently and return again,this functions also showing Hi ()user_name() welcome back! if you need this function to setting up in your wordpress theme just find below this function.you can found this with tutorial and code.
* DISPLAY CUSTOM CONTENT TO SEARCH ENGINE VISITORS
well,custom content to search engine visitors functions in a powerful function that also help you to display your custom message or ad which traffic coming from search engine like google.maybe this function you can like,of-course it’s an unique function for wp developers.find this code and tutorial from below.
* DISPLAY LAST MODIFIED TIME AND DATE FOR POSTS
this is an awesome function for automatically showing updated when you edit a post.this function automatically connect with database and showing current modify time and showing into a place there you want to use.default it placed on recent post in the author and view columns or table.really you want this code?want tutorial for setting up?find this instructions below and make your own functionality.
* DISPLAY RECENTLY REGISTERED USERS
display recent registered users,this is a important function for blogger that want to showing there visitors with public.it’s a useful code for showing users which registered recently to your site.need this code and tutorial?find below to surprise.
* DISPLAY PRIVATE POSTS TO LOGGED-IN USERS
To display private posts to your logged-in users, you will need to add a custom field called “private” for each private post and give it a value of “true”.it also help you to prevent useful post from public,only registered and logged users can see the post that you want to make private.if you need this function and code or instructions just scroll down and find it.
* META DESCRIPTIONS WITHOUT A PLUGIN
it’s a most useful code that make your wp site seo friendly,because if you know what is seo you can do that imadiatly to your blog.and setting up your site descriptions and keywords for users “what type blog you run” how many users come in to your blog.it will monetize users from search engine optimization for the meta descriptions and keywords.no plugin needed,just find this code from below.
* HIGHLIGHT AUTHOR COMMENTS
at last it’s a special code that highlight author comments.when you are author and while a user comment on this post that you published.no affect attached on this time,but when you comment on this post,it will be highlight and looking special.so if you need this code and want tutorial for setting up just scroll down and find this section tutorial and code.
welcome to this tutorial section,hope that you read this details above.so now just go to your wordpress admin dashboard and navigate from Appearance>>Editor>>functions.php file and copy past this below code.
To create a shortcode for links, we need to include the href attribute information as well as the anchor text for the link itself. We can do this by placing this function in your theme’s functions.php file.
"href"=>'http://'// default URL
Then, when creating a post, emulate the following format to include any links you wish:
we also discuss with this in above,so now just setting up this from wp admin dashboard,we can greet returning commentators with a custom message by extracting their information from the comment cookie left on their machine. Place the following code into the desired location in your theme and customize the message and markup to whatever you wish.
we don’t need no stinkin’ plugin for custom meta descriptions. All you need is a custom field named “metadescription” with the desired meta description for each post. Once you have that going, include the following function to your theme’s header.php file (within the <head> section.
echo('Your main description here');
echo'Tag archive page for this blog - '.single_tag_title();
echo'Archive page for this blog - '.the_time('F, Y');
Make your author comments look fabulous darling! Newer versions of WordPress come equipped with a specific “author” class that may be targeted with the CSS of your choice. For older versions of WordPress, however, you will need to add the custom class attribute with a little PHP magic.
First, open your theme’s comments.phptemplate and add the following code snippet in the (X)HTML element that contains the comment information.