• Hi guys,

    I’m trying to customize Dara theme and added tag.php and archive.php in order to get the list of tagged/archived posts/pages displayed in a short format with excerpt. I also added content-search.php to format a single post/page, which is used by tag.php via get_template_part( ‘components/post/content’, ‘search’ ). However, the content is displayed in correct format on page 1 only, so it means tag.php and content-search.php have been executed for the 1st page. Starting from page 2 all posts are displayed with full content as tag.php and content-search simply ignoted. In fact, I experienced the same without my changes.

    If you go to https://offroad-notes.net/tag/india/ and scroll down, you will see the behaviour. I tried to figure out what is going on, read the documentation, but still cannot find the solution. It seems tag.php is not executed starting from page 2.

    I would appreciate any idea you might have…

    I can post a code if you need too.

    Thanks,
    Victor

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hey Victor, I’m not able to provide much support in terms of coding (and would recommend the developer forum for that) but I can say this theme has a built-in excerpt mode. Head to Customize > Content Options and you’ll find the choice to display full posts or excerpts on archive pages. It seems to work with search results as well.

Viewing 1 replies (of 1 total)
  • The topic ‘Pagination issue with template’ is closed to new replies.