• Home
  • About me
  • Gallery
  • WordPress
  • Life
  • Contact us

Laxman Prajapati

~ WordPress Blog

Laxman Prajapati

Category Archives: Blog

Merry Christmas 2014

25 Thursday Dec 2014

Posted by Laxman Prajapati in Blog, Family

≈ 9 Comments

Have an ideal Christmas, an occasion that is celebrated as a reflection of your values, desires, affections, traditions.

Merry Christmas

christmas

Advertisement

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

WordPress.com and WordPress.org

21 Saturday Jun 2014

Posted by Laxman Prajapati in Blog, WordPress

≈ 16 Comments

Tags

WordPress.com and WordPress.org

WordPress is a publishing platform that makes it easy for anyone to publish online, and proudly powers millions of websites. It comes in two flavors: the fully hosted WordPress.com, and the self-hosted version available at WordPress.org.

WordPress.com
Focus on your beautiful content, and let us handle the rest.
WordPress.org
Get your hands dirty, and host your website yourself.
Premium hosting, security, and backups are included. You can even upgrade to a custom domain, like YourGroovyDomain.com. You’ll need to find a host, and perform backups and maintenance yourself. We offer VaultPress for security and backups.
Choose from hundreds of beautiful themes. Make it your own with Custom Design. Install custom themes. Build your own with PHP and CSS.
Integrate your site with Facebook, Twitter, Tumblr, and other social networks. Install a plugin, like Jetpack, to enable sharing functionality on your site.
Popular features like sharing, stats, comments, and polls are included. There’s no need to install plugins. Install plugins to extend your site’s functionality.
Personal support and the WordPress.com forums are always available. Visit the WordPress.org support forums for assistance.
You must register for an account on WordPress.com and abide by our Terms of Service. No registration with WordPress.org is required.

WordPress is a community-driven project that’s developed by and for people like you. Many thousands of people from around the world contribute to the project, and many millions of websites are powered by it. From large company websites to personal blogs, and everything in between, everyone can publish with WordPress.

There are two ways that you can get started with WordPress. You can host a WordPress installation on your own server, or you can host your site here at WordPress.com and let us handle the technical bits.

Hosting your own WordPress site can be fun and rewarding, but it also requires some technical knowledge and places more responsibility on you, the publisher. You can download the WordPress software for free at http://wordpress.org, but it must be installed on a web server before it will work. You will need to research and install your own themes and plugins. Many hosting providers offer a one-click installation of WordPress — here are a few examples. If you’re looking for a web development agency that specializes in building beautiful WordPress sites, check out the CodePoet Directory.

WordPress.com is different. Here at WordPress.com, you don’t have to download software, pay for hosting, or manage a web server. You can instead focus on creating wonderful content, and let us handle the rest!

WordPress.com is a great choice for bloggers, photographers, artists, plumbers, doctors, restaurateurs — almost anyone. However,  techies that prefer to maintain full control over their code, should consider hosting their own WordPress installation. We provide a large number of themes and built-in plugin functionality so you won’t need to upload your own.

Publishing your website is always free here at WordPress.com. And many excellent premium upgrades are available to help you supercharge your site. These upgrades let you use a custom domain (like YourGroovyDomain.com), extensively customize the appearance of your site, upload HD video, and lots more.

WordPress.com is a commercial enterprise owned by Automattic, a company started by the founding developer of WordPress and staffed by full-time developers, designers, and support engineers. Automatticians (employees of Automattic) regularly contribute back to the WordPress software so that the entire community can benefit.

Not sure which way to go? Find out more about WordPress.com and WordPress.org to see which is best-suited for you.

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Display Random posts in WordPress

10 Thursday Apr 2014

Posted by Laxman Prajapati in Blog, WordPress

≈ 4 Comments

Tags

get post, Random posts, wordpress post

Display a list of 5 posts selected randomly by using the MySQL RAND() function for the orderby parameter value:

<ul>
<?php
$args = array( 'posts_per_page' => 5, 'orderby' => 'rand' );
$rand_posts = get_posts( $args );
foreach ( $rand_posts as $post ) : 
  setup_postdata( $post ); ?>
	<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; 
wp_reset_postdata(); ?>
</ul>

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Why use a Child Theme in WordPress ?

08 Tuesday Apr 2014

