[Resolved] How to remove nav next/prev and move category beside my social share

Home Forums Support [Resolved] How to remove nav next/prev and move category beside my social share

Home Forums Support How to remove nav next/prev and move category beside my social share

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1428684
    Iswan

    Hai Generatepress….

    I want to remove nav next/prev link and move the category icon beside my social share. The display responsif on mobile.

    Plis check my blog

    #1429013
    David
    Staff
    Customer Support

    Hi there,

    go to Customizer > Layout > Blog –> Single (Tab) and uncheck Display post navigation.

    You can use this filter to add the Category terms in the entry meta:

    https://docs.generatepress.com/article/generate_header_entry_meta_items/

    Positioning it separately beside the Social icons may no be possible.

    #1429225
    Iswan

    Thanks David

    The Nav Link is solved, but now after i use the entry meta, i have 2 category now. Before content and after content.

    I want to move the category to before content with the icon folder.

    Plis check my site…

    Thx David

    #1429250
    David
    Staff
    Customer Support

    To show the icon add this CSS:

    .entry-header .cat-links:before{
        display: inline-block;
    }

    To remove the Cat terms from footer meta add this PHP Snippet:

    add_filter( 'generate_footer_entry_meta_items', function( $items ) {
        return array_diff( $items, [ 'categories' ] );
    } );
    #1429493
    Iswan

    Thanks David its works

    #1429561
    David
    Staff
    Customer Support

    You’re welcome

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