How to download wordpress source code?

So the answer above is correct but that probably doesn’t help you. What you can do is follow this link: http://www.siteground.com/tutorials/wordpress/transfer-wordpress/ It basically shows you how to migrate the data. You will need to setup wordpress.org on your new location first then once both are up, you can export from wordpress.com to your new location … Read more

WordPress custom supports for custom post types

I’m just using register_post_type to generate my new post type ‘gcg_block’ and generate the ui menu in the admin page. Using add_post_type_support for ‘author’ gives me the column Author in my page (although not sortable). I want to add a column ‘Shortcode’ to this list and fill it with custom data. I believe I want … Read more

How to integrate Facebook into WordPress registration/login?

Here’s what we hope to accomplish: a WordPress site that will allow users to register/login EITHER with Facebook OR WordPress and have the same access to posts/pages/content. From all the research thus far, this doesn’t seem trivial… Here’s our requirements: User Registration Facebook New users can connect with Facebook by clicking a button and then … Read more

What does arg mean in WordPress

It is just the naming convention which increases code readability. you can replace it with any name it won’t affect your code. Example I: Example II: Both the code example I and II will have same output, but first example has a good user readability and if you have a long method/code then after seeing … Read more

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