WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
[resolved] Show only in home/page/2 (5 posts)

  1. Oscar Domínguez Merino
    Member
    Posted 1 year ago #

    Hi. I need show a widget box only in the second page of the home page. In my web, in the home page, when you click in "older entrys" it shows the page 2. In this page i only show a widget box. Thanks.

    http://wordpress.org/extend/plugins/widget-logic/

  2. Ov3rfly
    Member
    Posted 1 year ago #

    You could try this:

    is_home() && is_paged()
  3. Oscar Domínguez Merino
    Member
    Posted 1 year ago #

    The widget box does not show in homepage: OK.
    It appears in the second page: OK.
    It appears in the second page and third page, too: Not OK.
    You can see it in http://www.posicionamientoweb-madrid.com/page/2. The widget box is called "EL DESCANSO DE TU BEBÉ".

  4. Ov3rfly
    Member
    Posted 1 year ago #

    You could try this:

    is_home() && is_paged() && (get_query_var('paged') == 2)
  5. Oscar Domínguez Merino
    Member
    Posted 1 year ago #

    YES!! It's OK. Thanks!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.