ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

Floating NextPrev

აღწერა

The Floating NextPrev displays buttons for navigation between your blog posts.
The icons are displayed only within the pages of posts and can promote a better navigation for your visitors.

Contribute

You can contribute to the source code in our GitHub page.

License

ეკრანული სურათები

  • Plugin in action.
  • Plugin settings.

დაყენება

  • Upload plugin files to your plugins folder, or install using WordPress built-in Add New Plugin installer;
  • Activate the plugin;
  • Navigate to Settings -> Floating NextPrev and select the design model.

ხდკ

What is the plugin license?

  • This plugin is released under a GPL license.

Why the plugin is not working?

  • Probably due to incompatibility of jQuery. Check to see if this plugin modifying the jQuery version of your WordPress.

How navigating only in posts in the same category?

Paste this code in functions.php file of your theme:

add_filter( 'floating_nextprev_in_same_cat', '__return_true' );

How to hide in some categories?

Use this example in functions.php file of your theme:

function floating_nextprev_exclude_categories( $excluded_categories ) {
    $excluded_categories = '1,2,3'; // add your categories ids.

    return excluded_categories;
}

add_filter( 'floating_nextprev_excluded_categories', 'floating_nextprev_exclude_categories' );

How can I control the display?

You can control the display using the floating_nextprev_display filter.
Example how to display only in news category:

function floating_nextprev_only_in_news( $display ) {
    return in_category( 'news' );
}

add_filter( 'floating_nextprev_display', 'floating_nextprev_only_in_news' );

How to change the “Previous” and “Next” titles?

Use the floating_nextprev_prev_title and floating_nextprev_next_title filters.
Example:

function floating_nextprev_prev_title( $title ) {
    return __( '←', 'textdomain' );
}

add_filter( 'floating_nextprev_prev_title', 'floating_nextprev_prev_title' );

function floating_nextprev_next_title( $title ) {
    return __( '→', 'textdomain' );
}

add_filter( 'floating_nextprev_next_title', 'floating_nextprev_next_title' );

მიმოხილვები

03.09.2016 4 replies
I really like this plugin, it's really easy and easy to customise even more if you know css (I decreased the size of the panels.) However, when I am at my last post, the tab for Next Post keeps showing this current post, because it's the last one. Same with the first post when looking at Previous Post. Maybe add an option for looping, or just add a condition and don't display the tab if it's the first/last post? 🙂 Thanks!
03.09.2016 1 reply
Still works on latest WP, two years after last update. One star less than perfect due to minor quibble about last post activity. Other than that, great!
7 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“Floating NextPrev” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

“Floating NextPrev” ითარგმნა 2 ენაზე. გმადლობთ თარჯიმნებო თქვენი წვლილისათვის.

გადათარგმნეთ Floating NextPrev თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

2.3.0 – 2016/08/10

  • Improved how check for the first and last pages in order to avoid wrong arrow buttons.