Posted by Laxman Prajapati in Blog, WordPress

≈ 2 Comments

Tags

Child Theme in WordPress, Why use a Child Theme in WordPress

wordpress-child-themes

  • If you modify an existing theme and it is updated, your changes will be lost. With a child theme, you can update the parent theme (which might be important for security or functionality) and still keep your changes.
  • It can speed up development time.
  • It’s a great way to get started if you are just learning WordPress theme development.

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Create custom navigation menu in WordPress

07 Monday Apr 2014

Posted by Laxman Prajapati in Blog, WordPress

≈ 2 Comments

Tags

custom navigation menu in WordPress, wordpress menu, wordpress navigation

Custom-Navigation-Menus-WordPress-Themes

Register Menus

Firstly, in your theme’s functions.php, you need to write a function to register the names of your menus. (This is how they will appear in the Appearance -> Menus admin screen.) As an example, this menu would appear in the “Theme Locations” box as “Header Menu”.

function register_my_menu() {
  register_nav_menu('header-menu',__( 'Header Menu' ));
}
add_action( 'init', 'register_my_menu' );

And this would make two menu options appear, header menu and extra menu –

function register_my_menus() {
  register_nav_menus(
    array(
      'header-menu' => __( 'Header Menu' ),
      'extra-menu' => __( 'Extra Menu' )
    )
  );
}
add_action( 'init', 'register_my_menus' );

Display Menus on Theme

Once you’ve done that, your theme will be almost ready. The last preparation step is to tell the theme where you want the menus to show up. You do this in the relevant theme file. So, for example, we might want our header menu to be in header.php. So open up that file in the theme editor, and decide where you want to put your menu. The code to use here is wp_nav_menu which we will need once for each menu location. So, add this code –

<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>

All you need to ensure is that the theme_location points to the name you provided for your menu in the functions.php code above. (Note that it’s the header-menu being used here rather than Header Menu without a hyphen. header-menu is the name that the code understands, Header Menu is the human-readable version that you see in the admin page.)

To complete the code, you can put your extra menu someplace else. Maybe you want a menu on one of your pages, for example, and you might even want it to be jazzed up a little with a containing DIV of a certain class –

wp_nav_menu( array( 'theme_location' => 'extra-menu', 'container_class' => 'my_extra_menu_class' ) );

So you’d put the above into your Page template, and not only would the menu show up wherever you put it, it’d be styled as my_extra_menu_class so that you can work with that in CSS.

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Display Blog Posts on any Page (with navigation)

06 Sunday Apr 2014

Posted by Laxman Prajapati in Blog, WordPress

≈ 3 Comments

Tags

blog, Blog post

Create a blank page template named “page-blog.php” and include the following code:

<?php 
/*
	Template Name: Blog
*/
?>
<?php get_header(); ?>

	<article>

		<?php // Display blog posts on any page @ http://m0n.co/l
		$temp = $wp_query; $wp_query= null;
		$wp_query = new WP_Query(); $wp_query->query('showposts=5' . '&paged='.$paged);
		while ($wp_query->have_posts()) : $wp_query->the_post(); ?>

		<h2><a href="<?php the_permalink(); ?>" title="Read more"><?php the_title(); ?></a></h2>
		<?php the_excerpt(); ?>

		<?php endwhile; ?>

		<?php if ($paged > 1) { ?>

		<nav id="nav-posts">
			<div class="prev"><?php next_posts_link('&laquo; Previous Posts'); ?></div>
			<div class="next"><?php previous_posts_link('Newer Posts &raquo;'); ?></div>
		</nav>

		<?php } else { ?>

		<nav id="nav-posts">
			<div class="prev"><?php next_posts_link('&laquo; Previous Posts'); ?></div>
		</nav>

		<?php } ?>

		<?php wp_reset_postdata(); ?>

	</article>

<?php get_footer(); ?>

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

How to stop WordPress asking for ftp details

05 Saturday Apr 2014

Posted by Laxman Prajapati in Blog, WordPress

≈ 6 Comments

PHP Technology Tutorials

You can install plugin and theme easily from wordpress backend. But sometime due to folder permission WordPress may ask ftp details to install plugins in site. You can prevent asking ftp details just open wp-config.php file from the root folder of wordpress installation then write following php code

