• Resolved testica

    (@testica)


    Hi,

    This theme is perfect. Thank you!

    Just a small requirement… It is possible to display the description of the archives under posts?

    At this moment, the description of the archives (on tag/category archives) is above the posts, but I prefer to display it under the “Load more” button, at the bottom of the page.

    Many thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @testica,

    Glad you like it!

    It’s possible, but pretty complicated. There’s no action triggered by the theme in that location, so you’re going to filter the get_template_part() output and append the archive description when the pagination template part is loaded. You should do this in a child theme, so your changes aren’t overwritten the next time you update Eksell.

    — Anders

    Thread Starter testica

    (@testica)

    Hi Anders,

    Thank you for your quick answer.

    I created a child theme but I don’t know which code or function would be right for my request.

    You can help me with a snippet of code?

    I want to display the description when visitors enter the archive pages, under posts, Not necessarily under “Load more” button. It can also be above the pagination.

    Theme Author Anders Norén

    (@anlino)

    Hi @testica,

    No, sorry – it’s a bit too big a change for me to do it for you. This should get you started though: https://developer.ww.wp.xz.cn/reference/hooks/get_template_part/

    — Anders

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Move archive description under posts’ is closed to new replies.