Category Description after the posts

Posted in: Newsmag
Post count: 3

Hy, Categories description is showing before the posts. I want to show the category description after the posts. Please guide me on how to do it.

Thanks

Post count: 3

I am using NewsMag theme

Post count: 35449

Hi crickhiladi, unfortunately there is no option in Newsmag theme to choose where to set the category description, this can be done only if you make changes in theme files, but this is not indicate.
Thank you!

Post count: 3

Thanks for your answer. Please guide me on how can I change the theme file to show the category description after the posts.

Post count: 35449

Hi,
This will not be quite easy, but I will try to help you.
Usually, the category description us display using this line of code
https://i.imgur.com/twqjKUI.png
those can be found in category template files on this path wp-content/plugins/td-composer/legacy/Newsmag/includes/category_templates for example -> https://i.imgur.com/dAUCpV1.png
Now the problem is that you need to call this function in another file and this can be with problems, for this you need to use a new code
https://i.imgur.com/a27HfRN.png get he code from here -> https://pastebin.com/TeyRktvQ
And set it in wp-content/plugins/td-composer/legacy/Newsmag/category.php here -> https://i.imgur.com/jqWZsNh.png
Hope this will help you!
Thank you!

  • This reply was modified 5 years by Calin.
Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newsmag’ is closed to new topics and replies.