I hereby claim:
- I am critter on github.
- I am critter (https://keybase.io/critter) on keybase.
- I have a public key whose fingerprint is D192 0005 1829 205C FFB4 734C 5B7F 272A A63B 6BD7
To claim this, I am signing this object:
Sources | |
46&2 Beta Repository | |
http://repo.fortysixandtwo.com/ | |
Alex Zielenski | |
http://repo.alexzielenski.com/ | |
apt.dba-technologies.combeta | |
http://apt.dba-technologies.com/beta/ |
<?php foreach(new WP_Query_Columns($the_query, 10) as $column_count) : ?> | |
<ul> | |
<?php while ($column_count--) : $the_query->the_post(); ?> | |
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> | |
<?php endwhile; ?> | |
</ul> | |
<?php endforeach; ?> |
Download Cycript onto your Device. | |
If you have your computer handy, SSH into it by running "ssh root@192.168.2.3" or whatever your IP is and enter your password. | |
By default it is "alpine" without the quotations but you may have changed it. Once you've SSH'd in, run this | |
(Make sure to open the preferences app first) | |
cycript -p Preferences | |
Then |
<?php | |
/* | |
Plugin Name: Convert Custom Taxonomy to Custom Post Type | |
Plugin URI: N/A | |
Description: A plugin to convert a Custom Taxonomy to a Custom Post Type and transfer associated metadata. | |
Version: 0.1 | |
Author: Strap1 | |
Author URI: http:/www.hiphopinenglish.com | |
/** Convert Taxonomy '%name%' to CPT '%name%' **/ |
add_filter( 'wp_insert_post_data', 'post_publish_filter_wpse_82356' ); | |
function post_publish_filter_wpse_82356( $data ) { | |
// view/manipulate $data | |
// we still need to be able to post pages and products so just kill off attempted posts | |
if ('publish' == $data['post_status'] && 'post' == $data['post_type']) { | |
$msg = '<pre>' . var_export($data, true) . '</pre>'; | |
wp_die($msg); | |
} | |
return $data; | |
} |
function gform_column_splits($content, $field, $value, $lead_id, $form_id) { | |
if(!is_admin()) { // only perform on the front end | |
if($field['type'] == 'section') { | |
$form = RGFormsModel::get_form_meta($form_id, true); | |
// check for the presence of multi-column form classes | |
$form_class = explode(' ', $form['cssClass']); | |
$form_class_matches = array_intersect($form_class, array('two-column', 'three-column')); | |
// check for the presence of section break column classes |
I hereby claim:
To claim this, I am signing this object:
# my ip | |
RewriteCond %{REMOTE_HOST} !^255\.255\.255\.255 | |
# this prevents looping | |
RewriteCond %{REQUEST_URI} !^/maintenance/? | |
RewriteCond %{REQUEST_URI} /(.*)$ | |
# the redirect | |
RewriteRule (.*) /maintenance [R=301,L] |
find . -name "*.php" -print0 | xargs -0 grep -i -n "eval(base64_decode(" > output.txt |