Okay
  Public Ticket #373587
All posts page
Closed

Comments

  • Aude started the conversation

    Hi,

    I would like to have on my website (which is not a only blog, there are other custom content types) a special blog page ("all posts"), listing all the posts (in my case, the "last news").

    With Salient, if I choose the model "homepage-2" (with content and last posts), I can display a link "view all posts" which is pointing to the homepage (url: home-2). Where could I create such a "all posts" page and correct the pointing of the link? Somewhere in the settings?

    Thanks for your help,

  •  8,848
    Tahir replied

    Hey!

    You can use the Recent Posts Page Element in Visual Composer . Please see Page Builder Video: .

    thanks


    ThemeNectar Support Team 

  • Aude replied

    Indeed, I had forgotten this. Thanks a lot!

    But, sorry, what is the best way to link the "view all posts" to the right page? In the template, I see:

    $posts_page_id = get_option('page_for_posts');
    ...
    $posts_page_link = get_page_uri($posts_page_id);

    But I do not see the option...

    Thanks,

  •  8,848
    Tahir replied

    Hey Again!

    It can be set in Salient Theme Options Panel -> Blog Section. Bottom last field.

    Cheers


    ThemeNectar Support Team 

  • Aude replied

    Hi,

    This is where I looked, but it only says: "Custom Recent Posts Link Text: This is be used anywhere you place the recent posts shortcode and on the "Recent Posts" home layout. e.g. View All Posts".

    I only changes the text of the link, but not the link itself.

    Thanks in advance for your further help,


  •  1,075
    ThemeNectar replied

    Hey - the easiest way to handle this would be to disable the recent posts title from the element and then simply write the link above it in a text block with html.

    Cheers