Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
https://www.chrisjmendez.com/2014/09/13/wordpress-upgrade-an-old-jquery/
        
        
        
            0 
        
        
            1211 
        
                    posted 11 years ago by chrisaiv
            https://www.chrisjmendez.com/2014/09/13/wordpress-remove-header-junk-from-default-wordpress-install/
        
        
        
            0 
        
        
            1433 
        
                    posted 11 years ago by chrisaiv
            Disallow HTML in WordPress comments, add this snippet to your functions.php file.
        
        
        
            0 
        
        
            1353 
        
                    posted 11 years ago by chrisaiv
            You might also consider just installing this Wordpress plug-in. It's way easier https://wordpress.org/plugins/google-typography/
        
        
        
            0 
        
        
            1376 
        
                    posted 11 years ago by chrisaiv
            Add Login / Logout to your WordPress Menu. You must have UserPro
        
        
        
            0 
        
        
            1384 
        
                    posted 11 years ago by chrisaiv
            If you make a lot of edits, eventually the revisions will start to bother you or bog down your database.  Heres how you can put a cap on the number of recorded revisions.
        
        
        
            0 
        
        
            1297 
        
                    posted 11 years ago by chrisaiv
            https://www.chrisjmendez.com/2014/09/14/wordpress-htaccess-performance-tricks/
        
        
        
            0 
        
        
            3492 
        
                    posted 11 years ago by chrisaiv
            It's probably not a good idea to always use this trick but if you need to, you'll be glad you bookmarked this script.
        
        
        
            0 
        
        
            1263 
        
                    posted 11 years ago by chrisaiv
            One thing that can go wrong in WordPress magazine themes is when users include too many words before the more tag.
        
        
        
            0 
        
        
            1248 
        
                    posted 11 years ago by chrisaiv
            This code demonstrates the KnightsTour class I developed.
See: http://www.snipplr.com/view/77383/knightstourjava/
        
        
        
            0 
        
        
            3303 
        
                    posted 11 years ago by greymatters
            This is a Java class for solving a knight's tour via Hamiltonian path and Hamiltonian cycle algorithms.
        
        
        
            0 
        
        
            3279 
        
                    posted 11 years ago by greymatters
            Hey guys how is everything going I am currently working on my own content management system and decided I would release a little pre-installation checklist script that makes sure you have all the required functions enabled on your hosting environment...
        
        
        
            0 
        
        
            1255 
        
                    posted 11 years ago by bcherdak
            #bxSlider
Prevent bxSlider stop auto slides transition, when navigating through slides.
        
        
        
            0 
        
        
            2312 
        
                    posted 11 years ago by flexyournoggin
            a simple solution that illustrates a very practical usage of java filters, in this example we try to block any Ddos attack, spam access and route clients or visitors to there corresponding pages.
note: please test before use, then use at your own ri...
        
        
        
            0 
        
        
            2386 
        
                    posted 11 years ago by prgrmmraben
            caching session variables in Mysql using memory engine for fast client response.
note: please test before use, then use at your own risk.
        
        
        
            0 
        
        
            3057 
        
                    posted 11 years ago by prgrmmraben
            This snippet of code, illustrates how to put, remove or accumulate values in a JSONObject object, use of JSONWriter for putting key/value pairs in "quick and convenient way" as stated by official documentation,  and more practical uses for org.json b...
        
        
        
            0 
        
        
            3451 
        
                    posted 11 years ago by prgrmmraben
            Match nested html elements using regular expressions.
Replace the first part of the magic "[a-z]+" to search for a specific tag, e.g. "div".
Loop the magic on matched parts to create a recursive match.
        
        
        
            1 
        
        
            1143 
        
                    posted 11 years ago by pvq
            This snippet allows to know the parent function caller name of any level from the calling function.
        
        
        
            1 
        
        
            2216 
        
                    posted 11 years ago by zandor
            Add the code below to change the Home & Site URL that is configured in the database (wp-options table) by WordPress. Whenever you copy/move a site to a new hosting and the URL has changed you can use the code below to fix any strange redirects that m...
        
        
        
            0 
        
        
            1487 
        
                    posted 11 years ago by 108Bits
            Magento Geo location store extension is developed by FME for Magento Store. This module allows you automatically redirect your customers to per-defined store set by admin. This can help you in increasing sales as you can show specific products to Geo...
        
        
        
            0 
        
        
            1452 
        
                    posted 11 years ago by kates59
            Magento Follow Up Emails extension allows you to remain in touch with your customers and show them loyalty by sending greetings on their upcoming events like Birth day, New Year, etc. It takes no time in configuration/installation that lets you to up...
        
        
        
            0 
        
        
            1358 
        
                    posted 11 years ago by alastarmason1
            Simply paste the following snippet of code into your theme's functions.php file and adjust the CSS on line 4 as needed.
        
        
        
            0 
        
        
            1478 
        
                    posted 11 years ago by chrisaiv
            
