Support Thread

Page Numbering Is Different Between Desktop And Mobile Themes

Page Numbering Is Different Between Desktop And Mobile Themes — APG vNext Guide

Page Numbering Is Different Between Desktop And Mobile Themes — a customization topic from the APG vNext community covering themes, skins, and UI adjustments.

APG vNext Customization Overview

  • Skins: Each forum can use a separate skin. Skins are stored in App_Themes/ as CSS + image sets.
  • Master Pages: The .master files control the overall page layout — header, footer, and navigation.
  • User Controls: Custom .ascx controls can be added to the header, footer, or sidebar regions.
  • Theme-specific JS: JavaScript can be loaded per-theme via the skin's master page.
  • CSS Override: Add a custom.css file to your skin folder for targeted overrides without modifying core files.

See Template Customization Guide and Features Overview.

Page Numbering Differences Between Desktop and Mobile Themes in APG vNext

A common issue reported in APG vNext forums is that thread pagination shows different page numbers or different posts-per-page counts between the desktop theme and the mobile theme. This typically occurs when the desktop theme and mobile theme have different posts-per-page configurations, causing the same thread to have a different number of pages depending on which theme the user is viewing. Understanding how APG vNext handles theme-specific pagination settings is essential for providing a consistent member experience across all device types.

Posts-Per-Page Configuration

APG vNext allows configuring the number of posts displayed per page independently in settings that may be overridden at the theme level. Navigate to Admin > Display Settings and check both the default posts-per-page setting and any theme-specific overrides. If your mobile theme specifies a different value for this setting than the desktop theme, thread pagination will produce different page counts. Set both themes to use the same posts-per-page value to ensure consistent pagination across devices.

Mobile Theme Detection

APG vNext detects mobile devices based on the HTTP User-Agent string and serves the mobile theme to requests from identified mobile browsers. The mobile theme may specify reduced posts per page for better readability on small screens. While this is good for reading experience, it creates pagination inconsistency when a member switches between devices. The canonical URL for each page of a thread remains the same regardless of theme, but the content of page 2 on desktop may not match the content of page 2 on mobile if the two themes show different numbers of posts per page.

SEO Implications of Pagination Differences

Search engines crawl the desktop version of pages and build their index based on the desktop pagination. If the mobile pagination produces different page splits, links shared from a mobile device to a specific post using the mobile page number URL may not reach the same post when followed on a desktop device. This can create confusion for members who share links to specific posts within long threads. Align the posts-per-page settings across all themes and test both the desktop and mobile views of the same thread to confirm pagination is consistent before concluding the issue is resolved.

Testing Pagination Consistency

After adjusting the posts-per-page configuration, test a long thread in both desktop and mobile views. Count the number of pages shown in each view and verify they are equal. Navigate to page 3 in the desktop view and then access page 3 in the mobile view to confirm the same posts appear on each. Verify that direct post permalink URLs that include a page number parameter resolve to the same post in both themes. Document the tested settings configuration so future administrators understand the intent behind the specific posts-per-page values chosen for each theme in the installation.

APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration. APG vNext documentation provides additional guidance on theme and pagination configuration.

Looking for more help? Browse the support forum or check the Knowledge Base.