http://wordpress.org/support/profile/mr49online

Archive for the ‘Wordpress’ Category

Selected category hierarchical issue in admin screen


I guess, you people have noticed that, when we create a new post  through Admin -> Dashboard -> Posts -> Add New  and select some category, it comes up in category tree view.

This thing normally irritate in some scenarios like if we have some main categories and its sub categories i.e. the selected sub category comes up at top position and seems like its a main category.

To get rid from this issue, simply install this plugin, which works like a charm …. 😉

For more detail, please click here.

WordPress Cheat Sheet


Download wordpress cheat sheet.

Custom Post Type Publish Action Hook


For more detail please click here.

MCE Table Buttons Plugin


MCE Table Buttons

Adds table editing buttons to a new, third row in the WordPress WYSIWYG editor.

Download this plugin.

Please, click here for more detail.

Custom Queries in WordPress


While searching about, How to add custom query in wordpress?, I stopped on the following link, which solved my problem.

For more detail please, click here.

Hope it will work for you. 🙂

How to create wordpress child theme?


To customize any wordpress theme, the preffered approach by wordpress experts is by creating its child theme.

Creating wordpress child theme is so, easy.

Here, I am creating a child theme for twentyeleven theme, and doing some customization i.e. changing site heading and descriptions fonts/color etc.

  • Create a folder with in theme folder.  (Ex: wp-content/themes/twentyeleven-child).
  • Create style.css file in this newly created folder. (Ex: wp-content/themes/twentyeleven-child/style.css).
  • Add following code in style.css:

    /*
    Theme Name:     Twenty Eleven Child
    Theme URI:      http: //mr49online.wordpress.com/
    Description:    Child theme for the Twenty Eleven theme
    Author:         Muhammad Farhan
    Author URI:     http: //mr49online.wordpress.com/about/
    Template:       twentyeleven
    Version:        0.1.0
    */
    @import url("../twentyeleven/style.css");

    #site-title a {
    font: 30px "Bookman Old Style";
    }
    #site-description {
    font: 14px "Bookman Old Style";
    }

  • Note: There must be no other CSS rules above the @import rule. If you put other rules above it, it will be invalidated and the stylesheet of the parent will not be imported.
  • Now go to admin -> Dashboard -> Appearance -> Themes.
  • Here you find your newly created child theme i.e. (Twenty Eleven Child). Just, activate this theme.
  • that’s it ; – ). All done…. Now customize your theme as you want.
  • Required / Optional files for your child theme:
    1. style.css (required)*
    2. functions.php (optional)
    3. Template files (optional)
    4. Other files (optional)

For more details about creating child theme please click here.

How to create a mini blog with in a wordpress blog?


Please, click here for more details.