php - Make something appear only on first page in Wordpress -


how can make banner appear on index page of wordpress theme when click second or other page pagination of recent posts not want appear. suggestions?

thanks

you can use conditional is_paged()

if( !is_paged() ) {     // show wanna show } 

it's going show on first page, on page 2, 3, 4... it's not going show.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

ios - Change Storyboard View using Seague -

verilog - Systemverilog dynamic casting issues -