define('FS_METHOD', 'direct');

save the file to apply changes. Now you can install plugin or themes in wordpress backend.

View original post

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Write custom hooks in WordPress

05 Saturday Apr 2014

Posted by Laxman Prajapati in Blog, WordPress

≈ Leave a comment

PHP Technology Tutorials

WordPress allow us to create custom hooks. You can write your custom hooks in WordPress as par requirement. In following example you will learn how to write custom hooks in WordPress. Two function are useful to create a new hook , first is add_action() and second is do_action().

View original post 62 more words

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Iist wordpress posts from current category only

05 Saturday Apr 2014

Posted by Laxman Prajapati in Blog, WordPress

≈ 2 Comments

Tags

get post, wordpress post

Here is my template code I have been using

<ul id="catnav">

     <?php
     global $post;
     $myposts = get_posts('numberposts=5&category=1');
     foreach($myposts as $post) :
     ?>
        <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
     <?php endforeach; ?>



    </ul>

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Happy Holi

16 Sunday Mar 2014

Posted by Laxman Prajapati in Blog, Friends

≈ 8 Comments

Tags

Happy holi

Best wishes to you for a Holi filled with sweet moments and memories to cherish for long. Happy Holi!!

Happy-Holi-2014-Text-Messages-Greetings-in-English

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Why use Google Chrome ?

15 Saturday Mar 2014

Posted by Laxman Prajapati in Blog, Google

≈ 3 Comments

Tags

Why use Chrome ?, Why use Google Chrome ?

The web browser is arguably the most important piece of software on your computer. You spend much of your time online inside a browser: when you search, chat, email, shop, bank, read the news, and watch videos online, you often do all this using a browser.

google-chrome-2

Speed

Chrome is designed to be fast in every possible way. It’s quick to start up from your desktop, loads web pages in a snap, and runs complex web applications lightning fast. Learn more about Chrome and speed.

Simplicity

Chrome’s browser window is streamlined, clean and simple, and has features that are designed for efficiency and ease of use. For example, you can search and navigate from the same box and arrange tabs however you wish—quickly and easily.

Security

Chrome is designed to keep you safer and more secure on the web with built-in malware and phishing protection, autoupdates to make sure you have all the latest security fixes, and more. Learn more about Chrome’s security features.

Signing in

Signing in to Chrome brings your bookmarks, history, and other settings to all your computers. Just go to the Wrench menu and select “Sign in to Chrome.” Learn more about signing in to Chrome.

And more features

Chrome has many useful features built in, including automatic full-page translation and access to thousands of apps, extensions, and themes from the Chrome Web Store. Learn more about Chrome’s most-loved features.

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Is happiness dependent on wealth ?

14 Friday Mar 2014

Posted by Laxman Prajapati in Blog, Happiness, Health, Life

≈ 60 Comments

Tags

Happiness, Is happiness dependent on wealth

Hi Friends,

bigstock-Guidance-And-Key-To-Happiness--6005776

Every one of us is searching for this most important thing, happiness. But don’t we sometimes confuse it with pleasure? What is the secret of well-being? Is it partly or entirely dependent on how much amount we can spend on stuffs? The feeling of well-being is not a scarce thing. But I wonder if all forms of satisfaction are genuine and permanent. Can you buy happiness? What is the true nature of human longing for happiness.

In this discussion we will reveal much about happiness just by digging deeper inside ourselves. How much, do you think, your happiness depends on your wealth? If you think there may be some other way to find happiness in life please share with us your secret.

Take care
God bless you all

– By getbiswa2000

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Be happy forever

12 Wednesday Mar 2014

Posted by Laxman Prajapati in Blog, Friends, Happiness, Life

≈ 18 Comments

Tags

Always happy, Be happy forever

The right way to live happy

In our life
happiness is more important than smile
cause smile comes from lips
but happiness comes from the heart
so
BE HAPPY FOREVER…

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Why do we need friends?

11 Tuesday Mar 2014

Posted by Laxman Prajapati in Blog, Friends, Life

≈ 4 Comments

Tags

Best Friend, Dear Friend, we need friends

friendship-quotes-pictures

When you think of a friend, what are some of the things you think of? A person you can trust? A person you get along with really well? Someone who has the same sense of humor as you do?

