• Hi, two more questions that sounds easy, but I was not able to solve it my own:
    1.) I would like to have a simple paginated standard date ordered List with some featured post at the beginning (the other entries should appear in the default chronological order) Is that possible? How?
    2.) ist it possible to label/translate the pagination buttons (Previous, Next)? What ist the best way to do without messing in the code of the plugin itself?

    Thanks for your friendly Help, S.

    • This topic was modified 4 years, 5 months ago by hiddenline.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, not sure about your point 1), but for point 2) you have to go to
    /wp-content/plugins/Display-Posts-Pagination-master/display-posts-navigation.php
    Find

    		'prev_text' => 'Previous',
    		'next_text' => 'Next',

    And change them potentially to

    		'prev_text' => 'Whatever for "Previous" in German',
    		'next_text' => 'Whatever for "Next" in German',

    Updates to the pagination extension (if any) will break this and you will have to do it again, but it’s a one minute thing really ??

    For point 1)… Hmm, needs some testing.

    For point 1) you would have to do one shortcode to display the featured ones with the “id” parameter, then you close that shortcode, open a new one and exclude the featured ones with “exclude” https://displayposts.com/docs/parameters/
    Yay ??

    P.S.: You may want to wrap the featured one in a <div> or something to style it (via additional CSS, within the theme) as if it was included in the 2nd list or similar effects.

    Thread Starter hiddenline

    (@hiddenline)

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘display in default paginated order but start with some peatured posts’ is closed to new replies.