Hello,
I have Newspaper Theme v6.5 installed on my website.
URL : http://www.naukrinama.com
On the category pages currently the category description gets displayed just below the Category Name. But I want to move the category description at the bottom of the page just above the footer.
Please let me know how can this be achieved.
Hello rishab55555,
If you want to move your category description to the bottom of the page, just above the footer, you have to alter a bit the code. First of all, you have to comment/delete this code, according to category template used by you, to avoid having the twice description. For example, if you use category template 3, you have to delete this code -> http://screencast.com/t/YLo1UlPb and then you have to add the code below in category.php file like this -> http://screencast.com/t/WtanSvvV
The code is -> http://pastebin.com/zzApDb7j
The result you should see here -> http://screencast.com/t/TAVP7m4K0c
Hope this helps and let us know how it goes!
Thank you for the message!
Hi,
@printing3d This method is quite old, there are other ways now. Now it is possible to create category templates with the tagDiv composer (cloud templates)
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
– https://cloud.tagdiv.com/#/load/Category
Using a cloud category template, the category description is an element, it can be positioned in any location possible – http://prntscr.com/njvs57 so displaying it just before the footer is a matter of drag and drop – http://prntscr.com/njvsjj
The code solution may still work, but it would be impractical. Since the 9.7 update many theme files were moved in the tagDiv composer plugin – https://tagdiv.com/updating-the-core-of-tagdiv-themes/
So they can’t be modified in a child theme anymore, they have to be modified in the plugin. This means this modification will have to be made after each theme update. The category template files are now here – http://prntscr.com/njvtzb
Let me know if you have more questions.
Thanks