Why Do Boys Need A Friend Who Is A Girl

A friend is any person who fits these descriptions, as well as many others. It’s important to have friends because it’s important to have a “support system” of people you can depend on. When we think of “friends” we often think of people we aren’t related to, like a kid you know from school or from the house next door. But friends can definitely also include your relatives like siblings, cousins, or even parents! – The neat thing about friends is that they come in lots of shapes and sizes, and there’s no limit on how many you can have!

Some people have a really easy time making friends, while others take longer getting to know people. As you grow up, you might find that you like having lots and lots of different friends, or that you prefer having just one or two friends that you’re really, really close to!

by Mya Kagan (whyzz writer

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...

Power yoga’s effect on the total body

10 Monday Mar 2014

Posted by Laxman Prajapati in Blog, Life

≈ 28 Comments

Tags

Power Yoga, Yoga’s Effect, yoga’s effect on the total body

Here’s a list of some of the most beneficial aspects of power yoga:

yoga

  • It increases endurance, strength and flexibility.
  • Mental endurance and physical stamina are tested through holding postures for extended breaths.
  • Arm and shoulder strength is multiplied as you use your own body weight for resistance.
  • Lats and other back muscles begin to support the spine better than before.
  • Abdominals and obliques are refined and sharpened through building core muscles.
  • Poor and average posture begins to correct itself over time.
  • Hip flexors are stretched and rebuilt.
  • Glutes, quads, hamstrings, and calves are tightened and lengthened where they need to be.

No matter what ails your aching body, or if you just want to take your fitness to a higher level, power yoga’s ability to build muscle has an undeniably effect on the total body.

Rate this:

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
  • Email
  • Print

Like this:

Like Loading...
← Older posts
Follow Laxman Prajapati on WordPress.com

About Me

Laxman Prajapati

Laxman Prajapati

Have to lose something to gain something

View Full Profile →

Total Blog Hits

  • 29,566 Views

Fish

Calendar

May 2023
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  
« May    

Logo

wordpress-logo-stacked-rgb

Category

Animal Anniversary birthday Blog BuddyPress Family Flower Friends Goal Google Happiness Happy new year Health Independence Day Life Love Mind Fresh Natural PHP Positive Republic Day WordPress

Blogs I Follow

Success Life

“Success is not final, failure is not fatal: it is the courage to continue that counts.” ― Winston Churchill
“If at first you don't succeed, try, try again. Then quit. No use being a damn fool about it.” ― W. C. Fields
“Nearly all men can stand adversity, but if you want to test a man's character, give him power.” ― Abraham Lincoln
“Success is most often achieved by those who don't know that failure is inevitable.” ― Coco Chanel

Recent Posts

  • How to increase WordPress website speed without a plugin
  • How to install Twnety Twenty theme on WordPress Website?
  • How to download PDF file using WordPress codex
  • New Gallery Widget in WordPress 4.9
  • Template Hierarchy
  • WordPress Work Sheet
  • Merry Christmas
  • #SRK

Category

Animal Anniversary birthday Blog BuddyPress Family Flower Friends Goal Google Happiness Happy new year Health Independence Day Life Love Mind Fresh Natural PHP Positive Republic Day WordPress

Gallery

success-secrets-1
sucscess
success
success2
tree_success
succaess
success-1
15_5_orig
success

Blog at WordPress.com.

Tianu Gujarati Blog - Anurag Rathod

જેને કશું કામ કરવા ના હોય એ નવરો બેઠો બેઠો બ્લોગ લખે.

WordCamp Ahmedabad 2019 a.k.a 3.0

#WCAhmedabad

Hinal Sanghvi

Hinal Sanghvi

WordPress Educator Zac Gordon

A Blog for Tutorials, Free Videos, and Updates on Courses, Talks and Workshops

seenu625

love nature, and all things creative

Hello Beautiful Book Blog

beautiful nerdy bookish things

How Useful It Is

Trying to be Useful, one post at a time!

vlandaman.wordpress.com/

On Becoming Fearless

Dreaming, believing, learning then achieving

Dil Ki Kitaab ( दिल की किताब )

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Laxman Prajapati
    • Join 440 other followers
    • Already have a WordPress.com account? Log in now.
    • Laxman Prajapati
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    %d bloggers like this: