upPrev

Opis

Wyświetla fajny, animowany element z zawartością powiązaną.

Po przewinięciu do dołu pojedynczego wpisu, strony lub niestandardowego typu wpisu, zostanie wyświetlone animowane pole umożliwiające czytelnikowi wybranie poprzedniego lub losowo treści w wybranej konfiguracji:

  1. Po prostu poprzedni
  2. Poprzedni w kategorii
  3. Poprzedni w tagu
  4. Losowo
  5. Powiązany wtyczką YARPP (tylko wpisy i strony)

Zrzuty ekranu

  • upPrev we wpisach
  • Opcje upPrev: wygląd
  • Opcje upPrev: treść
  • Opcje upPrev: odnośniki
  • Opcje upPrev: cache

Instalacja

Masz do wyboru trzy metody instalacji:

1. Super łatwo

  1. W panelu administratora idź do menu Wtyczki > Dodaj nową
  2. Poszukaj upPrev
  3. Kliknij żeby zainstalować
  4. Włącz wtyczkę
  5. W menu Wygląd właśnie pojawiła się nowa pozycja – upPrev

2. Łatwo

  1. Pobierz wtyczkę (plik zip) z prawej kolumny na tej stronie.
  2. W panelu administratora idź do menu Wtyczki > Dodaj nową
  3. Wybierz przycisk Wyślij wtyczkę na serwer
  4. Wyślij właśnie pobranego zipa.
  5. Włącz wtyczkę
  6. W menu Wygląd właśnie pojawiła się nowa pozycja – upPrev

3. Stary i niezawodny sposób (FTP)

  1. Prześlij katalog upprev do folderu /wp-content/plugins/
  2. Aktywuj wtyczkę w WordPressie w menu 'Wtyczki”
  3. W menu Wygląd właśnie pojawiła się nowa pozycja – upPrev

Najczęściej zadawane pytania

Włączono upPrev, ale nie ma żadnego efektu. Co teraz?

First of all, check your template. To proper work plugin requires function wp_head and wp_footer. If your template don’t use one of theme, upPrev will not work. If you cant check this action in your templates manually use this code to check it: https://gist.github.com/378450

Jak dodać domyślny obrazek dla wpisów bez obrazka wyróżniającego?

Użyj akcji iworks_upprev_image, więcej:

Jak dodać obrazek do wpisu bez ikony? (en)

Jak zmienić obrazek wyróżniający na inny?

Użyj filtra iworks_upprev_get_the_post_thumbnail, więcej:

Jak podmienić ikonę wpisu na inną? (en)

Jak dodać upPrev dla stron, czy własnych typów treści?

Tak. Wystarczy wybrać typy treści na ekranieWygląd -> upPrev -> Treść w sekcji Wybierz typy treści.

Jak mogę utworzyć własne style?

Zobacz: Jak mogę dostosować własny wygląd?

Potrzeba więcej snippetów?

Odwiedź: upPrev: archiwum snipetów (EN)

Recenzje

20 września 2021
Great plugin. Works great, lightweight and doesn't take a lot of resources to manage.
21 sierpnia 2019
Took a bit of extra work/code but, does what I want it to. I still want to tweak some things but it's the only plugin I found so far that would work like I want.
Przeczytaj 124 recenzje

Kontrybutorzy i deweloperzy

„upPrev” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

Wtyczka “upPrev” została przetłumaczona na 14 języków. Podziękuj tłumaczom za ich wkład.

Przetłumacz wtyczkę “upPrev” na swój język.

Interesuje cię rozwój wtyczki?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Historia zmian

4.0.4 (2021-08-31)

  • Przywrócono opcję „Ukryj na tabletach”.
  • Powrócono do używania klasy Mobile Detect, w celu wykrywania urządzeń mobilnych. Wersja 2.8.37.

4.0.3 (2021-08-18)

  • Poprawiono limit wyświetlania kategorii.
  • Fixed opacity issue when we click „close” button and scroll. Props for George
  • Fixed post_type mismatch. Props for George
  • Improved category/tag select, first to try get entries from all, then, from any category/tag.

4.0.2 (2021-08-16)

  • Added option to hide re-open badge.
  • Fixed double headers on configuration screen. Props for George
  • Fixed missing custom element to open box. Props for George
  • Poprawiono zbyt zachłanne wartości domyślne.
  • Mniejsze ulepszenia panelu konfiguracji.
  • Zaktualizowano iWorks Option Class do wersji: 2.7.0

4.0.1 (2021-08-12)

  • Fixed wrong plugin description. Props for Patrick_D1985
  • Fixed WP CLI error. Props for Patrick_D1985
  • Removed post thumbnail on posts list.

