Add Scroll to Top Effect with jQuery in WordPress

Smooth Scroll Button

To add a smooth scroll to top effect, we will be using jQuery, some CSS and a single line of HTML code in your WordPress theme. First open a text editor like Notepad. Create a file and save it as smoothscroll.js. Copy and paste this code in the file: jQuery(document).ready(function($){ $(window).scroll(function(){ if ($(this).scrollTop() < 200)…

Add Custom Read More Function WordPress

Custom Read More Function In WordPress

Custom Read More Function in WordPress are very useful for illustration a web site. It is not only helpful but also save time. Suppose you have a website and you design it at various styles such as 2 column pages, 3 column page, single page, portfolio page, author page etc. Now you need to change…

Add Custom Styles in WordPress TinyMCE Editor

WordPress TinyMCE editor

Adding custom styles to WordPress TinyMCE editor is very easy. But before styling your TinyMCE editor you should know about WordPress post editor. WordPress TinyMCE editor There are two modes of editing: Visual and Text. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last icon…

Get Category Name by ID WordPress

Category name by id

If you want to create a newspaper site or blog site like newspaper you need to display post base on category. Here I will add a WordPress snippets which will display category name by ID. Get Category name by id <?php echo get_cat_name(4);?> Here get_cat_name(4) is my Selected Category ID. Please Change  4 With your…