[Support request] adding post navigation via elements

Home Forums Support [Support request] adding post navigation via elements

Home Forums Support adding post navigation via elements

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1029286
    eric

    Hi there,

    My goal is to use the elements module to create a customized post navigation.

    1) The below codes work as intended but only if Display Post Navigation is turned ON in customizer (which adds more navigation tot he page) Is it possible to have this work irrespective of that setting (without resorting to display:none)? Thanks in advance

    <?php previous_post_link( ‘« %link’, ‘%title’, true ); ?> |
    <?php next_post_link( ‘%link »’, ‘%title’, true ); ?>

    #1029414
    David
    Staff
    Customer Support

    Hi there,

    you can unpick the method i used on the Volume Site in the GP Site library – here is the Gist:

    https://gist.github.com/diggeddy/ab33c7505218c583f5f91359f41c05be

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.