Tampilkan postingan dengan label wordpress. Tampilkan semua postingan
Tampilkan postingan dengan label wordpress. Tampilkan semua postingan

Sabtu, 28 April 2012

Today I have checked the page loading speed of our websites using pingdom tool . And, I came to know that our Motivational Quotes website TheQuotes.Net is taking more than 2 seconds for loading completely. But the the other quotes sites which appear in top of search results are taking lesser time for loading the pages.

The page loading speed is the important factor for improving the SEO. So, I decided to take necessary steps for improving the page loading speed.

I analysed the performance data for our website TheQuotes.Net in the Google Web Maters Tools, and I did "Page Speed" test from Firefox.

The "Page Speed" recommended me to compress the CSS and JS files to save file download time.

I was already using "WP Super Cache" plugin for the wordpress based site "TheQuotes.Net" And, I came to know that the the "WP Super Cache" plugin is having "plugin" tab to add more features as plugins.

And, I found this plugin  which is useful for minifying the CSS and JS files using Minify.

I have tested the peformance of the site again using "page speed" add-on after completing the setup of minify with the "WP Super Cache". But it was still saying that the JS and CSS files can be compressed to improve the performance.

So, I wanted to check whether the compression is really working or not. And, I came to know about this tool for testing it. And, this tool is saying that the page is compressed.

It looks like the html page is compressed, but the CSS and JS files are not minimized. I would like to know whether the performance can be improved further, or whether  the compresses processes will add more complexity which will affect the performance. You can share your thoughts thro' the comments.

You can subscribe to our Email posts, and you can bookmark this blog for further reading, or you can subscribe to our blog feed.

Senin, 27 Februari 2012

We used a Session variable for getting the Wordpress logged in user id from an external php file.
But it didn't work once after upgrading the wordpress. Obviously the session variable setting page was overwritten by new wordpress update.

So, I have decided to use the wordpress object to get the userid instead of session variable so that any future wordpress update won't affect our code.

I used below piece of code in the external php file, and it was working fine.

require_once('../wp-config.php');
require_once('../wp-includes/wp-db.php');
require_once('../wp-includes/pluggable.php');
global $current_user;
get_currentuserinfo();

$userid= $current_user->ID;

You can subscribe to our Email posts, and you can bookmark this blog for further reading, or you can subscribe to our blog feed.

Kamis, 09 Februari 2012


 Recently I updated our Motivational Quotes Site "TheQuotes.Net" to the latest version of  Wordpress software.

After updating the Wordpress, the Admin user didn't see the links for managing the Quotes. We used below piece of code for showing those links only to the Admin.


 if($_COOKIE['wordp_username'] == 'admin')

 {
Show admin specific link

}

By analyzing the  Cookies stored in the FireFox browser, I came to know that the latest version of the Wordpress is not using the cookie "wordp_username".

So, I decided to use the wordpress function "is_admin()". But his function didn't work for me.

After doing some Google search, I came to know about below piece of code.

if ( current_user_can('manage_options')  )

{
Show admin specific links
}

Now the links are appearing for the Admins while hiding those links to other users.


You can subscribe to our Email posts, and you can bookmark this blog for further reading, or you can subscribe to our blog feed.

Selasa, 13 Desember 2011

The popular php based content management system (CMS) wordpress is getting updated to the new version "Wordpress 3.3 ". This New version is named as "Sonny" in honor of the great jazz saxophonist Sonny Stitt

"Wordpress 3.3 " is added with significant polish around the new user experience, navigation, uploading, and imports. It is provided with Tumblr import, improvement in simultaneous editing and iPad support. And, note that WordPress has had over 65 million downloads since version 3.0 was released.

This version can be downloaded from here and it can be updated from the Wordpress Dashboard also.

Find below the highlights of the "Wordpress 3.3"
  • Easier Uploading
    • File Type Detection - A single upload button.
    • Drag-and-Drop Media Uploader
  • Dashboard Design
    • New Toolbar in the dashboard, combining the Admin Bar and admin header
    • Responsive design for some screens, including iPad/tablet support
    • Flyout menus, providing single-click access to any screen
  • New User Experience
    • New feature pointers, helping users navigate new features
    • Post-update About screen
    • Dashboard welcome area for new installs
  • Content Tools
    • Better co-editing that releases post locks immediately
    • Tumblr Importer
    • Don't lose widgets when switching themes
  • Under the Hood improvements
    • Use the postname permalink structure without a performance penalty
    • Improved Editor API
    • is_main_query() function and WP_Query method
    • Remove a number of funky characters from post slugs
    • jQuery 1.7.1 and jQuery UI 1.8.16
    • A new Screen API for adding help documentation and adapting to screen contexts
    • Improved metadata API
  • Performance improvements and hundreds of bug fixes

Watch the below video to know more about Wordpress 3.3





I have updated our Social Media News Site with the Wordpress 3.3





You can subscribe to our Email posts, and you can bookmark this blog for further reading, or you can subscribe to our blog feed.