Instead of this:
{exp:channel:entries param="{exp:some:plugin}"}
...
{/exp:channel:entries}
Either use an embed, like this:
<?php | |
// Select only the parent pages for the industry pages which will be used to display the industry | |
// pages on the home page and on the industry's main page | |
$wp_query = new WP_Query( array( | |
'post_type' => 'industries', | |
'posts_per_page' => -1, | |
'post_parent' => '0' | |
) ); | |
$query = new WP_Query( $args ); |
<?php | |
/* | |
* Plugin Name: WPMU Power Tools | |
* Plugin URI: http://plugins.paidtoblog.com/wpmu-power-tools/ | |
* Description: A few powerfull tools that every WPMU Admin should have. | |
* Author: Brian Freeman (aka MrBrian) | |
* Version: 0.7 | |
*/ | |
/* Some sample snippet codes for PHP Executor (feel free to send in yours) |
#pbcopy < ~/.ssh/id_rsa.pub | |
#or | |
cat ~/.ssh/id_rsa.pub | pbcopy |
// add to functions.php in your WordPress theme | |
add_filter('upload_mimes', 'my_upload_mimes'); | |
function my_upload_mimes($mimes = array()) | |
{ | |
$mimes['svg'] = 'image/svg+xml'; | |
return $mimes; | |
} |
<?php | |
add_filter( 'jpeg_quality', 'tgm_image_full_quality' ); | |
add_filter( 'wp_editor_set_quality', 'tgm_image_full_quality' ); | |
/** | |
* Filters the image quality for thumbnails to be at the highest ratio possible. | |
* | |
* Supports the new 'wp_editor_set_quality' filter added in WP 3.5. | |
* | |
* @since 1.0.0 | |
* |
<figure class="quote"> | |
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote> | |
</figure> |
@font-face { | |
font-family: 'EntypoRegular'; | |
src: url('font/entypo.eot'); | |
src: url('font/entypo.eot?#iefix') format('embedded-opentype'), | |
url('font/entypo.woff') format('woff'), | |
url('font/entypo.ttf') format('truetype'), | |
url('font/entypo.svg#EntypoRegular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |
_site |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE keyboard PUBLIC "" "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
<!--Last edited by Ukelele version 2.1.10 on 2012-07-12 at 12:43 (EDT)--> | |
<!-- | |
An OS X US keyboard layout file with the following customizations: | |
* Option-. ONE DOT LEADER ( ․ ) | |
* Option-h UPWARDS WHITE ARROW ( ⇧ ) | |
* Option-j UP ARROWHEAD ( ⌃ ) | |
* Option-k OPTION KEY ( ⌥ ) |