Category: Tricks


Click to View All Content .Js – Show More Content on Click

The resource of click to view more content. HTML code: <div class="container"> <div class="row"> <h2>This is free script from webenlance</h2> </div> <p class="comment"> Dr. Anil Kohli is an Endodontist, Dental Surgeon and Dentist in Lajpat Nagar, Delhi and has an experience of 40 years in these fields. Dr. Anil Kohli practices at Duis nisl nibh, …


[Solved] How to Remove WordPress Menu Class & ID

Some of you may want to remove wp_nav_menu remove classes from li Just like this: <div id="navi"> <div class="menu-primary-container"><ul id="menu-primary" class="menu"><li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14"><a href="http://localhost/2in1design/intro-2/">Intro</a></li> <li id="menu-item-16" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-16"><a href="http://localhost/2in1design/category/portfolio/">Portfolio</a></li> <li id="menu-item-20" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-20"><a href="http://localhost/2in1design/contact/">Contact</a></li> <li id="menu-item-15" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-15"><a href="http://localhost/2in1design/category/blog/">Blog</a></li> <li id="menu-item-17" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-17"><a href="#">Shop</a></li> …


[fixed] Update to WordPress 4.4 – SERVER ERROR 500

It seems that the recent WordPress 4.4 update got error when you update your script automatically. When the WordPress updated, you will get blank page, and get the message: SERVER ERROR 500 And it is simple to fix this problem, just open your site with another browser, then you will get the following page: Database …


Fix WordPress “You do not have sufficient permissions to access this page”

If you use Nginx and meet this problem with some WordPress plugin tab error “You do not have sufficient permissions to access this page”, please read this post, it’s easy to solve. You need to edit the WordPress core file: Go –> wp-admin –> options-general.php Open options-general.php, add the following code before the <php <base …


WordPress Responsive Captions & Images

Wordpress image captions responsive

More and more people using mobile and pad to surfer the internet these days, for most of the websites, 60-80% visitors using mobile now, so make your site responsive is accessory. For some of the “old” WordPress themes, they’re responsive, but the images you insert with captions don’t behave responsive, I have found some solutions, …


WordPress: How to Fix the Problem with Image Captions after 3.7 Upgrade

Problem with WordPress Image Caption

If you have upgraded to the latest WordPress v3.7, you may meet the image caption problem in the visual editor, this  is a particularly nasty bug that affects working with image captions in the visual editor. It was caused by a regression in Uglify.js. New captioned image inserted into the Visual Editor produces a huge …


WordPress Use Google Custom Search Without Plugins


How to Implement Google Custom Search Results into WordPress Based Websites Without Plugins WordPress has a relatively good search functionality but tends to get sluggish and doesn’t match keywords that well, and of course when you make a search, WordPress will use a lot resources, why not use the Google custom search instead the default …