How to add google analytics code in wordpress using functions.php

We use google analytics code on website so that we can see the traffic and other information of website. For this we generate google analytics code add the script on header.php file or footer.php file. But we can also add analytics code in functions.php file which is available inside the wordpress theme. So just you 

Continue Reading…

How to display next previous pagination on single-custom.php or custom details page

I was creating a project in which I had maid a custom post type and create a custom template for details page. But client want to display next previous on custom template details page. Like this: So for this I have use this code on single-casestudies.php:

If anyoney any confusion then please comment. Hope 

Continue Reading…