4.0.0 (2021-08-11)

  • BUGFIX: added version number to upprev.css
  • BUGFIX: fixed bug with removing filter name
  • BUGFIX: fixed problem with $(’body’).offset() by changed it to scrollTop() function
  • IMPROVEMENT: added ajax request to load upPrevBox content
  • IMPROVEMENT: added capability filter iworks_upprev_capability – now you can easy change capability (default is manage_options)
  • IMPROVEMENT: added categories exclude (only PRO version)
  • IMPROVEMENT: added color chooser (only PRO version)
  • IMPROVEMENT: added filter 'iworks_upprev_thumbnail_size’ for thumbnail size
  • IMPROVEMENT: added free layouts: „Vertical Three”
  • IMPROVEMENT: added pro layouts: „Bloginity style”
  • IMPROVEMENT: added remebering usage „close” button
  • IMPROVEMENT: added settable header text thx to pmfox Can we change header text?
  • IMPROVEMENT: added tags exclude (only PRO version)
  • IMPROVEMENT: check variable iworks_upprev in javascript before use it
  • IMPROVEMENT: javascript & css files are minifized
  • IMPROVEMENT: replace moble detection function to Mobile_Detect
  • IMPROVEMENT: rework option page to easier configuration
  • IMPROVEMENT: upgrade iWorks Option Class to version: 2.7.0
  • IMPROVEMENT: upgrade YARPP integration, minimum YARPP version: 3.5.x
  • IMPROVEMENT: updated Hebrew translation by של אודי בורג
  • REFACTORING: rebuild options screen, sidebar boxes are now manageable
  • REFACTORING: moved code to class
  • REFACTORING: rewrite on page options to use wp_localize_script
  • REFACTORING: used a proper way to ajax call
  • TYPO: „Anlalitics” should be „Analytics” thx to Knut Sparhell

3.3.30 (2015-10-06)

  • BUGFIX: fixed a problem with showing the title if contains tags with attributes. Props for Ovidiu

3.3.29 (2015-09-01)

  • IMPROVEMENT: added Tagalog translation by Kel DC

3.3.28

  • IMPROVEMENT: added Slovak translation by Daniel Schmidt

3.3.27

  • IMPROVEMENT: added Dutch translation by Ruud Kok

3.3.26

3.3.25

  • IMPROVEMENT: updated Simplified Chinese translation by Leo
  • IMPROVEMENT: added filter ’iworks_upprev_box_title’ for box title, return false to remove title

3.3.24

3.3.23

  • BUGFIX: default value only when is need thx to Jeff Offset Not Working
  • IMPROVEMENT: updated IworksOptionClass to 1.7.7

3.3.22

3.3.21

3.3.20

  • IMPROVEMENT: updated IworksOptionClass to 1.7.4
  • IMPROVEMENT: check upPrev compatibility with WordPress 3.7
  • BUGFIX: fixed „last selected tab”

3.3.19

3.3.18

3.3.17

3.3.16

3.3.15

  • IMPROVEMENT: added Hebrew translation by עמיעד

3.3.14

3.3.13

3.3.12

  • BUGFIX: fixed compatibility errors with YARPP 4.x version thx to adamdport
  • IMPROVEMENT: add css to changed tabs class in WordPress 3.5
  • IMPROVEMENT: check upPrev compatibility with WordPress 3.5

3.3.11

3.3.10

3.3.9

3.3.8

  • BUGFIX: critical update, plugin crash site if choose no post types

3.3.7

3.3.6

  • IMPROVEMENT: added German translation by Mario Wolf

3.3.5

  • BUGFIX: fixed double output when using YARPP thx to gyutae
  • BUGFIX: hide developer admin option

3.3.4

  • IMPROVEMENT: added Brazilian Portuguese translation by Leonardo Antonioli
  • BUGFIX: fixed minor description bug (thx Eva)

3.3.3

  • IMPROVEMENT: added Vietnamese translation by Xman
  • BUGFIX: use crc32 to build ids for tabbed config, wich collapsed in other than utf8 charset

3.3.2

  • IMPROVEMENT: added GA option: non-interaction to prevent events in bounce-rate calculation.

3.3.1

  • IMPROVEMENT: added French translation by Eva

3.3

  • IMPROVEMENT: added option to hide upPrevBox on mobile devices, matching implemented from WP Mobile Detector ticket from forum

3.2

  • IMPROVEMENT: added action iworks_upprev_image – you can add own code to produce icon, when them don’t support post-thumbnails
  • IMPROVEMENT: added thumbnail filter iworks_upprev_get_the_post_thumbnail – now you can easy change thumbnail
  • IMPROVEMENT: added purging transient cache entries from $wpdb->options table when turn off this cache forum
  • IMPROVEMENT: add check _gaq object exist
  • CHECK: checked compatibility to WordPress 3.3
  • IMPROVEMENT: updated IworksOptionClass to version 1.0.1

