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 1312 posted 11 years ago by ryantxr
Remove Wordpress empty paragraphs form the_content() function.
0 3338 posted 11 years ago by razvanstavila
Add custom header style for Admin
0 1444 posted 11 years ago by razvanstavila
Add a css file to style the visual editor to resemble the theme style.
1 2542 posted 11 years ago by razvanstavila
Add page name slug to Wordpress body class array.
0 2526 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 1443 posted 11 years ago by razvanstavila
simple preprocess function to alter the site name depending on the section of the site
0 1518 posted 11 years ago by emijayne
Generate The Tiny URL to add to any post
0 1274 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 1362 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 2517 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 1902 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 2711 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 2177 posted 11 years ago by johansonkatherine
Validate the credit card number and cvv code
0 4013 posted 11 years ago by satinfo30
Changes link destination of 'Continue Shopping' button on cart page
0 1377 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 3240 posted 11 years ago by dragoviandesign
A custom widget area for wordpress.
1 1415 posted 11 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 2553 posted 11 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 2618 posted 11 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 3561 posted 11 years ago by johansonkatherine
Divide wordpress posts from one category into two columns.
1 1487 posted 11 years ago by fedek6
Copy all files and directories from src to dest.
0 1955 posted 11 years ago by fedek6
This snippet shows you how to get previous and next post in category URL.
0 2521 posted 11 years ago by fedek6
Simple loop for adding header and footer avery n times in loop. Useful for printing tables.
0 1736 posted 11 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 1177 posted 11 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 1241 posted 11 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 2478 posted 11 years ago by Amasty
Amasty developed AJAX Scroll extension to make catalog navigation much faster and easier.
0 2547 posted 11 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 4305 posted 11 years ago by johansonkatherine
This is template for adding custom settings in Wordpress (using settings API).
1 1307 posted 11 years ago by fedek6
1 ... 5 6 7 8 9 ... 147