Discussions
Categories
Home
›
Airlock
Stiky post on homepage
Denis
December 2011
edited December 2011
in
Airlock
Posts: 15
Hello ,
any ideas how to show stiky posts on homepage ( blog section )?
Comments
Air
December 2011
Posts: 10,970
Line 45 in front-page.php
$hp_blog_title = trim( $apollo13->get_option( 'design_options', 'hp_blog_title' ) );
$args = array(
'posts_per_page' => $apollo13->get_option( 'design_options', 'no_of_latest_posts' ),
'post_type' => 'post',
'post_status' => 'publish',
'ignore_sticky_posts' => true,
delete last line or change its value to false:
'ignore_sticky_posts' =>
false
,
Don't mistake with same entry for portfolio section.
It should do the work :-)
With regards.
Denis
December 2011
Posts: 15
Great ! Thank you !
Sign In
or
Register
to comment.
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Quick Links
Categories
Recent Discussions
Categories
3.7K
All Categories
114
OneLander
324
PhotoProof
591
Rife
40
Agency
130
Starter
886
FatMoon
197
Thirteen
337
Photon
319
Chillout
769
Hypershot
3
General
In this Discussion
December 2011
Denis
December 2011
Air
Discussions
Categories
Sign In
Comments
$hp_blog_title = trim( $apollo13->get_option( 'design_options', 'hp_blog_title' ) );
$args = array(
'posts_per_page' => $apollo13->get_option( 'design_options', 'no_of_latest_posts' ),
'post_type' => 'post',
'post_status' => 'publish',
'ignore_sticky_posts' => true,
delete last line or change its value to false:
'ignore_sticky_posts' => false,
Don't mistake with same entry for portfolio section.
It should do the work :-)
With regards.