Storing images on a local site

There are different approaches to managing media. Most common (from my perception) are: making live site master copy of data (not doing any data input in local) use deployment process that takes care of URL change map live domain to local install while working with it store media in third location (another server, Amazon S3, … Read more

Most visited posts

Not sure about weekly but you can use http://wordpress.org/extend/plugins/wp-postviews/ to count the views on each post and then use a custom query to order the views by the post meta key ‘views’.

Sort the data in WordPress using get-page-by-title

You can get the source of WordPress at http://wordpress.org for playing along. I think at the root of your question is a misunderstanding in how WordPress works. Pages should not show the latest blog posts by default (which is what you are calling using the code sample above). By default the latest blog posts should … Read more