Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1131654

    michaelxxx
    Participant

    Hi Lely,

    1) is not working with the new code. The sidebar (in my local development with the ethos stack) is still there.

    2 and 3 works perfect 🙂 Thank you!!!

    And one other question to your code:

    <?php
    // Parent post navigation.
    the_post_navigation( array(
    'prev_text' => _x( '<span class="meta-nav">Published in: </span><span class="post-title">%title</span>', 'Parent post link', '__x__' ),
    ) );
    ?>

    In this code the text “Puplished in:” is also shown as a link.

    When I did it like this:

    <?php
    echo "Puplished in:";
    // Parent post navigation.
    the_post_navigation( array(
    'prev_text' => _x( '<span class="post-title">%title</span>', 'Parent post link', '__x__'),
    ) );
    ?>

    the output is in 2 rows.

    Puplished in:
    Kurzer Zwischenstopp in Las Vegas (USA, Nevada)

    How can i get this output in one row?

    Puplished in: Kurzer Zwischenstopp in Las Vegas (USA, Nevada)

    #1131673

    Lely
    Moderator

    Hi There,

    1.) We need to check your setup. If you can setup a staging site that we can access that would be better. Unfortunately at this time we can’t do anything until we were able to check it directly.

    To make the output in one row, please add this custom CSS on Appearance > Customize > Custom > Edit Global CSS:

    .attachment nav.navigation.post-navigation {
        display: inline-block;
    }

    Hope this helps.

    #1132009

    michaelxxx
    Participant
    This reply has been marked as private.
    #1132352

    Rupok
    Member

    Hi there,

    I with I could help on this but it would require more complex code that would be out of our support scope. Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.