Android authentication

The best way to authenticate an app with the REST API would be to use OAuth. There’s a good section on OAuth Authentication the REST API documentation site. You will need to install the OAuth1 plugin on your site as well. There are some gotchas with implementing the OAuth plugin on WordPress. I found this … Read more

Authentication for wordpress website

Use the XMLRPC API. *All these tips are for a self-hosted blog. Not sure if they are relevant to a wordpress.com blog Don’t forget to include /wp-admin after your sites name in the URL box. This may seem like a no brainer but I was not putting this in at first. 🙂 eg. http://www.yoursitesname.com/wp-admin XML-RPC … Read more

How do I make my blog iPad / iPhone / Android friendly?

I personally use the WP Touch plugin on my site. It automatically detects if the user is browsing with an iPhone (or iPad) and reformats the site into an iOS-friendly layout with touch-sensitive controls. There’s an option at the bottom for visitors to display the normal site if they want. It’s a very well-supported system, … Read more

Retrieve featured image

The featured image attachment id is stored in the post_meta table, with the meta_key _thumbnail_id. Use that post id to find the post meta with meta_key _wp_attachment_metadata. The value of that is a serialized array with keys thumb, file, width, height, sizes (an array), and image_meta (an array). The file value is relative to the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)