Categories
blog

Add Google Fonts to WordPress.

You can add Google Fonts to your WordPress site in under one minute. One minute to create a unique branding for your WordPress website. Why would you not do it?

Using Google Fonts can give your site a customized look. In addition, fonts loaded from there will be faster than using self-hosted font files. Sometimes self-hosted fonts take the longest time to download by the browser. Fonts loaded from Google’s Content Delivery network (popularly known as CDN) will eliminate requests from your own server and also decrease latency on your server.

To use Google Fonts on your WordPress website, add the following to functions.php in your theme.
Remember to change the font with the font you want to use.


function load_fonts() {
wp_register_style('googleFonts', 'http://fonts.googleapis.com/css?family=font');
wp_enqueue_style( 'googleFonts');
}
add_action('wp_enqueue_scripts', 'load_fonts');

Categories
blog

WordPress Scheduled Posts.

WordPress Scheduled Posts for numerous reasons. They allow you to target the best times for publishing your posts or having a consistency in adding new posts.

To schedule posts in WordPress:

  1. Select the post you want to schedule.
  2. In the “Publish” panel, click “Edit” beside “Publish” option.
  3. Choose the date and time for when you want to schedule the post to be published and click “Ok”. The time is in 24 hour time, so. 1:00 AM is 01:00 and 1:00 PM is 13:00.
Categories
blog

WordPress 4: New features & updates.

WordPress 4 is named “Benny” in honor of jazz clarinetist and bandleader Benny Goodman. It is not a major update in terms of features and functionality. However, it streamlines and improves WordPress.

New features & updates include:

  1. Embedding URLs now has previews. Accessible in both the visual editor and the Insert from URL tab. To add a URL in the visual editor, just add the link on a new line.
  2. Better Content Editing. The content editor intelligently re-sizes as needed. Keyboard and cursor interactions have been updated in TinyMCE.
  3. New accessibility features. The Add Media panel and links in the help tabs are now keyboard accessible. Screen reader support has been added for the Customizer and widgets.
  4. Better plugin installation experience. More information and details when searching and installing plugins, including thumbnail images.
  5. Language choice during installation.
  6. Media Library has a new grid view. Grid view displays additional details on clicking an item.
  7. Widgets now get their own panels within the Customizer.
Categories
blog

WordPress function to load jQuery from Google’s CDN.

Loading jQuery using Google’s Content Delivery Network(CDN) will lead to decreased latency, meaning faster load time for your site. Using this method eliminates a request from your server. In some cases the user may already have the exact version of jQuery cached from Google’s CDN, meaning they do not need to download it again. However, if you host jQuery locally from your site, the user must download it, even if it is the same version.

To load jQuery from Google’s CDN, add the following to your functions.php file in your theme.
Remember to change the version of jQuery with the version you want.


function load_jquery() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js', false, '1.11.1', true);
wp_enqueue_script('jquery');
}
}
add_action('wp_enqueue_scripts', 'load_jquery');

Categories
blog

Easiest way to update URLs in WordPress.

  1. Install Velvet Blues Update URLs. Activate it.
  2. Go to the plugin and select Update URLs.
  3. Enter the URL you would like to change in old URL. Enter the URL you would like it changed to in new URL.
  4. Choose the places in which the URLs should be updated. Click  Update.
Categories
blog

Moving phpBB forums into WordPress bbPress.

Migrating your phpBB forums into WordPress can be done by just following these steps:
1) Install and activate bbPress  http://wordpress.org/extend/plugins/bbpress/
2) Install and activate ForumConverter http://wordpress.org/extend/plugins/forumconverter/ 
3) That’s all. 

Categories
blog

WordPress 3.3.1 New Features & Updates.

 

Welcome message

The dashboard home screen displays  a welcome message after a new WordPress installation.

 

Co-Editing notifications

If more than one person is editing the same document, everyone is notified.
Tumblr importer

Using Tools -> Import, data from Tumblr can be imported.
Widgets

Widget configuration for every single theme is stored. If you change between themes, you no longer have to change them from their default positions.
Permalinks

Permalinks are more customizable.
Post slugs

Some characters in post titles would previously cause weird post slugs. This has been fixed.
jQuery and jQuery UI

WordPress now updated to the latest version of jQuery, 1.7.1. It also includes the entire jQuery UI stack.

 

is_main_query()

Using this method, we can findout if the object is the main WordPress query or a secondary query.
WP_Screen API

Working with admin screens is easier with this new API.

 

Editor API

The new editor API now pulls in JS and CSS.


Flyout menus

The dashboard navigation makes use of flyout menus, collapsing and expanding as needed.

 

Admin + Header = Toolbar

The admin bar and the header has been combined into one toolbar. These toolbar makes use of submenus.

 

Responsive design

The dashboard screen has been updated using elements of responsive design to fit and support a wide array of devices.

 

Help

Help has gotten a complete update and has been categorised  and broken down into smaller topics.

 

New feature pointers

Every new feature added is now explained by pointers.

 

Update changelog

Changes made in the WordPress update can be viewed by clicking the W logo in the corner of the toolbar.

 

Easier uploading

Uploading has been made easier than before.

 

Filetype detection

Filetypes are now automatically detected while updated.

 

Drag & Drop media uploader

Uploading is easy as dragging and dropping into the media uploader.

 

New file formats supported in uploading

Rar and 7z file formats to the list of allowed file types in the uploader.

Categories
blog

WordPress 3.3: New Features & Updates

WordPress 3.3 is scheduled to be released on November 29th, 2011. But for now, you can try out the beta. The new features and updates introduced include:

Admin Panel
The admin panel adjusts according to your window size and the widgets can be resized as well.

Admin Bar
The new admin bar is more responsive. It features dropdown menus and has been rearranged. Until now, the admin bar could be disabled. This cannot be done anymore.

Menus
Previously flyout menus would appear ifthe menu was collapsed, but now the full menu also has flyout menus.

Permalinks
Starting with WordPress 3.3, post name has been added as a permalink option.

Tooltips
Whenever WordPress gets an update, tooltips will now notify users of the updates.

Uploader
The media uploader now has drag and drop functionality. The uploader now supports HTML5 and Silverlight.