Website-design

Wordpress display all pages on one page

To display all page contents in a single page, you can use the following code. It also helps to get the page title to display in a single page. To display a page content in another page: [...]

Wordpress Get Page Content By Page Id

Call the above function in your page: [...]

Query X Number of Recent Posts

<?php //Query 5 recent published post in descending order $args = array( 'numberposts' => '5', 'order' => 'DESC','post_status' => 'publish' ); $recent_posts = wp_get_recent_posts( $args [...]

Wordpress Tricks

Query or show a specific post in wordpress PHP Code Example to Query a WordPress Post Example 1 The following code will Query the post with post id 26 and Show the title and the content. <? [...]

PhotoShop - Smoke Effect

Step one, open a new image, it doesnt really matter what size but be sure to set your background color to black. (this effect generally looks its best on a black background.) Make a new layer an [...]

How to make a photoshop shield!

Step 1: We begin with a dark grey to black gradient. I drew this with the Radial Gradient, which long-time PSDtuts readers will know is my favorite gradient tool. Anyhow don’t worry too much about [...]