_GET['value'] = '$("body").html("<div class=\"container_main\">body</div>");';
$("body").html("<div class='container_main'>body</div>");
"
<div class="tags">
[exec]
if($options['mts_tags'] == '1') {
$tags = get_tags();
foreach ( $tags as $tag ) {
$tag_link = get_tag_link( $tag->term_id );
echo '<span class="tagtext">';
echo '<a href="' . $tag_link . '" title="' . $tag->name . '" class="' . $tag->slug . '">' . $tag->name . '</a>';
echo '</span>';
}
}
[/exec]
</div>
$terms = get_the_terms( $post->ID, 'product_cat' );
if ( $terms && !is_wp_error( $terms ) ) {
echo 'Назад: ';
foreach ( $terms as $term ) {
echo ' <a href="' . get_term_link( $term ) . '" class="posted_in" rel="' . $term->taxonomy . '"> ';
echo $term->name;
echo ' </a> ';
}
}
<img src="timthumb.php?src=image_name.jpg&zc=2&q=80&w=100&h=50&cc=ffffff">
function has_shortcode_func($atts){
$xhtml = '<script type="text/javascript"> jQuery(function($){
jQuery(document).ready(function(){
jQuery( ".office-accordion" ).accordion({heightStyle: "content"});
}); });</script>';
return $xhtml;
}
add_shortcode('has_shortcode', 'has_shortcode_func');
[has_shortcode]