giuliano108

Member

Forum Replies Created

  • In reply to: Slider not showing

    #11481

    In my case, the issue was caused by a “missing” (NULL) option in WordPress. Clicking Settings -> Reading -> Front page displays -> Your latest posts, caused the slider to reappear.

    Oddly, neither “Your latest posts” nor “A static page” where selected (and WP could not determine whether it was rendering the first page or something else -> the is_front_page() function always returning false).

    Before:

    mysql> select * from wp_options where option_name LIKE ‘%on_front’;

    +


    +


    +


    +


    +


    +

    | option_id | blog_id | option_name | option_value | autoload |

    +


    +


    +


    +


    +


    +

    | 62 | 0 | show_on_front | | yes |

    | 322 | 0 | page_on_front | 0 | yes |

    +


    +


    +


    +


    +


    +

    After:

    mysql> select * from wp_options where option_name LIKE ‘%on_front’;

    +


    +


    +


    +


    +


    +

    | option_id | blog_id | option_name | option_value | autoload |

    +


    +


    +


    +


    +


    +

    | 62 | 0 | show_on_front | posts | yes |

    | 322 | 0 | page_on_front | 0 | yes |

    +


    +


    +


    +


    +


    +

    hth,

    ciao,

    Giuliano

    http://www.108.bz

Viewing 1 post (of 1 total)
Do NOT follow this link or you will be banned from the site!