Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 5 6 7 8 9 ... 152
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 398 posted 7 years ago by kates59
CakePHP - Acesso a Dois Bancos de Dados
0 364 posted 7 years ago by temistoclesarea
shows how to use array_map to mine data from nested arrays.
0 352 posted 7 years ago by ryantxr
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 359 posted 7 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 409 posted 7 years ago by chrisaiv
Thanks to Tom McFarlin for this. http://tommcfarlin.com/wordpress-post-exists-by-id/#more-30264
1 892 posted 7 years ago by adambundy
Add an image to the email, must be linked not embedded ie in thunderbird mail moz-do-not-send attribute must be set true. any requests for this gif image will be redirected through display which will log the request and serve up the stored t.gif i...
0 412 posted 7 years ago by stiva71
This is a class to encapsulate rabbit mq sending and receiving.
0 311 posted 7 years ago by ryantxr
Remove Wordpress empty paragraphs form the_content() function.
0 990 posted 7 years ago by razvanstavila
Add custom header style for Admin
0 370 posted 7 years ago by razvanstavila
Add a css file to style the visual editor to resemble the theme style.
1 406 posted 7 years ago by razvanstavila
Add page name slug to Wordpress body class array.
0 397 posted 7 years ago by razvanstavila
Add Google Lato Font link from Google Fonts to your website. It will add to your admin area also.
0 361 posted 7 years ago by razvanstavila
simple preprocess function to alter the site name depending on the section of the site
0 411 posted 7 years ago by emijayne
Generate The Tiny URL to add to any post
0 329 posted 7 years ago by daprela
FME has designed efficient Canvas Drawing Plugin for WordPress that enables users to draw canvas online on separate paint book by utilizing basic drawing tools like brush, pencil, etc. This WordPress Plugin will create two additional pages on your we...
0 341 posted 7 years ago by alastarmason1
Sometimes you may need to change image properties 'on-the-fly'. The best example is when you want to display blog post short description, retrieve the first image and try to turn it into the thumbnail: change some properties and add a special class n...
0 388 posted 7 years ago by apphp-snippets
This simple code demonstrates how to change automatically site language, according to the visitor's country. If you implement this script in your site it will open the page in the language of your visitor.
0 450 posted 7 years ago by apphp-snippets
use anonymous function that returns parameter passed to it to evaluate functions, constants, and expressions in HEREDOC
0 465 posted 7 years ago by Queue
The following technical tip shows how php developers can protect their word documents in cloud using Aspose for Cloud SDK in php.
0 536 posted 7 years ago by johansonkatherine
Validate the credit card number and cvv code
0 731 posted 7 years ago by satinfo30
Changes link destination of 'Continue Shopping' button on cart page
0 343 posted 7 years ago by daprela
This snippets converts a file called 'test.mp3' in the same folder, to a file called 'test.ogg' and saves it in the same folder as well
0 780 posted 7 years ago by dragoviandesign
A custom widget area for wordpress.
1 315 posted 7 years ago by JamesAbels
Code is meant to show the real ip address, in case if user is using a proxy. Most of the time $_SERVER["REMOTE_ADDR"] do not work correctly due to the proxy setting of user. It's a nice solution.
0 397 posted 7 years ago by KhanOf21Century
I created this code for practice, and I looking for better and clear solution for the last instance where I can write or delete the data, but after I want to get back the content as array or the key as string. I want to use this write-read back with...
0 412 posted 7 years ago by gitarfogas
The following code sample shows how developers can replace multiple texts in a single API call in a PDF file using Aspose.Pdf for Cloud API in their applications. Developers can use Aspose REST API with any language: .NET, Java, PHP, Ruby, Rails, Pyt...
0 740 posted 7 years ago by johansonkatherine
Divide wordpress posts from one category into two columns.
1 393 posted 7 years ago by fedek6
Copy all files and directories from src to dest.
0 590 posted 7 years ago by fedek6
This snippet shows you how to get previous and next post in category URL.
0 404 posted 7 years ago by fedek6
1 ... 5 6 7 8 9 ... 152