Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 5 6 7 8 9 ... 150
This is a class to encapsulate rabbit mq sending and receiving.
0 413 posted 8 years ago by ryantxr
Remove Wordpress empty paragraphs form the_content() function.
0 1853 posted 8 years ago by razvanstavila
Add custom header style for Admin
0 477 posted 8 years ago by razvanstavila
Add a css file to style the visual editor to resemble the theme style.
1 554 posted 8 years ago by razvanstavila
Add page name slug to Wordpress body class array.
0 542 posted 8 years ago by razvanstavila
Add Google Lato Font link from Google Fonts to your website. It will add to your admin area also.
0 473 posted 8 years ago by razvanstavila
simple preprocess function to alter the site name depending on the section of the site
0 535 posted 8 years ago by emijayne
Generate The Tiny URL to add to any post
0 476 posted 8 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 435 posted 8 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 515 posted 8 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 650 posted 8 years ago by apphp-snippets
use anonymous function that returns parameter passed to it to evaluate functions, constants, and expressions in HEREDOC
0 602 posted 8 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 715 posted 8 years ago by johansonkatherine
Validate the credit card number and cvv code
0 1748 posted 8 years ago by satinfo30
Changes link destination of 'Continue Shopping' button on cart page
0 455 posted 8 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 1031 posted 8 years ago by dragoviandesign
A custom widget area for wordpress.
1 406 posted 8 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 507 posted 8 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 542 posted 8 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 933 posted 8 years ago by johansonkatherine
Divide wordpress posts from one category into two columns.
1 499 posted 8 years ago by fedek6
Copy all files and directories from src to dest.
0 739 posted 8 years ago by fedek6
This snippet shows you how to get previous and next post in category URL.
0 536 posted 8 years ago by fedek6
Simple loop for adding header and footer avery n times in loop. Useful for printing tables.
0 491 posted 8 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 372 posted 8 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 443 posted 8 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 484 posted 8 years ago by Amasty
Amasty developed AJAX Scroll extension to make catalog navigation much faster and easier.
0 536 posted 8 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 1126 posted 8 years ago by johansonkatherine
This is template for adding custom settings in Wordpress (using settings API).
1 429 posted 8 years ago by fedek6
1 ... 5 6 7 8 9 ... 150