Posts Tagged ‘wordpress’

Effective WordPress Ping Services List

Posted in howto on October 14th, 2010 by Aditya – 1 Comment

Just want to share the Ping site that I use for my wordpress site. My rule of thumb is that: DO NOT Over Ping!! You will notice that my list below isn’t very long since most of the Ping Services listed will Ping other Update Services. In short, I will actually Ping a lot of services without spamming those services.

read more »

Upload PDF to a WordPress Post

Posted in post on May 30th, 2010 by Aditya – Be the first to comment
Simplest way to add PDF, or possibly any other random file type, into WordPress post.
  1. Add new post.
  2. Click “Add Media” button.
  3. Using the file selection thing, select your PDF and click the upload button.
  4. After it uploads, you’ll have this new section that shows a Title, Caption, Description, and Link URL. You can fill those field depending on your preference.
  5. Click “Insert into Post”.
  6. Link to PDF can be seen on the post

SQMI_Saver_Awards

CanonAuthorizedDealers

Writing code on your WordPress post

Posted in post on May 30th, 2010 by Aditya – Be the first to comment

While WordPress blog doesn’t allow you to use potentially dangerous code on your blog, there is a way to post source code for viewing. I am using plugin called SyntaxHighlighter Evolved – made using SyntaxHighlighter JavaScript package by Alex Gorbatchev, the plugin used officially by wordpress.com.

I do not know how different the ‘evolved’ version of the plugin differs from the original but 66k people cannot be that dumb.

SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without loosing it’s formatting.

For a live demo, please see my previous post.

Plugin Usage
Just wrap your code in

[language]

, such as

1

or


1

For a list of supported languages (all widely used languages are supported), please go to http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes

Increase Max Upload Size on WordPress

Posted in post on May 20th, 2010 by Aditya – Be the first to comment

The problem comes when I try to set up client’s WordPress environment. In short, my client wish to create a podcast blog but WordPress somehow could not accept file beyond certain size – saying ‘This file is too big. Your server upload max filezie is xyz M‘.

The hosting that my client is using Bluehost shared hosting. A decent hosting with c-panel interface and various other stuff – most importantly, Bluehost allows modifying php.ini file which will be useful in solving above mentioned problem

My workaround involves creating default php.ini file and modify it accordingly.

  1. From CPANEL, go to Bluehost PHP Configuration (or any CPANEL PHP configuration.)
  2. Click INSTALL DEFAULT PHP.INI – This will copy the master php.ini to your public_html directory named “php.ini.default”. We can then edit the file with any custom directives your scripts require.
  3. Select ‘PHP5 (single php.ini)’ option
  4. Use anything within your means, rename PHP.INI.DEFAULT created at PUBLIC_HTML directory into PHP.INI
  5. Use whatever means necessary to change these following lines into:
    • post_max_size = 100M
    • file_uploads = On
    • upload_max_filesize = 100M
    • max_execution_time = 300
  6. The above configuration will enable me/my client to increase the maximum upload size to 100MB.
  7. Save! And you are done

I have tried solution offered by http://simplercomputing.net/2009/02/13/fix-php-max-upload-size-wordpress/ but could not work.

In any case, since I could have find solution that serve me well.