Creating the short url is now becoming the popular trend because of twitter and facebook. Tutorial about How to get Short Url from using PHP API WITH is.gd, api.tr.im, hex.io.
get Short Url from using PHP
If you want to use API in php for creating the short URL. use following code:
HTML5 is new version of HTML and many people does not aware of it. In article, we checked html 5 is support in browsers through javascript. HTML5 is a new version of HTML and XHTML. The HTML5 draft specification defines a single language that can be written in HTML and XML.
check html 5 is support in browsers through javascript
It attempts to solve issues found in previous iterations of HTML and addresses the needs of Web Applications, an area previously not adequately covered by HTML.
check html 5 is support in browsers through javascript
In one of my project I need to use HTML5 methods and properties through javascript. So first I need to check or dectect with multiple browsers is there way to find HTML5 compability with browsers.I
Main introduced features are like canvas, video, or geolocation. Using that we can easily dectect the browsers compability.
Yii — a high-performance component-based PHP framework best for developing large-scale Web applications. Yii comes with a full stack of features, including MVC, DAO/ActiveRecord, I18N/L10N, caching, jQuery-based AJAX support, authentication and role-based access control, scaffolding, input validation, widgets, events, theming, Web services, and so on.
Written in strict OOP, Yii is easy to use and is extremely flexible and extensible. here in this article I given the steps for install the YII on local machine (PHP framework)
install the YII on local machine (PHP framework)
You can download the YII framework from following URL
As we all know cron job can be scheduled in linux systems. So scheduling the any job in wordpress is easy because scheduling the events in wordpress is provided by wordpress itself.
How to schedule events in wordpress
How to schedule events in wordpress
WordPress provides the following functions to schedule the events.
wp_schedule_event(); //using this method you can schedule events.
add_post_meta($thePostID, 'custom_read_more', 'You need to read this article'); //custom read more value
14
}
15
16
endwhile;
17
endif;
18
?>
customize read more for every wordpress post
Now you are set to use the custom read more value for each post. You need to just copy paste the following code in your index.php and page.php and single.php file.
This article will tell you about, How to add Meta box to wordpress admin post and page.Use following code and create wordpressapi.php file and upload this file to wp-content/plugins/ folder.
With custom professional theme you need to add the custom table in wordpress database, Using this code you can, add new tables using wordpress theme
add new tables using wordpress theme
If you want to add one more table to wordpress database you need to just use the following code.
Open the functions.php file and copy paste the code.
[viral-lock message=”Solution code is Hidden! It’s Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.”]
In this tutorial we will show you How to exclude pages from wordpress menu without plugin. We given simple code for adding to your theme file which will remove pages from menu.
How to exclude pages from wordpress menu without plugin
Normally when we are creating wordpress theme for showing the pages we code as follows
You are able to see the I added the exclude parameter in wordpress method.
Your selected page id for excluding from menu, you need to just put there with comma separated.
Put this code in your header.php file for showing the menu. You are able to exclude the pages from wordpress menu
In this tutorial I will show you how to show the only selected pages in menu. add selected pages in wordpress menu using our code sample. which can be added.
add selected pages in wordpress menu
add selected pages in wordpress menu
Normally when we are creating wordpress theme for showing the pages we code as follows
Using following code you can able to display the subpages of parent page. Tutorial for wordpress get child pages of current page. We have given code sample in this article.