PureRushh,
In your index.php template file use:
echo do_shortcode('[recent max=6]');
This will execute the shortcode that would be used in a post/page editor.
-Marc
thanks, can i ask one more question?
In my theme I can add menus that well be on the top, but they are getting sorted by alfabeth, so home is getting like number two in the menu, how can i change that?
PureRushh,
Double check the order value in the “Page Attributes” panel in the page editor. This value will control the sort order of your pages.
-Marc
noob question, but what is worng here:
<a href="?p="><img src="' . get_template_directory_uri() . '/images/btn-view-all.png" /></a>
[Please post code snippets between backticks or use the code button.]
sorry dude, but the attributes din’t help, everything is still wrong :/
But thanks for helping me Mark!
PureRushh,
You could also use:
<a href="?p="><img src="<?php bloginfo('stylesheet_directory'); ?>/images/btn-view-all.png" /></a>
-Marc