Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #3153

    hi, i want split my post, anyone know how do that ?

    i was install Multi-page Toolkit, and on my post i was input this code <!–nextpage–> but not working on Newscast template.

    but i try on standart wp themes, <!–nextpage–> code are working,,

    #40876

    Hey,

    If you temporarily switch to the default theme (Twenty Ten) does the spilt pages work?

    The code you should be using is:

    <!--nextpage-->

    as you posted above.

    James

    #40877

    if i using default themes (Twenty Ten) the code <!–nextpage–> are working. but if i using newscast themes, the code not working. :(

    #40878

    Hey,

    open up single.php, page.php and template_fullwidth.php and replace following code:

    </div><!--end entry -->

    with:

    <?php wp_link_pages(); ?>
    </div><!--end entry -->

    The nextpage feature should work now :)

    For more information refer to this page: http://codex.wordpress.org/Function_Reference/wp_link_pages

    #40879

    this is my singel.php http://fpaste.org/roo5/raw/

    and this is my template_fullwidth.php http://fpaste.org/FuFw/raw/

    i was change the code, but still not working :(

    #40880

    Hey,

    sorry – I gave you the wrong function – I updated the instructions above :)

    #40881

    thanks dude, the code working,

    #40882

    last ask, for this thread, can you help me add button on the number

    like <perf 12345 next>

    so if i click next button, the page goes to page 2, like that

    #40883

    You can try following code – you can change the words “pages, Next page and Previous page” if you like:

    <?php

    $page_args = array(
    'before' => '<p>' . __('Pages:'),
    'after' => '</p>',
    'next_or_number' => 'number',
    'nextpagelink' => __('Next page'),
    'previouspagelink' => __('Previous page'),
    'pagelink' => '%',
    'echo' => 1 );

    wp_link_pages($page_args);

    ?>
    </div><!--end entry -->

    #40884

    just single.php or template_fullwidth.php too ?

    #40885

    It’s up to you – the function is required to implement the nextpage tag feature. If you want to use it with all templates add it to single.php, page.php and template_fullwidth.php

    #40886

    Parse error: syntax error, unexpected ‘,’ in /home/xtreme/public_html/wp-content/themes/newscast/single.php on line 66

    :(

    #40887

    I updated the code – please try it again.

    #40888

    i was insert to singel.php and template_fullwidht.php but not effect

    #40889

    Can you create me an admin account and send me the login details to: (Email address hidden if logged out) – I’ll help you with the modification…

Viewing 15 posts - 1 through 15 (of 15 total)

The topic ‘how to Split my post ?’ is closed to new replies.