Bring Category Description at the bottom of page instead of the top

Posted in: Newspaper
Post count: 104

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.

Post count: 23312

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!

Post count: 15

Nicee wowk 100% thankssss 🙂

Post count: 181

Hello Catalin

After the latest update, I believe this solution no longer works.

Can you also update this topic please?

Post count: 20685

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

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.