Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 5 6 7 8 9 ... 147
This is a class to encapsulate rabbit mq sending and receiving.
0 1579 posted 11 years ago by ryantxr
Remove Wordpress empty paragraphs form the_content() function.
0 3702 posted 11 years ago by razvanstavila
Add custom header style for Admin
0 1760 posted 11 years ago by razvanstavila
Add a css file to style the visual editor to resemble the theme style.
1 2857 posted 11 years ago by razvanstavila
Add page name slug to Wordpress body class array.
0 2820 posted 11 years ago by razvanstavila
Add Google Lato Font link from Google Fonts to your website. It will add to your admin area also.
0 1777 posted 11 years ago by razvanstavila
simple preprocess function to alter the site name depending on the section of the site
0 1797 posted 11 years ago by emijayne
Generate The Tiny URL to add to any post
0 1560 posted 11 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 1599 posted 11 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 2850 posted 11 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 2246 posted 11 years ago by apphp-snippets
use anonymous function that returns parameter passed to it to evaluate functions, constants, and expressions in HEREDOC
0 3060 posted 11 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 2522 posted 11 years ago by johansonkatherine
Validate the credit card number and cvv code
0 4360 posted 11 years ago by satinfo30
Changes link destination of 'Continue Shopping' button on cart page
0 1641 posted 11 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 3542 posted 12 years ago by dragoviandesign
A custom widget area for wordpress.
1 1705 posted 12 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 2891 posted 12 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 2927 posted 12 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 3952 posted 12 years ago by johansonkatherine
Divide wordpress posts from one category into two columns.
1 1759 posted 12 years ago by fedek6
Copy all files and directories from src to dest.
0 2250 posted 12 years ago by fedek6
This snippet shows you how to get previous and next post in category URL.
0 2833 posted 12 years ago by fedek6
Simple loop for adding header and footer avery n times in loop. Useful for printing tables.
0 2060 posted 12 years ago by fedek6
Additional option for Wordpress post (year in this case). You can get it's content in template file by: `<?php>ID, 'year', true ); ?>`
1 1425 posted 12 years ago by fedek6
Get a set of effective product management actions, like assigning categories and updating prices in bulk, etc. Stop spending a lot of time on product management.
0 1496 posted 12 years ago by Amasty
Improved Layered Navigation by Amasty is a premium 5-year-old Magento extension, to which you can entrust your navigation. It includes 7 mods: Seo layered navigation Shop by brands Ajax Layered Navigation Layered navigation filt...
0 2805 posted 12 years ago by Amasty
Amasty developed AJAX Scroll extension to make catalog navigation much faster and easier.
0 2912 posted 12 years ago by Amasty
Aspose.PDF for Cloud API has released PHP SDK which allows PHP developers to convert PDF files uploaded to a remote server to other formats. You can pass URL and format parameters to specify the PDF’s URL and output format and use the PUT method of...
0 4835 posted 12 years ago by johansonkatherine
This is template for adding custom settings in Wordpress (using settings API).
1 1582 posted 12 years ago by fedek6
1 ... 5 6 7 8 9 ... 147