Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mnogueir

    (@mnogueir)

    After digging a bit more in the forums, I realized that there may be some limitations on the front page. Could this be the case? SHould I try some different approach?

    If not, can anybody please verify this behaviour ( <!–nextpage–> not working correctly on the static front page, and working in every other page)?

    Thanks

    Thread Starter mnogueir

    (@mnogueir)

    Well, I think I found my own answer. Searching the code I found the get_page_link() function, in which:

    if ( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') )
    		$link = get_option('home');
    	else
    		$link = _get_page_link( $id );

    Reading this I’d say that the link returned, if this is the front page, will be the blog’s home, not the link to the page. Therefore, the URL created by <!–nextpage–> will be wrong.

    Again, can anyone confirm this? Is this an expected behaviour?

    Thanks

    Mário

    Thread Starter mnogueir

    (@mnogueir)

    Sorry for *bumping*, but I need to know if what I want is doable. I don’t like having broken links on my front page…

    Thanks

    Mário

    Thread Starter mnogueir

    (@mnogueir)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problems with <!—nextpage–> in static front page’ is closed to new replies.