Здравствуйте!
Есть задача: установить смещение статей в блоке, чтобы они начинали выводиться с 15-ой по счёту. Глобально, без ограничений.
Если я выставляю цифру 14, данная настройка работает и статьи выводятся, начиная с 15-ой.
Если я добавляю фильтрацию, к примеру, устанавливаю определённую рубрику, смещение перестаёт работать. Я так понимаю, что применение фильтра добавляет ограничение и при установке фильтрации по рубрике статьи начнут выводиться, только если в этой рубрике наберётся 15 статей. Верно?
Но, необходимо настроить смещение так, чтобы фильтры его не ограничивали. Как можно это сделать и в каком файле настраивается смещение?
Заранее спасибо за помощь.
——-
Hello!
There is a task: to set the offset entries in the unit, they began to be evacuated from the 15th in a row. Globally, without limitation.
If I put the figure 14, the setting works and articles are listed, starting with the 15th.
If I add a filter, for example, to establish certain categories, the offset is no longer working. As I understand it, It adds that the application of the restriction filter and install filter by category articles will be displayed only if in this category got 15 articles. Right?
But, need to adjust the offset so that the filters do not limit it. How can this be done and what the file offset is adjusted?
Thank you in advance for your cooperation.
Hi,
Unfortunately for the moment we don’t have a documentation regarding the offset feature, but you can take a look to the old documentation to see how it works- https://forum.tagdiv.com/unique-articles-and-offset-newspaper/
If you need a different functionality you will need custom modifications and I suggest to hire a freelancer to do it for you as we are not available for custom services, sorry!
If you have an issue with the offset feature and you think that it doesn’t work properly, please provide some screenshots with your settings and a link so we can take a look, eventually to try to recreate this.
Thanks!
Если я беру все статьи сайта в порядке по убыванию от новых к старым, смещение работает правильно: http://prntscr.com/9m0nfm
Админка: http://prntscr.com/9m0oex Фильтр: http://prntscr.com/9m0oyl
Если я устанавливаю смещение + фильтр по рубрике, смещение перестаёт работать: http://prntscr.com/9m0qud
Админка: http://prntscr.com/9m0s5l Фильтр: http://prntscr.com/9m0sh8
Статьи в рубрике имеются. В порядке убывания от новых к старым находятся выше 15-ой позиции.
——-
If I take all the articles of the site in descending order from newest to oldest, the shift is working properly: http://prntscr.com/9m0nfm
Admin panel: http://prntscr.com/9m0oex Filter: http://prntscr.com/9m0oyl
If I set the offset + filter section, the offset is no longer work: http://prntscr.com/9m0qud
Admin panel: http://prntscr.com/9m0s5l Filter: http://prntscr.com/9m0sh8
Articles in the category are available. In descending order from newest to oldest are above the 15th position.
Hello,
I have tested the offset function on my end but it seems to work properly. You need to use the same categories in your blocks for the filter to work. If a different filter is selected then the offset will not work as the documentation above shows.
In this part:
Если я устанавливаю смещение + фильтр по рубрике, смещение перестаёт работать: http://prntscr.com/9m0qud
please specify what filter you are using and how is it different than the other block you are trying to offset the posts to. Basicaly the 2 blocks need to have the same filter and show the same posts for the offset to work.
Thank you!
Спасибо за объяснение, я понял смысл работы смещения.
Сейчас на сайте стоят такие настройки:
1. Big Grid 2. Category filter: All categories. Sort order: Latest.
2. Block 9. Offset posts: 4. Category filter: All categories. Sort order: Latest.
3. Block 17. Offset posts: 14. Category filter: “Politics” (only one category). Sort order: Latest.
В третьем блоке смещение перестает работать, потому что изменена фильтрация. Главный вопрос в том, как можно изменить логику работы смещения, чтобы оно не работало только с одной рубрикой, а фильтр лишь его дополнял.
То есть, чтобы в третьем блоке продолжались выводиться статьи согласно настройкам смещения + к нему ещё добавилась фильтрация по рубрике.
Получается в блоке 1 мы выводим все статьи по убыванию, во блоке 2 также все статьи по убыванию, а в блоке 3 все статьи по убыванию + отсортированные по рубрике.
——-
Thank you for your explanation, I understood the meaning of the work offset.
Now are these settings on site:
1. Big Grid 2. Category filter: All categories. Sort order: Latest.
2. Block 9. Offset posts: 4. Category filter: All categories. Sort order: Latest.
3. Block 17. Offset posts: 14. Category filter: “Politics” (only one category). Sort order: Latest.
In the third block of the offset will not work, because the filter is changed. The main question is how to change the logic of displacement that it does not only work with the same category as the filter only its complement.
That is, to the third block continues to output the article according to the settings offset + him more added filtering by category.
It turns out in block 1, we derive all items in descending order, in block 2 all items in descending order, and in block 3 all articles descending + sorted by category.
Hello,
I think i see what you mean now, but unfortunately you cannot change this behavior. If there is another category set to the last block, the offset will not work. All the blocks need to have the same filter. If you need to use the offset with different category filters there is no easy solution we can provide for this as the whole offset function needs to be changed/recreated.
If the main concern is post repetition, you can use the unique articles option so the posts will not repeat on your page. http://screencast.com/t/x0I07hcto3
Thank you!
Попробовал использовать опцию “Unique Articles”. При её включении на странице действительно отображаются только уникальные статьи. Но, непонятен порядок их появления на странице. Статья появляется каким-то случайным образом в любом из блоков. Можно узнать немного подробнее, как именно работает опция “Unique Articles”?
——-
I tried to use the option “Unique Articles”. When you turn it on the page are displayed only really unique articles. But, do not understand the order they appear on the page. The article appears in some random way in any of the blocks. You can learn a bit more about how it works option “Unique Articles”?
Hi,
You can read more about the option here: https://forum.tagdiv.com/unique-articles/
The option does not randomize posts. It keeps the filtering option you set. If you filter your blocks to show latest posts, they will be displayed in order from recent to old and the other block will simply offset the posts shown in the previous one.
I hope this helps.
Thank you.