How to preview a page instead of a category?

try and change this line: query_posts(‘posts_per_page=1&cat=7’); to: query_posts(‘posts_per_page=1&page_id=17’); or: query_posts(‘posts_per_page=1&pagename=page-slug’); (enter the actual page ID or page slug into the respective space) http://codex.wordpress.org/Class_Reference/WP_Query#Post_.26_Page_Parameters

How To Display Pages Based On Subscriber Signup Date

Your task is fairly simple given the tools that wordpress provides. Step 1: The date/time a user registers an account at your site at is not naturally recorded by wordpress. You’d have to manually add such a functionality. It would make sense to save that to the wp_usermeta table. Have a look the php time() … Read more

Archive with specific keyword by category sorted by date

Categories will use category.php by default as their archive template (site.com/category/category-name). Customize that with the code you’ve used here, rather than using a ‘page template’. If you don’t want it to say category/ in the URL there are plugins or functions.php code you can use to remove it that can be found numerous times in … Read more

Add HTML to Page Content

Indeed! It’s a filter called ‘the_content’, to which numerous other functions are hooked such as the one that turns WordPress into WordPress, oembeds, and the p tag wrapping echo apply_filter(‘the_content’,$data->the_content);

The loop: more posts than I want to fit on one page

You’re looking for one of two things: either paginate_links(), or the combination of next_posts_link() and previous_posts_link(). Both of these functions allow for “pagination”, or the ability to place links to more content than you’re displaying in a screenful. Google does this on the bottom of most pages, for example. Of the two methods I mentioned … Read more

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