Do you know how bloggers who display their other blog’s feed on their site. You want to do it too for extra promotion and traffic. Well here is the tutorial for you. Simply paste the following code in anywhere in your theme: <?php include_once(ABSPATH.WPINC.’/feed.php’); $rss = fetch_feed(‘http://feeds.feedburner.com/wpbeginner’); $maxitems = $rss->get_item_quantity(5); $rss_items
Taxonomy filter for admin area
While working on custom post everybody struggles while sorting the posts by custom taxonomy, if you add a code for each taxonomy then it will be lengthy. so here is the code for sort by all taxonomies. Add it on your functions.php then sorting will be available on all posts
Creating custom Post Type In WordPress
WordPress big advantage while comparing with other CMS is Custom Post type mechanism. Custom post type allows to create large variety of content. Lets have a look at how to create a custom post type Custom post types are available from WordPress 2.9. Custom post type is nothing more than
Correcting wp-admin 404 error for wordpress under IIS
If your server is on IIS and running WordPress and experiencing an issue where navigating to /wp-admin results in either a blank page or a 404 error, you may need an additional rule in your .htaccess file. Generally you’ll find that, assuming you’re set up properly, you can reach
WordPress Trends Infographic
Interesting story about WordPress on elegant themes View the full WordPress Trends Infographic designed by ElegantThemes.com.
How to Move a WordPress Site from One Server to Another
Step 1: Make a Local Copy of the Existing WordPress Site Files The first thing to do is connect to the FTP server which provides access to the files for the existing WordPress installation. Getting an entire site is time consuming and, with any decent FTP client, it’s automated, so
PHP interview questions and answers
1) What does a special set of tags <?= and ?> do in PHP? 2) What’s the difference between include and require? 3) I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem? 4) Would I use
Logged in user menu
Hi guys here i am inserting the menu for users logged in user mouse over full menu login box Download the file here
Multimedia and canvas elements in HTML5
<canvas> The <canvas> element was originally developed by Apple® for use in Mac OS X Dashboard widgets and in Safari, but was later adopted by Mozilla® and Opera® in their Web browsers. The element has been standardized and included in the HTML5 specification, along with a series of 2D drawing
PHP Arrays
An array is a concept of declaring a variable in which multiple values can be stored or An array stores multiple values in a single variable.. an array in PHP is compound type. An array is actually an ordered map. A map is a type that maps values. Each element
Data Types and Built in functions
PHP supports 8 data types scalar data types( A variable in which only one value can be stored at a time Boolean integer Float / Double String Compound data type (A variable in which multiple values can be stored) Array Object Special data types resource Null The type of variable
variables and output statements in PHP
We have 2 functions for output in PHP those are echo() and Print () actually output statements used to send output to the client (browser) differences between echo() and print() are echo() is faster than print() in execution print() is return an integer value where echo() dosent return a value
Artistic border to an image
Open a one-layer document, then click the Background on the Layers panel. Choose the Rectangular Marquee tool (M or Shift-M), then draw a selection marquee. Position the marquee where you want the border to be. On the Options bar, click Refine Edge. In the Refine Edge dialog, choose On White view (W), then adjust the Radius,Smooth,Contrast,
WordPress web Server requirements
About the installation of WordPress everybody says that you need a minimal configuration but its not that much simple here are the list of server requirements with version number Lnux PHP 5.2.9 or greater MySQL 5.0 or greater The mod_rewrite Apache module Windows Windows Server® 2008 operating system IIS 7 PHP
Whats New in wordpress 3.5 – Elvin
WordPress, has released new version wordpress 3.5, the 80th version of WordPress. it brings with it some changes to help maintain its dominant position as the CMS of choice for bloggers and developers all over the world. There are some obvious changes that we will all notice immediately and then