Welcome To Snipplr


Everyone's Recent Snippets Tagged post



« Prev 1 2 3 4 5
To send data into iFrame you don't need JavaScript or anything. You just have the form's target attribute match the iframe's name attribute. The outer page doesn't even reload. Copy this code and test it.
0 368 posted 3 years ago by apphp-snippets
Hey Guys, This is a short and straightforward article (or let’s say „tip” or „mini-review”) that presents how to send SMS messages from your own C++ (Cpp / C plus plus) application through HTTP. You will see, it is gonna be really easy....
0 363 posted 5 years ago by Gupta86
Check if current post type is a custom post type – WordPress. Returns a true/false-statement. Can be used outside The Loop.
0 236 posted 7 years ago by jonasethomsen
This code shows how we post HTML form by AJAX and jQuery.
0 234 posted 7 years ago by khaled__mahmoud
This is a combined version of Bill Erickson's hide post editor and rilwis' Metabox include for specific IDs. It hides the editor for a specified post ID. You can have multiple IDs, just separate with commas.
1 154 posted 7 years ago by rickahontas
This example of code shows how to do a simple POST request in PHP to another web server by using a socket connection.
0 279 posted 7 years ago by apphp-snippets
This adds custom columns to a custom post type
0 176 posted 7 years ago by bitsculptor
This example of code shows how to do a simple POST request in PHP to another web server by using a socket connection.
0 165 posted 7 years ago by apphp-snippets
This is some code using Thematic Child Theme overrides to remove thematic's post thumbnails and add Post Thumbnails outside of the .entry-content <div> so that POst Thumbnails can be styled separated from all post Meta. See this page for an example...
0 147 posted 7 years ago by AndrewThinkUp
This function dosen't use curl, or any other libraries. Just include it in your function library and use it like this: $Post_result = _post('http://www.yourdomain.com/your_path/post_api.php',"method=fetchJson&params=select * from user");
0 177 posted 7 years ago by halk
Does not work at the moment. So don't copy it.
0 168 posted 7 years ago by eridesigns
This gives the code for creating a custom post type with all the necessary labels and even custom message support, and it gives the code for a custom taxonomy with that post type.
0 193 posted 8 years ago by bitsculptor
This allows you to change the post updated message that wordpress automatically inserts.
0 177 posted 8 years ago by bitsculptor
This send any value via POST to a PHP page. It is done with AJAX, so the POST return can be used on the same page as the submit
0 227 posted 8 years ago by rickygri
This javascript function takes the URL of the target page and an associative array of name/values paires and POSTs the data to the supplied URL by dynamically creating a form and then submitting it.
0 415 posted 8 years ago by rickygri
Useful for adding Custom Post types to navigation this will list all custom post type posts
1 165 posted 8 years ago by i-am-andy
I need this function all too often and figured I'd share it. Limit the_content() by word limit by using built in WordPress functions.
0 154 posted 8 years ago by crypticsoft
When you create a custom post type and need to query by ID then you can pass in the 'field' and the 'terms' with the ID for that post type.
0 151 posted 8 years ago by crypticsoft
so you want to have your url structure like : yourdomain.com/post-type/286 add the following snippet to your functions.php and change the post-type names where appropriate
0 314 posted 8 years ago by nerdsane
a handy class to manage facebook connections using as3
0 204 posted 8 years ago by Matias
Usually when working with form you use a server to handle it, and if your doing it entirely in javascript no reload is required, but what if you wanted to take the information and use it in a javascript on another page, completely client side. I had...
0 179 posted 8 years ago by FatFolderDesigner
WordPress top posts: custom post type / taxonomy Ordered by comment count
0 170 posted 8 years ago by lswilson
Register a Custom Post Type and a Custom Taxonomy in Wordpress
0 224 posted 8 years ago by i-am-andy
Custom post page name
0 161 posted 8 years ago by hernanvionnet
add this in functions.php
0 134 posted 9 years ago by IronMANro
Get posts from a Custom Post Type
0 177 posted 9 years ago by i-am-andy
add this to functions.php and you won't have to mess with the index page.
0 143 posted 9 years ago by cpres
This snippet will send an HTTP POST from an Arduino using the WiFly library. The library is in early alpha, and is a port from the ethernet shield library. The code here should work with either. The critical part is the size of the data to send, a...
0 243 posted 9 years ago by parkerkrhoyt
« Prev 1 2 3 4 5