3.1.1

  • IMPROVEMENT: added ability to turn off „remove_all_filters” function

3.1

  • IMPROVEMENT: change GA trackEvent syntax
  • IMPROVEMENT: added Turkish translation by wpdestek

3.0.1

  • BUGFIX: fixed printing GA code when „I don’t have GA tracking on site.” is unticked. forum thx win101

3.0

  • BUGFIX: fixed end date filter for imported posts
  • BUGFIX: fixed javascript conflict on edit post screen
  • BUGFIX: fixed problem with unchecking 'Excerpts’. forum thx benjamin
  • BUGFIX: fixed sticky posts display loop
  • BUGFIX: fixed thumbnail display problem
  • IMPROVEMENT: added filter ’iworks_upprev_box_item’ for any item excerpt YARPPs
  • IMPROVEMENT: added GA track: view box and click link
  • IMPROVEMENT: added option ignore sticky posts
  • IMPROVEMENT: added sanitize function for offset
  • IMPROVEMENT: added thumbnail preview on posts/pages list
  • IMPROVEMENT: cleaning empty styles from custom css field
  • REFACTORING: option management

2.3.7

  • BUGFIX: fixed problem for defaults post_type if no one choosed forum

2.3.6

  • BUGFIX: fixed problem with using thumbnails in themes with thumbnail support forum
  • IMPROVEMENT: added custom css rules (forum](https://wordpress.org/support/topic/plugin-upprev-version-235-update-breaks-thumbnail-support)

2.3.5

  • BUGFIX: fixed problem with using thumbnails in themes without thumbnail support

2.3.4

  • BUGFIX: fixed problem with default values and values saving (again)
  • IMPROVEMENT: added correct way to enqueue style and js files

2.3.3

  • BUGFIX: hide configuration link on plugins list page for WordPress MU
  • BUGFIX: fixed problem with post excerpt
  • BUGFIX: fixed problem with default values and values saving

2.3.2

  • BUGFIX: fixed translation bug
  • POPRAWKA: usunięto limit daty publikacji dla losowych wpisów.
  • BUGFIX: fixed open in new window bug
  • IMPROVEMENT: added limit to display only on selected post types forum

2.3.1

  • BUGFIX: fixed small bug with display option

2.3

  • IMPROVEMENT: added filter iworks_upprev_box
  • IMPROVEMENT: added tabbed options (based on Breadcrumb NavXT plugin
  • IMPROVEMENT: added prefix and suffix to urls
  • IMPROVEMENT: added option to allow open links in new window
  • IMPROVEMENT: added integration with YARPP
  • BUGFIX: fixed Transients Cache Lifetime is set to wrong seconds
  • BUGFIX: fixed deactivation hook option names

2.2.1

  • BUGFIX: fixed display problem with document shorter than browser
  • IMPROVEMENT: document post type as checkbox list

2.2

  • IMPROVEMENT: added upPrev configuration link to admin bar
  • IMPROVEMENT: added registered custom posts
  • BUGFIX: fixed error if the behavior of boxing display for html element
  • BUGFIX: fixed wrong method post_type selection

2.1.2

  • BUGFIX: remove margin-top for title element
  • IMPROVEMENT: added display taxonomies limit

2.1.1

  • BUGFIX: When they scroll down again, the box flies out, which — on a small screen — can obscure a big chunk of the content. forum

2.1

  • IMPROVEMENT: added box width option
  • IMPROVEMENT: added box bottom and side margin option
  • IMPROVEMENT: added transient cache for scripts and styles
  • IMPROVEMENT: added actions: iworks_upprev_box_before and iworks_upprev_box_after, called inside the upPrevBox, before and after post. Now you can add some elements to upPrevBox without plugin modification.
  • IMPROVEMENT: added option to display (or not) close button
  • IMPROVEMENT: added post type choose: post, page or any.
  • IMPROVEMENT: added random order for displayed posts

2.0.1

  • BUGFIX: fixed translation load
  • IMPROVEMENT: added show box header option
  • IMPROVEMENT: added stamp for cache key
  • IMPROVEMENT: added Polish translation by Marcin Pietrzak

2.0

  • BUGFIX: fixed display upPrev box in case of an equal height of the window and the document
  • IMPROVEMENT: added to use transient cache
  • IMPROVEMENT: added thumbnail width (height depend of theme thumbnail)
  • IMPROVEMENT: added prevent some options if active theme do not support it
  • IMPROVEMENT: added activation & deactivation hooks (to setup defaults and remove config )
  • BUGFIX: remove all filters the_content for post in upPrev box

1.0.1

  • BUGFIX: added post_date as parametr, to get real previous post
  • BUGFIX: javascript error
  • IMPROVEMENT: added header for simple method

1.0