Answer the question
In order to leave comments, you need to log in
[[+content_image]]
How to remove rel="next" links in modx?
Hello!
Several blocks are displayed on the news page:
<div id="pdopage1">
<div class="flex-container news-container rows">
[[!pdoPage?
&parents=`2`
&tpl=`tpl-item-new`
&includeTVs=`img`
&processTVs=`img`
&limit=`6`
&where=`[[snippYear? &news_this_year=`1`]]`
&ajaxMode=`button`
&ajaxElemWrapper=`#pdopage1`
&ajaxElemRows=`#pdopage1 .rows`
&ajaxElemPagination=`#pdopage1 .pagination`
&ajaxElemLink=`#pdopage1 .pagination a`
&ajaxElemMore=`#pdopage1 .btn-more`
&ajaxTplMore=`tpl_btn_more_news`
]]
</div>
[[!+page.nav]]
</div>
<div id="pdopage2">
<div class="flex-container news-container rows">
[[!pdoPage?
&parents=`2`
&tpl=`tpl-item-new`
&includeTVs=`img`
&processTVs=`img`
&limit=`6`
&where=`[[snippYear? &news_old_year=`1`]]`
&ajaxMode=`button`
&ajaxElemWrapper=`#pdopage2`
&ajaxElemRows=`#pdopage2 .rows`
&ajaxElemPagination=`#pdopage2 .pagination`
&ajaxElemLink=`#pdopage2 .pagination a`
&ajaxElemMore=`#pdopage2 .btn-more`
&pageVarKey=`page_and`
&ajaxTplMore=`tpl_btn_more_news`
&pageVarKey=`page2`
&pageNavVar=`page2.nav`
]]
</div>
[[!+page2.nav]]
</div>
<div id="pdopage3">
<div class="flex-container news-container rows">
[[!pdoPage?
&parents=`2`
&tpl=`tpl-item-new`
&includeTVs=`img`
&processTVs=`img`
&limit=`6`
&where=`[[snippYear? &news_archive=`1`]]`
&ajaxMode=`button`
&ajaxElemWrapper=`#pdopage3`
&ajaxElemRows=`#pdopage3 .rows`
&ajaxElemPagination=`#pdopage3 .pagination`
&ajaxElemLink=`#pdopage3 .pagination a`
&ajaxElemMore=`#pdopage3 .btn-more`
&pageVarKey=`page_and`
&ajaxTplMore=`tpl_btn_more_news`
&pageVarKey=`page3`
&pageNavVar=`page3.nav`
]]
</div>
[[!+page3.nav]]
</div>
&pageVarKey=`page3`
&pageNavVar=`page3.nav`
and [[!+page3.nav]]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question