Uploading a external squeeze page within WP

The first thing you need to do when you want to install a new WordPress theme is to login to your site admin page. Once there, go to Appearance -> Themes. Here, you will see all the themes you have currently installed in your application. To add another one, simply click on the add new … Read more

Add pagination to blog

The sweet and short of this, don’t use get_posts if you need paginated queries. get_posts works perfectly if you are going to use a custom query that doesn’t need pagination, but it really becomes a big complicated mess when you need to introduce pagination. I think the easiest and most appropriate here is to make … Read more

List all pages using a specific template on a page

You can create a custom post type called blog. This would group all your “blog” posts together. Once you have that done, create a template file called archive-blog.php, this will be the file that you can use to list all your posts under the “blog” custom post type. For a single post view, the template … Read more

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